aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--gdb/.config/gdb/gdbinit1
-rw-r--r--gdb/.config/profile.d/50-gdb.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/.config/gdb/gdbinit b/gdb/.config/gdb/gdbinit
new file mode 100644
index 0000000..59c2164
--- /dev/null
+++ b/gdb/.config/gdb/gdbinit
@@ -0,0 +1 @@
+set debuginfod enabled on
diff --git a/gdb/.config/profile.d/50-gdb.sh b/gdb/.config/profile.d/50-gdb.sh
new file mode 100644
index 0000000..86c085a
--- /dev/null
+++ b/gdb/.config/profile.d/50-gdb.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export GDBHISTFILE="$XDG_DATA_HOME/gdb/history"
+export DEBUGINFOD_URLS="https://debuginfod.elfutils.org/"