]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/infcall.c
2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Mon, 15 Jun 2009 12:11:37 +0000 (12:11 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Mon, 15 Jun 2009 12:11:37 +0000 (12:11 +0000)
commit7cd1089b09663f833a90a4536db2ffad3591636b
treeea5adc0bb69efa19f2aa28a7687493bfdf7f7dfe
parent1316c8b37f7e034b92e26695eea207e9a4cf25a0
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]