Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/dev Use Debugger instead of hand crafted asm.
details: https://anonhg.NetBSD.org/src/rev/303e89ffd29c
branches: trunk
changeset: 751993:303e89ffd29c
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Feb 10 20:45:35 2010 +0000
description:
Use Debugger instead of hand crafted asm.
diffstat:
sys/arch/hp700/dev/pdc.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 2ec1c77372b6 -r 303e89ffd29c sys/arch/hp700/dev/pdc.c
--- a/sys/arch/hp700/dev/pdc.c Wed Feb 10 20:44:14 2010 +0000
+++ b/sys/arch/hp700/dev/pdc.c Wed Feb 10 20:45:35 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pdc.c,v 1.35 2010/02/10 20:44:14 skrll Exp $ */
+/* $NetBSD: pdc.c,v 1.36 2010/02/10 20:45:35 skrll Exp $ */
/* $OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $ */
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.35 2010/02/10 20:44:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.36 2010/02/10 20:45:35 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -428,8 +428,7 @@
if (err < 0) {
#if defined(DDB) || defined(KGDB)
- __asm volatile ("break %0, %1"
- :: "i" (HPPA_BREAK_KERNEL), "i" (HPPA_BREAK_KGDB));
+ Debugger();
#endif /* DDB || KGDB */
delay(250000);
#if 0
Home |
Main Index |
Thread Index |
Old Index