This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM36x: use backtrace function

Hello!

I try use backtrace for found segmentation fault in my programm. but bactrace output only address.

I try example from documentation (man 3 backtrace), but it also output only address, I use arm_v5t_le-gcc (MontaVista 4.2.0-16.0.32.0801914 2008-08-30) for compile :
~ # ./test 3                                                                                                                                                                                                        
backtrace() returned 1 addresses                                                                                                                                                                                    
[0xbecf1d3c]

But in example I see another:
$ ./prog 3
 backtrace() returned 8 addresses
 ./prog(myfunc3+0x5c) [0x80487f0]
 ./prog [0x8048871]
 ./prog(myfunc+0x21) [0x8048894]
 ./prog(myfunc+0x1a) [0x804888d]
 ./prog(myfunc+0x1a) [0x804888d]
 ./prog(main+0x65) [0x80488fb]
  /lib/libc.so.6(__libc_start_main+0xdc) [0xb7e38f9c]
 ./prog [0x8048711]

Question - how can I get backtrace output similar  to an example from the documentation?

Thank you and excuse me for my bad english.