From: Andrew Burgess Date: Sun, 5 Nov 2023 21:15:49 +0000 (+0000) Subject: gdbserver: cleanup monitor_show_help X-Git-Tag: binutils-2_42~868 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27365c5189999e3326e097d9eef4aeaae88651c1;p=thirdparty%2Fbinutils-gdb.git gdbserver: cleanup monitor_show_help After this commit: commit 0b04e52316079981b2b77124198a405d826a05cd Date: Sun Jan 19 14:33:37 2014 -0700 link gdbserver against libiberty we can cleanup how the help text is generated in monitor_show_help. This doesn't change the output that the user will see -- it just folds multiple monitor_output calls into one. There should be no user visible change after this commit. --- diff --git a/gdbserver/server.cc b/gdbserver/server.cc index c79b335813b..f91f70d2aa9 100644 --- a/gdbserver/server.cc +++ b/gdbserver/server.cc @@ -1153,9 +1153,7 @@ monitor_show_help (void) monitor_output (" Enable event loop debugging messages\n"); monitor_output (" set debug-format option1[,option2,...]\n"); monitor_output (" Add additional information to debugging messages\n"); - monitor_output (" Options: all, none"); - monitor_output (", timestamp"); - monitor_output ("\n"); + monitor_output (" Options: all, none, timestamp\n"); monitor_output (" exit\n"); monitor_output (" Quit GDBserver\n"); }