mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
* Switch disassembly to intel syntax * Remove terminal colors * Remove terminal line wrapping and pagination * Start versioning the script
28 lines
679 B
Plaintext
28 lines
679 B
Plaintext
set logging overwrite on
|
|
set logging file backtrace.log
|
|
set style enabled off
|
|
set height unlimited
|
|
set width unlimited
|
|
set disassembly-flavor intel
|
|
handle SIG33 pass nostop noprint
|
|
set pagination 0
|
|
set logging on
|
|
echo \n--- DEBUG: --- START\n\n
|
|
run
|
|
echo \n--- DEBUG: BACKTRACE FULL\n
|
|
if TrinityAssertionFailedMessage != 0
|
|
printf "%s\n", TrinityAssertionFailedMessage
|
|
end
|
|
echo \n
|
|
backtrace full
|
|
echo \n--- DEBUG: INFO REGISTERS\n\n
|
|
info registers
|
|
echo \n--- DEBUG: CALLS (x/16i $pc)\n\n
|
|
x/16i $pc
|
|
echo \n--- DEBUG: THREAD APPLY ALL BACKTRACE\n
|
|
thread apply all backtrace
|
|
echo \n--- DEBUG: --- STOP\n\n
|
|
echo Generated by crashreport.gdb script version 1.3\n
|
|
set logging off
|
|
quit
|