Release 2.1 breaks DWARF2 .elf debug?

Post Reply
MGeo
Posts: 38
Joined: Thu Dec 19, 2019 10:29 am
Answers: 2

Release 2.1 breaks DWARF2 .elf debug?

Post by MGeo »

After updating to v2.1 of STM32duino core, I'm getting "no DWARF2 info found" errors when attempting to debug .elf file compiled with -g option. This was with Segger Ozone on both Ubuntu 18.04 and Windows 10. Reverting to 2.0 fixes the issue.

Anyone else experiencing this? I'll have to do some digging but I'm thinking maybe compile or link flags were modified.
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Release 2.1 breaks DWARF2 .elf debug?

Post by fpiSTM »

The change is that -g option to add debug symbol has its own menu, this allows to use all optimisation options to debug not only the -Og
Post Reply

Return to “PR's bugs and enhancements”