aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-style.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2019-01-12 09:47:58 -0500
committerJoel Brobecker <brobecker@adacore.com>2019-01-12 09:47:58 -0500
commit60a90376792474224f3d22b1d9813844a3b3589a (patch)
tree06744cc145e9c512991466b35740d9315e7a9666 /gdb/cli/cli-style.h
parent6eb6fb6787430a2589e0382aa3e2e4f6f2a0a600 (diff)
downloadgdb-60a90376792474224f3d22b1d9813844a3b3589a.zip
gdb-60a90376792474224f3d22b1d9813844a3b3589a.tar.gz
gdb-60a90376792474224f3d22b1d9813844a3b3589a.tar.bz2
expand a bit the in-GDB help for the "catch exception" help text
One of our users remarked that the help doesn't mention the fact that the "catch exception" supports the special argument "unhandled" to catch exceptions which do not have a handler. This patch changes the output of... | (gdb) help catch exception | Catch Ada exceptions, when raised. | With an argument, catch only exceptions with the given name. ... to ... | (gdb) help catch exception | Catch Ada exceptions, when raised. | Usage: catch exception [ ARG ] | | Without any argument, stop when any Ada exception is raised. | If ARG is "unhandled" (without the quotes), only stop when the exception | being raised does not have a handler (and will therefore lead to the task's | termination). | Otherwise, the catchpoint only stops when the name of the exception being | raised is the same as ARG. gdb/ChangeLog: * ada-lang.c (_initialize_ada_language): Expand the help text for the "catch exception" command. Tested on x86_64-linux, no regression.
Diffstat (limited to 'gdb/cli/cli-style.h')
0 files changed, 0 insertions, 0 deletions