Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Contrib: make the GDB macro start logging a little bit earlier to cat…

…ch the important bits

--HG--
branch : trunk
  • Loading branch information...
commit 7070ab49fec5a48edd3c26a26d6a2976878c5448 1 parent 5de3183
click authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 contrib/debugger/crashreport.gdb
View
4 contrib/debugger/crashreport.gdb
@@ -2,8 +2,9 @@ set logging overwrite on
set logging file backtrace.log
handle SIG33 pass nostop noprint
set pagination 0
-run
set logging on
+echo \n--- DEBUG: --- START\n\n
+run
echo \n--- DEBUG: BACKTRACE FULL\n\n
backtrace full
echo \n--- DEBUG: INFO REGISTERS\n\n
@@ -12,5 +13,6 @@ echo \n--- DEBUG: CALLS (x/32i $pc)\n\n
x/32i $pc
echo \n--- DEBUG: THREAD APPLY ALL BACKTRACE\n
thread apply all backtrace
+echo \n--- DEBUG: --- STOP\n\n
set logging off
quit
Please sign in to comment.
Something went wrong with that request. Please try again.