Skip to content
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...
1 parent 5de3183 commit 7070ab49fec5a48edd3c26a26d6a2976878c5448 click committed Sep 19, 2010
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

0 comments on commit 7070ab4

Please sign in to comment.
Something went wrong with that request. Please try again.