Use debug interrupt for breakpoint in i386

This commit is contained in:
Danny Robson 2011-07-04 16:21:39 +10:00 committed by U-steve\danny
parent a3a6765d38
commit fb6f74487b

View File

@ -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);