Merge pull request #72 from ssendev/print-panic
add openocd.gdb hint how to print panic immediatly
This commit is contained in:
@@ -10,6 +10,11 @@ set backtrace limit 32
|
|||||||
break DefaultHandler
|
break DefaultHandler
|
||||||
break HardFault
|
break HardFault
|
||||||
break rust_begin_unwind
|
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)
|
# *try* to stop at the user entry point (it might be gone due to inlining)
|
||||||
break main
|
break main
|
||||||
|
|||||||
Reference in New Issue
Block a user