From: Joel Brobecker Date: Fri, 5 Jan 2007 08:33:57 +0000 (+0000) Subject: * gdb.texinfo (Set Catchpoints): Add documentation for the new X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8936fcda88c915c942559802689bcfe3da59ab6e;p=binutils-gdb.git * gdb.texinfo (Set Catchpoints): Add documentation for the new catch exception, catch exception unhandled, and catch assert commands. --- 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 + + * gdb.texinfo (Set Catchpoints): Add documentation for the new + catch exception, catch exception unhandled, and catch assert + commands. + 2007-01-04 Daniel Jacobowitz * 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.