This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/9593] "next" command in a function that throws a C++exception causes GDB to lose control of the inferior


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]