diff options
author | Pedro Alves <palves@redhat.com> | 2009-10-04 13:50:08 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-10-04 13:50:08 +0000 |
commit | d166c213e04f3d9a41cb0f708e49e882a920b523 (patch) | |
tree | 9cf47041f7d65c3a027ffefd8afbf56728d12c5e | |
parent | 000d2dc969138d220b0a4ce1370f1f828727aa69 (diff) | |
download | gdb-d166c213e04f3d9a41cb0f708e49e882a920b523.zip gdb-d166c213e04f3d9a41cb0f708e49e882a920b523.tar.gz gdb-d166c213e04f3d9a41cb0f708e49e882a920b523.tar.bz2 |
* gdbinit.in: Set data-directory to @srcdir@.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbinit.in | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f8c57dd..5aa6e3d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-10-04 Pedro Alves <pedro@codesourcery.com> + + * gdbinit.in: Set data-directory to @srcdir@. + 2009-10-02 Pedro Alves <pedro@codesourcery.com> * linux-nat.c (TRAP_IS_SYSCALL, TRAP_REMOVE_SYSCALL_FLAG): Delete. 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) |