how to dump backtrace when using gcc in M23

Asked by lin jun on 2017-03-14

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:
2017-03-14
Last reply:
2017-03-14
lin jun (jeffrey67) said : #1

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

Thanks!

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.