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)
This commit is contained in:
parent
e4adb93903
commit
e3abbe7e94
|
@ -1,3 +1,8 @@
|
|||
2019-02-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
|
||||
|
||||
* inferior.c (initialize_inferiors): Ensure 'help set/show print
|
||||
inferior-events' shows the example events.
|
||||
|
||||
2019-03-08 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
Support styling on native MS-Windows console
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue