From 8936fcda88c915c942559802689bcfe3da59ab6e Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 5 Jan 2007 08:33:57 +0000 Subject: * gdb.texinfo (Set Catchpoints): Add documentation for the new catch exception, catch exception unhandled, and catch assert commands. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 14 ++++++++++++++ 2 files changed, 20 insertions(+) (limited to 'gdb') 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 + + * 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 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. -- cgit v1.1