aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-11-05 21:15:49 +0000
committerAndrew Burgess <aburgess@redhat.com>2023-11-22 15:20:31 +0000
commit27365c5189999e3326e097d9eef4aeaae88651c1 (patch)
tree26d8fc59cacc058b84abed6b135274b231bdc5cc /gdbserver
parentdf4ffdd8c87b32357f929fb4a861760038f3bbb8 (diff)
downloadgdb-27365c5189999e3326e097d9eef4aeaae88651c1.zip
gdb-27365c5189999e3326e097d9eef4aeaae88651c1.tar.gz
gdb-27365c5189999e3326e097d9eef4aeaae88651c1.tar.bz2
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.
Diffstat (limited to 'gdbserver')
-rw-r--r--gdbserver/server.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdbserver/server.cc b/gdbserver/server.cc
index c79b335..f91f70d 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");
}