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] New: Backtrace info in std::exception


The adding of backtrace info to std::exception would be most helpful. 
Currently when a program throws an exception, the debug info is rather useless.
 Only the backtrace to the catch is shown.  Ideally symbol info and line
numbers should be available, so that the throw can be easily found.

execinfo.h already provides a way of obtaining runtime backtrace info, but
would it not be more appropriate to add this to debug info for the exception?


-- 
           Summary: Backtrace info in std::exception
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: djh at emss dot co dot za


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]