Misc: Improve gdb script output
* Switch disassembly to intel syntax * Remove terminal colors * Remove terminal line wrapping and pagination * Start versioning the script
This commit is contained in:
1 parent
95d7b0f2d6
commit
b8077bd939
1 file changed
+7
-2
@@ -1,5 +1,9 @@
|
||||
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
|
||||
@@ -13,10 +17,11 @@ echo \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: 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
|
||||
Reference in new issue
Block a user