public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-pmuldoon-exception-rewind: Add initial gdb.texinfo documentation.
@ 2008-10-21 19:36 pmuldoon
  0 siblings, 0 replies; only message in thread
From: pmuldoon @ 2008-10-21 19:36 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-exception-rewind has been updated
       via  d3d0ae2ba1c9a2c5d3300bfb0f34c3e9ae028554 (commit)
      from  98d43e209f13a2b8d7683946645eda5890aed1d3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit d3d0ae2ba1c9a2c5d3300bfb0f34c3e9ae028554
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue Oct 21 20:32:32 2008 +0100

    Add initial gdb.texinfo documentation.

-----------------------------------------------------------------------

Summary of changes:
 gdb/doc/gdb.texinfo |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 67b5fac..06c5997 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -12169,6 +12169,12 @@ It is possible for the function you call via the @code{print} or
 the function, or if you passed it incorrect arguments).  What happens
 in that case is controlled by the @code{set unwindonsignal} command.
 
+Similarly, in a C++ program  it is possible for the function you call
+via the @code{print} or @code{call} command to generate an exception
+that is not handled due to the constraints of dummy frame. What happens
+in that case is controlled by the  @code{set
+unwind-on-terminating-exception} command.
+
 @table @code
 @item set unwindonsignal
 @kindex set unwindonsignal
@@ -12185,6 +12191,23 @@ received.
 @kindex show unwindonsignal
 Show the current setting of stack unwinding in the functions called by
 @value{GDBN}.
+
+@item set unwind-on-terminating-exception
+@kindex set unwind-on-terminating-exception
+@cindex unwind stack in called functions
+@cindex call dummy stack unwinding on unhandled exception.
+Set unwinding of the stack if an C++ unhandled exception is raised
+while in a function that @value{GDBN} called in the program being
+debugged.  If set to on (the default), @value{GDBN} unwinds the stack
+it created for the call and restores the context to what it was before
+the call.  If set to off, @value{GDBN} the exception is delivered to
+the default C++ exception handler.
+
+@item show unwind-on-terminating-exception
+@kindex show unwind-on-terminating-exception
+Show the current setting of stack unwinding in the functions called by
+@value{GDBN}.
+
 @end table
 
 @cindex weak alias functions


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-21 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21 19:36 [SCM] archer-pmuldoon-exception-rewind: Add initial gdb.texinfo documentation pmuldoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).