Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src For ski, break into debugger instead of exiting
details: https://anonhg.NetBSD.org/src/rev/16f5ddcaff0a
branches: trunk
changeset: 349078:16f5ddcaff0a
user: scole <scole%NetBSD.org@localhost>
date: Tue Nov 22 22:50:32 2016 +0000
description:
For ski, break into debugger instead of exiting
diffstat:
lib/libc/arch/ia64/gen/fpgetsticky.c | 4 ++--
lib/libc/arch/ia64/gen/fpsetsticky.c | 4 ++--
lib/libc/arch/ia64/gen/getcontext.S | 4 ++--
lib/libc/arch/ia64/gen/makecontext.c | 4 ++--
lib/libc/arch/ia64/gen/swapcontext.S | 4 ++--
lib/libc/arch/ia64/sys/__clone.S | 4 ++--
lib/libc/arch/ia64/sys/ptrace.S | 4 ++--
sys/arch/ia64/ia64/core_machdep.c | 6 +++---
8 files changed, 17 insertions(+), 17 deletions(-)
diffs (148 lines):
diff -r 701cf4972437 -r 16f5ddcaff0a lib/libc/arch/ia64/gen/fpgetsticky.c
--- a/lib/libc/arch/ia64/gen/fpgetsticky.c Tue Nov 22 21:59:32 2016 +0000
+++ b/lib/libc/arch/ia64/gen/fpgetsticky.c Tue Nov 22 22:50:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpgetsticky.c,v 1.1 2016/08/05 16:40:47 scole Exp $ */
+/* $NetBSD: fpgetsticky.c,v 1.2 2016/11/22 22:50:32 scole Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
fpgetsticky(void)
{
/* XXX implement, pause in ski */
- __asm __volatile("break.i 0");
+ __asm __volatile("break.i 1");
return (fp_except_t)0;
}
diff -r 701cf4972437 -r 16f5ddcaff0a lib/libc/arch/ia64/gen/fpsetsticky.c
--- a/lib/libc/arch/ia64/gen/fpsetsticky.c Tue Nov 22 21:59:32 2016 +0000
+++ b/lib/libc/arch/ia64/gen/fpsetsticky.c Tue Nov 22 22:50:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpsetsticky.c,v 1.1 2016/08/05 16:40:47 scole Exp $ */
+/* $NetBSD: fpsetsticky.c,v 1.2 2016/11/22 22:50:32 scole Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
fpsetsticky(fp_except_t sticky)
{
/* XXX implement, pause in ski */
- __asm __volatile("break.i 0");
+ __asm __volatile("break.i 1");
return (fp_except_t)0;
}
diff -r 701cf4972437 -r 16f5ddcaff0a lib/libc/arch/ia64/gen/getcontext.S
--- a/lib/libc/arch/ia64/gen/getcontext.S Tue Nov 22 21:59:32 2016 +0000
+++ b/lib/libc/arch/ia64/gen/getcontext.S Tue Nov 22 22:50:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getcontext.S,v 1.1 2016/08/05 16:40:47 scole Exp $ */
+/* $NetBSD: getcontext.S,v 1.2 2016/11/22 22:50:32 scole Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -35,6 +35,6 @@
ENTRY(_getcontext,0)
/* XXX implement, halt in ski */
- break.i 0
+ break.i 1
END(_getcontext)
diff -r 701cf4972437 -r 16f5ddcaff0a lib/libc/arch/ia64/gen/makecontext.c
--- a/lib/libc/arch/ia64/gen/makecontext.c Tue Nov 22 21:59:32 2016 +0000
+++ b/lib/libc/arch/ia64/gen/makecontext.c Tue Nov 22 22:50:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makecontext.c,v 1.1 2016/08/05 16:40:47 scole Exp $ */
+/* $NetBSD: makecontext.c,v 1.2 2016/11/22 22:50:32 scole Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -41,5 +41,5 @@
makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
{
/* XXX implement, halt in ski */
- __asm __volatile("break.i 0");
+ __asm __volatile("break.i 1");
}
diff -r 701cf4972437 -r 16f5ddcaff0a lib/libc/arch/ia64/gen/swapcontext.S
--- a/lib/libc/arch/ia64/gen/swapcontext.S Tue Nov 22 21:59:32 2016 +0000
+++ b/lib/libc/arch/ia64/gen/swapcontext.S Tue Nov 22 22:50:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: swapcontext.S,v 1.1 2016/08/05 16:40:47 scole Exp $ */
+/* $NetBSD: swapcontext.S,v 1.2 2016/11/22 22:50:32 scole Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
ENTRY(swapcontext,0)
/* XXX implement, halt in ski */
- break.i 0
+ break.i 1
END(swapcontext)
diff -r 701cf4972437 -r 16f5ddcaff0a lib/libc/arch/ia64/sys/__clone.S
--- a/lib/libc/arch/ia64/sys/__clone.S Tue Nov 22 21:59:32 2016 +0000
+++ b/lib/libc/arch/ia64/sys/__clone.S Tue Nov 22 22:50:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __clone.S,v 1.2 2016/08/05 16:40:47 scole Exp $ */
+/* $NetBSD: __clone.S,v 1.3 2016/11/22 22:51:53 scole Exp $ */
/*-
* Copyright (c) 2006,2016 The NetBSD Foundation, Inc.
@@ -37,6 +37,6 @@
ENTRY(__clone,4)
/* XXX implement, break in ski*/
- break.i 0
+ break.i 1
END(__clone)
diff -r 701cf4972437 -r 16f5ddcaff0a lib/libc/arch/ia64/sys/ptrace.S
--- a/lib/libc/arch/ia64/sys/ptrace.S Tue Nov 22 21:59:32 2016 +0000
+++ b/lib/libc/arch/ia64/sys/ptrace.S Tue Nov 22 22:50:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ptrace.S,v 1.2 2016/08/05 16:40:47 scole Exp $ */
+/* $NetBSD: ptrace.S,v 1.3 2016/11/22 22:52:14 scole Exp $ */
/*-
* Copyright (c) 2006,2016 The NetBSD Foundation, Inc.
@@ -31,6 +31,6 @@
ENTRY(ptrace,0)
/* XXX implement, halt in ski */
- break.i 0
+ break.i 1
END(ptrace)
diff -r 701cf4972437 -r 16f5ddcaff0a sys/arch/ia64/ia64/core_machdep.c
--- a/sys/arch/ia64/ia64/core_machdep.c Tue Nov 22 21:59:32 2016 +0000
+++ b/sys/arch/ia64/ia64/core_machdep.c Tue Nov 22 22:50:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: core_machdep.c,v 1.1 2016/08/05 16:50:07 scole Exp $ */
+/* $NetBSD: core_machdep.c,v 1.2 2016/11/22 22:53:09 scole Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: core_machdep.c,v 1.1 2016/08/05 16:50:07 scole Exp $");
+__KERNEL_RCSID(0, "$NetBSD: core_machdep.c,v 1.2 2016/11/22 22:53:09 scole Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -53,7 +53,7 @@
struct core *chdr)
{
/* XXX implement, pause in ski */
- __asm __volatile("break.i 0");
+ __asm __volatile("break.i 1");
return -1;
}
Home |
Main Index |
Thread Index |
Old Index