From 7c0a6ed764e251179c7beb4a24258d391141f6f0 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 7 Apr 1996 18:34:59 +0000 Subject: Use breakpoint() function instead of inline assembler. --- sys/i386/i386/db_interface.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'sys/i386') diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c index dd42079..2f36221 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; } } -- cgit v1.1