aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbinit.in
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbinit.in')
-rw-r--r--gdb/gdbinit.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbinit.in b/gdb/gdbinit.in
index ffb7f53..1448dd3 100644
--- a/gdb/gdbinit.in
+++ b/gdb/gdbinit.in
@@ -16,6 +16,8 @@ dir @srcdir@
dir .
set prompt (top-gdb)
+set data-directory @srcdir@
+
define pdie
if $argc == 1
call dump_die ($arg0, 1)