aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%')
-rw-r--r--%HOME%/.gdbinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/%HOME%/.gdbinit b/%HOME%/.gdbinit
index f5bf8d0..58734c2 100644
--- a/%HOME%/.gdbinit
+++ b/%HOME%/.gdbinit
@@ -15,3 +15,8 @@ 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