how to dump backtrace when using gcc in M23

Asked by lin jun

HI ,
Contex M23, how to dump call stack when using GCC toolchain?
Could you give me a sample?

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
lin jun (jeffrey67) said :
#1

HI ,
Contex M23, how to dump call stack when using GCC toolchain?
Could you give me a sample?

Thanks!

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#2

Hi Lin,

You can do so in GDB by using the bt (backtrace) command.

Best regards.

Can you help with this problem?

Provide an answer of your own, or ask lin jun for more information if necessary.

To post a message you must log in.