[PUSHED] gdbserver: add missing --disable-packet options to help text

Andrew Burgess andrew.burgess@embecosm.com
Wed Nov 11 09:11:53 GMT 2020


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/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.25.4



More information about the Gdb-patches mailing list