Stack Traces on Linux
Jesse Phillips
jessekphillips+D at gmail.com
Fri Nov 5 11:51:22 PDT 2010
Daniel Gibson Wrote:
> dsimcha schrieb:
> > What determines whether the function name or just the address will be printed
> > out when a stack trace is printed on Linux? I'm trying to debug an error and
> > all I'm getting is hex addresses. I have no idea why. With other programs I
> > get full function names.
>
> I'm not sure, but aren't debug symbols needed (i.e. did you compile with -g)?
Add this flag -L--export-dynamic and compile with -gc (-g may work)
http://www.digitalmars.com/d/archives/digitalmars/D/A_working_backtrace_for_linux_114405.html
More information about the Digitalmars-d
mailing list