OSDN Git Service

2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
authorpmuldoon <pmuldoon>
Mon, 15 Jun 2009 12:11:35 +0000 (12:11 +0000)
committerpmuldoon <pmuldoon>
Mon, 15 Jun 2009 12:11:35 +0000 (12:11 +0000)
commitcfa9a5cc9decb8b3762b608cc977a1ad3166fd21
treeeb0f753c11a8d1b6fdc0b4019b4915fda7eb50ba
parent956a43e4c9a1372cfde788353e812f5efe1ec49f
2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>

* infcall.c (show_unwind_on_terminating_exception_p): New
function.
(call_function_by_hand): Create breakpoint and clean-up call for
std::terminate.breakpoint. Add unwind_on_terminating_exception_p
gate. Pop frame on breakpoint hit.
(_initialize_infcall): Add add_setshow_boolean_cmd for
unwind-on-terminating-exception.

testsuite/

2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.cp/gdb2495.cc: New file.
* gdb.cp/gdb2495.exp: New file.

doc/

2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>

* doc/gdb.texinfo (Calling): Document
set-unwind-on-terminating-exception usage.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/infcall.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/Makefile.in
gdb/testsuite/gdb.cp/gdb2495.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/gdb2495.exp [new file with mode: 0644]