aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/%HOME%/.gdbinit
blob: 58734c20e5e37d2b0f1cd789c33be88776cc593a (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 -g 1 /tmp/dump.bin
end