diff options
author | Pedro Alves <palves@redhat.com> | 2008-06-27 13:22:15 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-06-27 13:22:15 +0000 |
commit | db42f210256e79f3fa409b73e217d870989ce6cd (patch) | |
tree | 6cdf2a38580a53230016b95630ff949f61a3c94a /gdb/gdbserver/remote-utils.c | |
parent | c0a2216eb39d8d955232d71ded9fa3e132078f07 (diff) | |
download | gdb-db42f210256e79f3fa409b73e217d870989ce6cd.zip gdb-db42f210256e79f3fa409b73e217d870989ce6cd.tar.gz gdb-db42f210256e79f3fa409b73e217d870989ce6cd.tar.bz2 |
* remote-utils.c (prepare_resume_reply): If requested, don't
output "thread:TID" in the T stop reply.
* server.c (disable_packet_vCont, disable_packet_Tthread)
(disable_packet_qC, disable_packet_qfThreadInfo): New globals.
(handle_query): If requested, disable support for qC, qfThreadInfo
and qsThreadInfo.
(handle_v_requests): If requested, disable support for vCont.
(gdbserver_show_disableable): New.
(main): Handle --disable-packet and --disable-packet=LIST.
* server.h (disable_packet_vCont, disable_packet_Tthread)
(disable_packet_qC, disable_packet_qfThreadInfo): Declare.
Diffstat (limited to 'gdb/gdbserver/remote-utils.c')
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 16d5442..e062be8 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -944,7 +944,7 @@ prepare_resume_reply (char *buf, char status, unsigned char sig) Since thread support relies on qSymbol support anyway, assume GDB can handle threads. */ - if (using_threads) + if (using_threads && !disable_packet_Tthread) { unsigned int gdb_id_from_wait; |