Module Name: src Committed By: skrll Date: Wed Feb 10 20:45:35 UTC 2010
Modified Files: src/sys/arch/hp700/dev: pdc.c Log Message: Use Debugger instead of hand crafted asm. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/hp700/dev/pdc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hp700/dev/pdc.c diff -u src/sys/arch/hp700/dev/pdc.c:1.35 src/sys/arch/hp700/dev/pdc.c:1.36 --- src/sys/arch/hp700/dev/pdc.c:1.35 Wed Feb 10 20:44:14 2010 +++ src/sys/arch/hp700/dev/pdc.c Wed Feb 10 20:45:35 2010 @@ -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