summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-04-07 18:34:59 +0000
committerBruce Evans <bde@FreeBSD.org>1996-04-07 18:34:59 +0000
commit3fd674e22b519fce9a08a36fbf4a6849d7ae396a (patch)
tree58df7a1f64b5306fa80dc438893ab67920ebf509
parent5dbd168e2ee6319d999168f598113b5d86165824 (diff)
Notes
-rw-r--r--sys/amd64/amd64/db_interface.c8
-rw-r--r--sys/i386/i386/db_interface.c8
2 files changed, 4 insertions, 12 deletions
diff --git a/sys/amd64/amd64/db_interface.c b/sys/amd64/amd64/db_interface.c
index dd420790b9d9..2f3622144de9 100644
--- a/sys/amd64/amd64/db_interface.c
+++ b/sys/amd64/amd64/db_interface.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_interface.c,v 1.16 1995/12/07 12:45:29 davidg Exp $
+ * $Id: db_interface.c,v 1.17 1995/12/10 13:36:25 phk Exp $
*/
/*
@@ -273,11 +273,7 @@ Debugger(msg)
if (!in_Debugger) {
in_Debugger = 1;
db_printf("Debugger(\"%s\")\n", msg);
-#ifdef __GNUC__
- __asm __volatile("int $3");
-#else
- int3();
-#endif
+ breakpoint();
in_Debugger = 0;
}
}
diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c
index dd420790b9d9..2f3622144de9 100644
--- a/sys/i386/i386/db_interface.c
+++ b/sys/i386/i386/db_interface.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_interface.c,v 1.16 1995/12/07 12:45:29 davidg Exp $
+ * $Id: db_interface.c,v 1.17 1995/12/10 13:36:25 phk Exp $
*/
/*
@@ -273,11 +273,7 @@ Debugger(msg)
if (!in_Debugger) {
in_Debugger = 1;
db_printf("Debugger(\"%s\")\n", msg);
-#ifdef __GNUC__
- __asm __volatile("int $3");
-#else
- int3();
-#endif
+ breakpoint();
in_Debugger = 0;
}
}