summaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-01-05 08:33:57 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-01-05 08:33:57 +0000
commit5d58dcb340fea1907cff4b675fc516f820239496 (patch)
tree08a79a0011cb6930f9e76ff01222dd597c2dd068 /gdb/doc
parent4ae3d13827bd69c7acfe68025650a880120858ab (diff)
downloadgdb-5d58dcb340fea1907cff4b675fc516f820239496.tar.gz
* gdb.texinfo (Set Catchpoints): Add documentation for the new
catch exception, catch exception unhandled, and catch assert commands.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo14
2 files changed, 20 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index a09d35bd458..427e0ba24d6 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-05 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.texinfo (Set Catchpoints): Add documentation for the new
+ catch exception, catch exception unhandled, and catch assert
+ commands.
+
2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.texinfo (Debugging Output): Document "set debug xml"
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 37d2a6bd773..a477dc380ad 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -3353,6 +3353,20 @@ The throwing of a C@t{++} exception.
@item catch
The catching of a C@t{++} exception.
+@item exception
+@cindex Ada exception catching
+@cindex catch Ada exceptions
+An Ada exception being raised. If an exception name is specified
+at the end of the command (eg @code{catch exception Program_Error}),
+the debugger will stop only when this specific exception is raised.
+Otherwise, the debugger stops execution when any Ada exception is raised.
+
+@item exception unhandled
+An exception that was raised but is not handled by the program.
+
+@item assert
+A failed Ada assertion.
+
@item exec
@cindex break on fork/exec
A call to @code{exec}. This is currently only available for HP-UX.