blob: 58734c20e5e37d2b0f1cd789c33be88776cc593a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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
|