diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-21 17:06:25 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-21 17:06:25 +0000 |
commit | f193c7979c2f7e4e021453689b5dd9c8abdcbbc4 (patch) | |
tree | 476de8558dbbfda14b4e96ce22eb511835f4114a /gdbstub.c | |
parent | 3035f7ff83c9f072c0b9dc7a95789dba613b8750 (diff) | |
download | qemu-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.tar.gz qemu-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.tar.bz2 qemu-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.zip |
do not depend on thunk.h - more log items
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@675 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r-- | gdbstub.c | 22 |
1 files changed, 1 insertions, 21 deletions
@@ -27,9 +27,7 @@ #include <netinet/tcp.h> #include <signal.h> -#include "config.h" #include "cpu.h" -#include "thunk.h" #include "exec-all.h" //#define DEBUG_GDB @@ -525,26 +523,8 @@ int cpu_gdbstub(void *opaque, int (*main_loop)(void *opaque), int port) goto breakpoint_error; } break; - case 'Q': - if (!strncmp(p, "Tinit", 5)) { - /* init traces */ - put_packet("OK"); - } else if (!strncmp(p, "TStart", 6)) { - /* start log (gdb 'tstart' command) */ - env = cpu_gdbstub_get_env(opaque); - tb_flush(env); - cpu_set_log(CPU_LOG_ALL); - put_packet("OK"); - } else if (!strncmp(p, "TStop", 5)) { - /* stop log (gdb 'tstop' command) */ - cpu_set_log(0); - put_packet("OK"); - } else { - goto unknown_command; - } - break; default: - unknown_command: + // unknown_command: /* put empty packet */ buf[0] = '\0'; put_packet(buf); |