diff options
author | Peter Grehan <grehan@FreeBSD.org> | 2008-02-29 01:57:20 +0000 |
---|---|---|
committer | Peter Grehan <grehan@FreeBSD.org> | 2008-02-29 01:57:20 +0000 |
commit | d412b2debbe54e5f7f57182f3413ccabf5538fb6 (patch) | |
tree | d80924f6ed9a58cc94781f3f939a8b510bc3ccfe /sys/gdb | |
parent | 6291ef2d80ae1a0a6caf81a15b38a778e884a91f (diff) | |
download | src-test2-d412b2debbe54e5f7f57182f3413ccabf5538fb6.tar.gz src-test2-d412b2debbe54e5f7f57182f3413ccabf5538fb6.zip |
Notes
Diffstat (limited to 'sys/gdb')
-rw-r--r-- | sys/gdb/gdb_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/gdb/gdb_main.c b/sys/gdb/gdb_main.c index 3ba3dbf00c9b..233330e5b9e0 100644 --- a/sys/gdb/gdb_main.c +++ b/sys/gdb/gdb_main.c @@ -145,6 +145,11 @@ gdb_trap(int type, int code) gdb_listening = 1; return (1); } + case 'D': { /* Detach */ + gdb_tx_ok(); + kdb_cpu_clear_singlestep(); + return (1); + } case 'g': { /* Read registers. */ size_t r; gdb_tx_begin(0); |