From 5146429d1982c275370cfabab23544fb4fce2d2a Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Thu, 3 Feb 2022 19:50:04 -0800 Subject: [PATCH] [tools] Always have gdb load symbols for panic handler If the system panics, this makes it much easier to get an interesting callstack. --- assets/debugging/jsix.elf-gdb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/debugging/jsix.elf-gdb.py b/assets/debugging/jsix.elf-gdb.py index fe4f865..2341dfe 100644 --- a/assets/debugging/jsix.elf-gdb.py +++ b/assets/debugging/jsix.elf-gdb.py @@ -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")