Stack decoder script by mcspr · Pull Request #8661 · esp8266/Arduino (original) (raw)

subj
Needs toolchain path, elf path, and the postmortem either as a file or piped into stdin
Not as colorful as java decoder, though. Like monitor filter, tries to 'update' already existing data with our knowledge of addresses and source locations.

Based on the code from

Defaults to addr2line, which seems to be working just fine.
Optional GDB info output
(could be list, but I hope if there's an easier way than to parse it yet again like java version does)

resolves #6310 , but probably needs some mention in the documentation