base: DestinyCore upstream @2d631f4e (fork SylvaniaCore ; sql/old retire)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
The included crashreport.gdb allows for semiautomated hunting of
|
||||
crashes. The crashlog-file will be named backtrace.log and contains all
|
||||
the commands required to partially automate a crashlog-creation with the
|
||||
proper information.
|
||||
|
||||
Usage: gdb -x crashreport.gdb <executable file>
|
||||
|
||||
For creating an efficient backtrace, use -DCMAKE_BUILD_TYPE=Debug as a
|
||||
parameter to CMake during configuration - this increases the filesize,
|
||||
but includes all the needed information for a decent and efficient
|
||||
crashreport.
|
||||
|
||||
-- Good luck, and happy crashhunting.
|
||||
@@ -0,0 +1,18 @@
|
||||
set logging overwrite on
|
||||
set logging file backtrace.log
|
||||
handle SIG33 pass nostop noprint
|
||||
set pagination 0
|
||||
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
|
||||
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
|
||||
echo \n--- DEBUG: --- STOP\n\n
|
||||
set logging off
|
||||
quit
|
||||
Reference in New Issue
Block a user