This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33903] Backtrace info in std::exception
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2007 06:27:58 -0000
- Subject: [Bug libstdc++/33903] Backtrace info in std::exception
- References: <bug-33903-15268@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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