From: | "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx> |
Date: | Fri, 02 Feb 2007 17:09:35 +0000 |
$ gdb ls (gdb) break main (gdb) r (gdb) si <repeatedly hammer your enter key, watch the panic>
Cheers, -- Thomas E. Spanjaard tgen@netphreax.net
diff --git a/sys/platform/vkernel/i386/trap.c b/sys/platform/vkernel/i386/trap.c index 4e0f221..3515545 100644 --- a/sys/platform/vkernel/i386/trap.c +++ b/sys/platform/vkernel/i386/trap.c @@ -796,6 +796,13 @@ kernel_trap: MAKEMPSAFE(have_mplock); trap_fatal(frame, FALSE, eva); goto out2; + case T_SYSCALL80: + /* + * Pass SIGTRAP when tracing a process inside a VKERNEL. + */ + if (i == 0) + i = SIGTRAP; + /* break; */ } /*
Attachment:
signature.asc
Description: OpenPGP digital signature