From fb6f74487be564494c041cf278fa06788c1bfae4 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 4 Jul 2011 16:21:39 +1000 Subject: [PATCH] Use debug interrupt for breakpoint in i386 --- debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug.cpp b/debug.cpp index 57d7ca3b..599af99e 100644 --- a/debug.cpp +++ b/debug.cpp @@ -42,7 +42,7 @@ panic (void) void breakpoint (void) { if (getenv ("DEBUG")) { -#if defined (__x86_64) +#if defined (__x86_64) || defined (__i386) __asm__ ("int $3;"); #else raise (SIGINT);