aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.c
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-03-09 12:25:11 +0100
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-03-09 12:25:11 +0100
commite3abbe7e9458be7a92c27bc4649295b935340699 (patch)
treee5ac3f1e0f901f7c0b53bb56bb88163f3b5dd1cc /gdb/inferior.c
parente4adb93903d4ae0b7ab2b5004364e50627df95f7 (diff)
downloadgdb-e3abbe7e9458be7a92c27bc4649295b935340699.zip
gdb-e3abbe7e9458be7a92c27bc4649295b935340699.tar.gz
gdb-e3abbe7e9458be7a92c27bc4649295b935340699.tar.bz2
Ensure 'help set/show print inferior-events' shows the example events.
Without this patch, the help stops after 'e.g.' : (gdb) apropos \(inferior\|thread\) event set print inferior-events -- Set printing of inferior events (e.g. set print thread-events -- Set printing of thread events (such as thread start and exit) show print inferior-events -- Show printing of inferior events (e.g. show print thread-events -- Show printing of thread events (such as thread start and exit) Using the same notation as for the thread evenets (i.e. 'such as') gives: (gdb) apropos \(inferior\|thread\) event set print inferior-events -- Set printing of inferior events (such as inferior start and exit) set print thread-events -- Set printing of thread events (such as thread start and exit) show print inferior-events -- Show printing of inferior events (such as inferior start and exit) show print thread-events -- Show printing of thread events (such as thread start and exit)
Diffstat (limited to 'gdb/inferior.c')
-rw-r--r--gdb/inferior.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c
index b13d8f3..cb8063b 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -930,8 +930,8 @@ The new inferior ID must be currently known."),
add_setshow_boolean_cmd ("inferior-events", no_class,
&print_inferior_events, _("\
-Set printing of inferior events (e.g., inferior start and exit)."), _("\
-Show printing of inferior events (e.g., inferior start and exit)."), NULL,
+Set printing of inferior events (such as inferior start and exit)."), _("\
+Show printing of inferior events (such as inferior start and exit)."), NULL,
NULL,
show_print_inferior_events,
&setprintlist, &showprintlist);