From 97788b82159c8566d3830ac063323f67a357fd1c Mon Sep 17 00:00:00 2001 From: Manuel Thomassen Date: Mon, 22 Jul 2019 17:35:15 +0200 Subject: [PATCH] add openocd.gdb hint how to print panic immediatly --- openocd.gdb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openocd.gdb b/openocd.gdb index b15ded8..7795319 100644 --- a/openocd.gdb +++ b/openocd.gdb @@ -10,6 +10,11 @@ set backtrace limit 32 break DefaultHandler break HardFault break rust_begin_unwind +# # run the next few lines so the panic message is printed immediately +# # the number needs to be adjusted for your panic handler +# commands $bpnum +# next 4 +# end # *try* to stop at the user entry point (it might be gone due to inlining) break main