aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbinit.in
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-10-04 13:50:08 +0000
committerPedro Alves <palves@redhat.com>2009-10-04 13:50:08 +0000
commitd166c213e04f3d9a41cb0f708e49e882a920b523 (patch)
tree9cf47041f7d65c3a027ffefd8afbf56728d12c5e /gdb/gdbinit.in
parent000d2dc969138d220b0a4ce1370f1f828727aa69 (diff)
downloadgdb-d166c213e04f3d9a41cb0f708e49e882a920b523.zip
gdb-d166c213e04f3d9a41cb0f708e49e882a920b523.tar.gz
gdb-d166c213e04f3d9a41cb0f708e49e882a920b523.tar.bz2
* gdbinit.in: Set data-directory to @srcdir@.
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)