Files
TrinityCore/contrib/debugger/crashreport.gdb
click 54212cf387 Contrib: Add example GDB backtrace generator script and a small readme on how to use it - Note: DO read the README file before using.
(Allows for semi-automated crashreporting on GDB/*nix-based platforms with proper information included).

--HG--
branch : trunk
2010-09-19 18:11:03 +02:00

17 lines
374 B
Plaintext

set logging overwrite on
set logging file backtrace.log
handle SIG33 pass nostop noprint
set pagination 0
run
set logging on
echo \n--- DEBUG: BACKTRACE FULL\n\n
backtrace full
echo \n--- DEBUG: INFO REGISTERS\n\n
info registers
echo \n--- DEBUG: CALLS (x/32i $pc)\n\n
x/32i $pc
echo \n--- DEBUG: THREAD APPLY ALL BACKTRACE\n
thread apply all backtrace
set logging off
quit