[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:
Justin C. Miller
2022-02-03 19:50:04 -08:00
parent 0e80c19d3d
commit 5146429d19

View File

@@ -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")