From 81fdd7acec68476bc23dd1ed4b2c6288aebe4343 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 10 Nov 2020 17:54:05 +0000 Subject: [PATCH] gdbserver: add missing --disable-packet options to help text The help text for the --disable-packet option was missing one of the possible values. As this option is for maintainers only it is explicitly not documented in gdb/doc/gdb.texinfo, so no update is needed there. gdbserver/ChangeLog: * server.cc (gdbserver_usage): Add missing option to usage text. (gdbserver_show_disableable): Likewise. --- gdbserver/ChangeLog | 5 +++++ gdbserver/server.cc | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog index 247b5e3d1d8..700da6ef871 100644 --- a/gdbserver/ChangeLog +++ b/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2020-11-11 Andrew Burgess + + * server.cc (gdbserver_usage): Add missing option to usage text. + (gdbserver_show_disableable): Likewise. + 2020-11-02 Simon Marchi * ax.cc: Fix indentation. diff --git a/gdbserver/server.cc b/gdbserver/server.cc index 95db9807a9a..321d90378b3 100644 --- a/gdbserver/server.cc +++ b/gdbserver/server.cc @@ -3380,7 +3380,7 @@ gdbserver_usage (FILE *stream) " --disable-packet=OPT1[,OPT2,...]\n" " Disable support for RSP packets or features.\n" " Options:\n" - " vCont, Tthread, qC, qfThreadInfo and \n" + " vCont, T, Tthread, qC, qfThreadInfo and \n" " threads (disable all threading packets).\n" "\n" "For more information, consult the GDB manual (available as on-line \n" @@ -3398,7 +3398,8 @@ gdbserver_show_disableable (FILE *stream) " qfThreadInfo\tThread listing\n" " Tthread \tPassing the thread specifier in the " "T stop reply packet\n" - " threads \tAll of the above\n"); + " threads \tAll of the above\n" + " T \tAll 'T' packets\n"); } /* Start up the event loop. This is the entry point to the event -- 2.30.2