This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 libstdc++/33903] Backtrace info in std::exception



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-11-02 06:27 -------
(In reply to comment #2)
> I am using debugger. After the exception is thrown, the program asserts.  So I
> get a backtrace to the system fatal call, having no idea where the exception
> was thrown.

Since GCC follows the IA64 C++ ABI, you can have a breakpoint at __cxa_throw
(the function which is called for throwing the exception).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33903


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