aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.gdbinit
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-15 14:05:03 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-15 14:05:03 +0200
commit1081f9767810ec62932a89f87aa801292822de68 (patch)
treee8682fca75c60a6bb057ddfe6865fbb0094ef68b /%HOME%/.gdbinit
parentgdb: move basic options to top (diff)
downloadlinux-home-1081f9767810ec62932a89f87aa801292822de68.tar.gz
linux-home-1081f9767810ec62932a89f87aa801292822de68.zip
gdb: fix xxd command
Diffstat (limited to '')
-rw-r--r--%HOME%/.gdbinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/%HOME%/.gdbinit b/%HOME%/.gdbinit
index e675d3d..21289ae 100644
--- a/%HOME%/.gdbinit
+++ b/%HOME%/.gdbinit
@@ -19,4 +19,5 @@ set history size 1000
define xxd
dump binary memory /tmp/dump.bin $arg0 ((char *)$arg0)+$arg1
shell xxd -groupsize 1 /tmp/dump.bin
+ shell rm -f /tmp/dump.bin
end