This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11327] New: GDB says stopped at breakpoint 0, when calling a function that calls std::terminate
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 26 Feb 2010 01:26:29 -0000
- Subject: [Bug gdb/11327] New: GDB says stopped at breakpoint 0, when calling a function that calls std::terminate
- Reply-to: sourceware-bugzilla at sourceware dot org
Contrived example:
void function ()
{
std::terminate ();
}
int main ()
{
}
(gdb) start
(gdb) call function ()
Breakpoint 0, 0x00007ffff7992110 in std::terminate() () from /usr/lib
^^^^^^^^^^^^
/libstdc++.so.6
The program being debugged entered a std::terminate call, most likely
caused by an unhandled C++ exception. GDB blocked this call in order
to prevent the program from being terminated, and has restored the
context to its original state before the call.
To change this behaviour use "set unwind-on-terminating-exception off".
Evaluation of the expression containing the function (function())
will be abandoned.
(gdb)
--
Summary: GDB says stopped at breakpoint 0, when calling a
function that calls std::terminate
Product: gdb
Version: 7.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: pedro at codesourcery dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11327
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.