gcc and stack trace: only filename + offset displayed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: gcc-help@xxxxxxxxxxx
- Subject: gcc and stack trace: only filename + offset displayed
- From: pieniek <edek.pienkowski@xxxxxxxxx>
- Date: Sun, 17 Apr 2011 19:10:07 +0200
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Linux/3.1.0-15 Thunderbird/3.1.0
Hi,
I compiled gcc 4.6 and I am enjoying the new standard, but there is one
setback: the backtrace does not contain any symbols, just file + offset.
I can use gdb to find out what these offsets are, but it would be easier
just to see a backtrace.
The backtrace comes from ::backtrace () call, and later would be
demangled by ::abi::__cxa_demangle; it is called during construction of
exception class, and during terminate if it happens.
gcc 4.6 is not the version that the system ships with, it ships with
4.5.1. Is this caused by some changes in layout of some data, that gcc
creates and something else (glibc?) reads?
Edek
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]