I want to dump stacktrace of my program as the example demonstrated at backtrace[3], but I got result below, instead.
I am using linux 2.6, and arm-linux-gcc 4.3.2.
Running:
arm-linux-gcc prog.c -o prog -rdynamic
the result is:
backtrace() returned 1 addresses
/lib/ld-linux.so.3 [0x40025000]
Could you please help me to solve this problem?
Thanks
I don't have any problem with gcc, But I cant get traces with arm-linux-gcc.