public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/11327] New: GDB says stopped at breakpoint 0, when calling a function that calls std::terminate
@ 2010-02-26  1:26 pedro at codesourcery dot com
  2010-02-26  1:27 ` [Bug gdb/11327] " pedro at codesourcery dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2010-02-26  1:26 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-25 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-26  1:26 [Bug gdb/11327] New: GDB says stopped at breakpoint 0, when calling a function that calls std::terminate pedro at codesourcery dot com
2010-02-26  1:27 ` [Bug gdb/11327] " pedro at codesourcery dot com
2010-03-16 20:38 ` tromey at redhat dot com
2010-03-25 20:53 ` tromey at redhat dot com

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).