This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/9593] "next" command in a function that throws a C++exception causes GDB to lose control of the inferior
- From: "zy1st2009 at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 14 Nov 2011 07:43:39 +0000
- Subject: [Bug c++/9593] "next" command in a function that throws a C++exception causes GDB to lose control of the inferior
- Auto-submitted: auto-generated
- References: <bug-9593-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=9593
George <zy1st2009 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |zy1st2009 at hotmail dot
| |com
Version|unknown |7.3
Resolution|FIXED |
--- Comment #7 from George <zy1st2009 at hotmail dot com> 2011-11-14 07:43:39 UTC ---
I am afraid this bug has not been fixed completely.
GDB now do have a better performance for "next" command when exceptions are
thrown, but not for all the cases. If an exception is throw from a dynamic
loaded library, GDB doesn't behave any better ,GDB will still lose control of
inferior and display more error information.
How-To-Repeat:
The test case included in attachment shows the behavior. Step to
"pCd->doDivide()", then run "next" command. The program will exit.
Environment:
GDB 7.3 accompany with GCC 4.6.1
OS: Ubuntu 11.10
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.