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

Reply via email to