aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-08-23 16:59:14 +0000
committerPedro Alves <palves@redhat.com>2012-08-23 16:59:14 +0000
commitdfbd5e7bbbf503e8e0f3bdcb0a15ed7ee605a5f3 (patch)
tree330c618188aad0a3e170e08e56aa9a6e37ca86c8 /gdb/infrun.c
parent2edda2ffe83b74276346996565302ec82b37c72b (diff)
downloadgdb-dfbd5e7bbbf503e8e0f3bdcb0a15ed7ee605a5f3.zip
gdb-dfbd5e7bbbf503e8e0f3bdcb0a15ed7ee605a5f3.tar.gz
gdb-dfbd5e7bbbf503e8e0f3bdcb0a15ed7ee605a5f3.tar.bz2
2012-08-23 Pedro Alves <palves@redhat.com>
gdb/ * infrun.c (_initialize_infrun) <handle command help text>: Mention that multiple signals are supported. gdb/testsuite/ * gdb.base/help.exp: Adjust to "handle" help text change.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 9628170..cbab993 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -7096,10 +7096,10 @@ Specify a signal as argument to print info on that signal only."));
add_info_alias ("handle", "signals", 0);
c = add_com ("handle", class_run, handle_command, _("\
-Specify how to handle a signal.\n\
+Specify how to handle signals.\n\
Usage: handle SIGNAL [ACTIONS]\n\
Args are signals and actions to apply to those signals.\n\
-If no actions are specified, the current settings for the specified signal\n\
+If no actions are specified, the current settings for the specified signals\n\
will be displayed instead.\n\
\n\
Symbolic signals (e.g. SIGSEGV) are recommended but numeric signals\n\
@@ -7114,7 +7114,11 @@ Stop means reenter debugger if this signal happens (implies print).\n\
Print means print a message if this signal happens.\n\
Pass means let program see this signal; otherwise program doesn't know.\n\
Ignore is a synonym for nopass and noignore is a synonym for pass.\n\
-Pass and Stop may be combined."));
+Pass and Stop may be combined.\n\
+\n\
+Multiple signals may be specified. Signal numbers and signal names\n\
+may be interspersed with actions, with the actions being performed for\n\
+all signals cumulatively specified."));
set_cmd_completer (c, handle_completer);
if (xdb_commands)