aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/%HOME%/.gdbinit
blob: b0253735e6879d6355dd9389ab3b89886d76d769 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                      


                            



                                   

               

                   



                              


                                                                
                                        
   
# Disable the stupid <RET>/q/c prompt:
set pagination off

# Sorry :-(
set disassembly-flavor intel

set history save on
set history filename ~/.gdb-history
set history size 1000

set confirm off

set print pretty on

define bta
    thread apply all backtrace
end

define xxd
    dump binary memory /tmp/dump.bin $arg0 ((char *)$arg0)+$arg1
    shell xxd -groupsize 1 /tmp/dump.bin
end