* remote-utils.c (prepare_resume_reply): If requested, don't
authorPedro Alves <palves@redhat.com>
Fri, 27 Jun 2008 13:22:15 +0000 (13:22 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 27 Jun 2008 13:22:15 +0000 (13:22 +0000)
commitdb42f210256e79f3fa409b73e217d870989ce6cd
tree6cdf2a38580a53230016b95630ff949f61a3c94a
parentc0a2216eb39d8d955232d71ded9fa3e132078f07
* 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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.c
gdb/gdbserver/server.h