mirror of https://github.com/thesofproject/sof.git
afaad99125
The gdb script created by coredump-reader has a fixed reset vector address. This address only works on a subset of supported SOF platforms and for other platforms, user has to manually fix the reset address in the gdb script before use. Modify the script to emit breakpoint for "_MemErrorVector" symbol. This is not the reset vector, but the simulation will still be trapped early. The symbol is part of the firmware binary, so its address can be looked up at runtime. Also add a second breakpoint for "_MemoryExceptionVector_text_start". This will cover SOF binaries built with Zephyr as the RTOS. BugLink: https://github.com/thesofproject/sof/issues/5125 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> |
||
---|---|---|
.. | ||
sof-coredump-reader.py | ||
sof-coredump-to-gdb.sh |