diff options
author | njl <njl@FreeBSD.org> | 2002-12-17 05:55:36 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2002-12-17 05:55:36 +0000 |
commit | b41b7d707e21873276d7eefc231ecee1f5767c58 (patch) | |
tree | 6c7653974063a32510e2195242059d2545ca32c1 /sys/i386 | |
parent | 8ff3d76f8de79310d39539d3d04c91eeae5b1265 (diff) | |
download | FreeBSD-src-b41b7d707e21873276d7eefc231ecee1f5767c58.zip FreeBSD-src-b41b7d707e21873276d7eefc231ecee1f5767c58.tar.gz |
Back out 1.19 to rethink approach
Requested by: julian@
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/i386-gdbstub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/i386-gdbstub.c b/sys/i386/i386/i386-gdbstub.c index 863c676..fd283bd 100644 --- a/sys/i386/i386/i386-gdbstub.c +++ b/sys/i386/i386/i386-gdbstub.c @@ -504,7 +504,7 @@ gdb_handle_exception (db_regs_t *raw_regs, int type, int code) case 'D': /* detach; say OK and turn off gdb */ putpacket(remcomOutBuffer); boothowto &= ~RB_GDB; - goto cont_exit; + return 0; case 'g': /* return the value of the CPU registers */ mem2hex ((vm_offset_t)®isters, remcomOutBuffer, NUMREGBYTES); @@ -579,7 +579,7 @@ gdb_handle_exception (db_regs_t *raw_regs, int type, int code) if (hexToInt(&ptr,&addr)) registers.eip = addr; -cont_exit: + /* set the trace bit if we're stepping */ if (remcomInBuffer[0] == 's') registers.eflags |= PSL_T; |