aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.gdbinit
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-15 14:06:00 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-15 14:06:00 +0200
commit8de5a85578322be60c5a32739b29551701743603 (patch)
tree8d2f65d64515d6c7f04e171b3d0de2b47f17ac10 /%HOME%/.gdbinit
parentgdb: fix xxd command (diff)
downloadlinux-home-8de5a85578322be60c5a32739b29551701743603.tar.gz
linux-home-8de5a85578322be60c5a32739b29551701743603.zip
gdb: enable Debuginfod
Diffstat (limited to '')
-rw-r--r--%HOME%/.gdbinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/%HOME%/.gdbinit b/%HOME%/.gdbinit
index 21289ae..1ce9e2a 100644
--- a/%HOME%/.gdbinit
+++ b/%HOME%/.gdbinit
@@ -16,6 +16,8 @@ set history save on
set history filename ~/.gdb-history
set history size 1000
+set debuginfod enabled on
+
define xxd
dump binary memory /tmp/dump.bin $arg0 ((char *)$arg0)+$arg1
shell xxd -groupsize 1 /tmp/dump.bin