diff options
author | Joel Brobecker <brobecker@gnat.com> | 2007-01-05 08:33:57 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2007-01-05 08:33:57 +0000 |
commit | 8936fcda88c915c942559802689bcfe3da59ab6e (patch) | |
tree | 927609125ca9fdc9e29e1ab920a389be08c1d930 | |
parent | 0e420bd85db4239139d00f6e8050ed5967ecab11 (diff) | |
download | gdb-8936fcda88c915c942559802689bcfe3da59ab6e.zip gdb-8936fcda88c915c942559802689bcfe3da59ab6e.tar.gz gdb-8936fcda88c915c942559802689bcfe3da59ab6e.tar.bz2 |
* gdb.texinfo (Set Catchpoints): Add documentation for the new
catch exception, catch exception unhandled, and catch assert
commands.
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index a09d35b..427e0ba 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 37d2a6b..a477dc3 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. |