[tools] Always have gdb load symbols for panic handler
If the system panics, this makes it much easier to get an interesting callstack.
This commit is contained in:
@@ -225,4 +225,5 @@ GetThreadsCommand()
|
|||||||
|
|
||||||
gdb.execute("display/i $rip")
|
gdb.execute("display/i $rip")
|
||||||
if not gdb.selected_inferior().was_attached:
|
if not gdb.selected_inferior().was_attached:
|
||||||
|
gdb.execute("add-symbol-file build/panic.serial.elf")
|
||||||
gdb.execute("target remote :1234")
|
gdb.execute("target remote :1234")
|
||||||
|
|||||||
Reference in New Issue
Block a user