* gdbinit.in: Set data-directory to @srcdir@.
authorPedro Alves <palves@redhat.com>
Sun, 4 Oct 2009 13:50:08 +0000 (13:50 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 4 Oct 2009 13:50:08 +0000 (13:50 +0000)
gdb/ChangeLog
gdb/gdbinit.in

index f8c57dd8f6cdce76c9806918b1fa669feb670c27..5aa6e3da56df2bf5f67acda443fad71047838b8f 100644 (file)
@@ -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.
index ffb7f53b5007788a8177382a903c53587de7a540..1448dd3a5382b10bfb7a97cac61696cfeef063dd 100644 (file)
@@ -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)