mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[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")
|
||||
if not gdb.selected_inferior().was_attached:
|
||||
gdb.execute("add-symbol-file build/panic.serial.elf")
|
||||
gdb.execute("target remote :1234")
|
||||
|
||||
Reference in New Issue
Block a user