[Bug c/87400] New: GCC doesn't produce valid frames for stack traces with Thumb-2 (Cortex-M3+)

2018-09-24 Thread alexkalmuk at gmail dot com
erity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: alexkalmuk at gmail dot com Target Milestone: --- Target: arm-none-eabi GCC generates special frames for doing stack traces on ARM. These frames can be generate

[Bug c/87400] GCC doesn't produce valid frames for stack traces with Thumb-2 (Cortex-M3+)

2018-09-24 Thread alexkalmuk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87400 --- Comment #2 from Alex Kalmuk --- I write about mtpcs-frame for thumb, not mapcs-frame, I know the last one for arm instruction set.

[Bug c/87400] GCC doesn't produce valid frames for stack traces with Thumb-2 (Cortex-M3+)

2018-09-24 Thread alexkalmuk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87400 --- Comment #4 from Alex Kalmuk --- Thank you for pointing it out. So now the alternative is to use .ARM.exidx linker section even for Cortex-M (or, probably, to use dwarf debugging information on gdb side)?