]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbserver: cleanup monitor_show_help
authorAndrew Burgess <aburgess@redhat.com>
Sun, 5 Nov 2023 21:15:49 +0000 (21:15 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Wed, 22 Nov 2023 15:20:31 +0000 (15:20 +0000)
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.

gdbserver/server.cc

index c79b335813bc4f57c1458fadbaa4fcd17e24a493..f91f70d2aa9717644e7f5321ecbecdc398e01c44 100644 (file)
@@ -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");
 }