Contrib: make the GDB macro start logging a little bit earlier to catch the important bits

--HG--
branch : trunk
This commit is contained in:
click
2010-09-19 19:52:12 +02:00
parent 5de3183180
commit 7070ab49fe

View File

@@ -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