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.
This commit is contained in:
Andrew Burgess 2020-11-10 17:54:05 +00:00
parent 424171c6f1
commit 81fdd7acec
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2020-11-11 Andrew Burgess <andrew.burgess@embecosm.com>
* server.cc (gdbserver_usage): Add missing option to usage text.
(gdbserver_show_disableable): Likewise.
2020-11-02 Simon Marchi <simon.marchi@efficios.com>
* ax.cc: Fix indentation.

View File

@ -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