aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2003-12-09 13:37:31 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2003-12-09 13:37:31 +0000
commit67e945bab95d04b3cda8368a909e4b11771c86d8 (patch)
treeed83f82e1afa826e8d7d584306ad40452027b269 /sys
parentd214f02991b40a537d2c1c917d6e878ca18759a4 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/powerpc/include/cpufunc.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/powerpc/include/cpufunc.h b/sys/powerpc/include/cpufunc.h
index 39b5b2e73e4a6..3d399d5611183 100644
--- a/sys/powerpc/include/cpufunc.h
+++ b/sys/powerpc/include/cpufunc.h
@@ -47,16 +47,17 @@ powerpc_mb(void)
struct thread;
-#ifdef __GNUC__
+#ifdef DDB
+void ddb_trap(void);
+#endif
static __inline void
breakpoint(void)
{
-
- return;
-}
-
+#ifdef DDB
+ ddb_trap();
#endif
+}
/* CPU register mangling inlines */