From d166c213e04f3d9a41cb0f708e49e882a920b523 Mon Sep 17 00:00:00 2001
From: Pedro Alves <palves@redhat.com>
Date: Sun, 4 Oct 2009 13:50:08 +0000
Subject: [PATCH] 	* gdbinit.in: Set data-directory to @srcdir@.

---
 gdb/ChangeLog  | 4 ++++
 gdb/gdbinit.in | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f8c57dd8f6c..5aa6e3da56d 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 ffb7f53b500..1448dd3a538 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)