* 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 f8c57dd..5aa6e3d 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 ffb7f53..1448dd3 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)