aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2004-04-07 22:35:21 +0000
committerKevin Buettner <kevinb@redhat.com>2004-04-07 22:35:21 +0000
commit8973ff21da217eb75491e571bf7d9768a0ceaed4 (patch)
tree6de33241b4e8c688722c9f072b05b75c29bacfea
parent4a0e2f88c65c6660d9cc7ec2769a0b4c30a44d81 (diff)
downloadgdb-8973ff21da217eb75491e571bf7d9768a0ceaed4.zip
gdb-8973ff21da217eb75491e571bf7d9768a0ceaed4.tar.gz
gdb-8973ff21da217eb75491e571bf7d9768a0ceaed4.tar.bz2
Fix cross build problems for --target=ia64-linux-gnu.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ia64-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4300eca..dca779e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-07 Kevin Buettner <kevinb@redhat.com>
+
+ * ia64-tdep.c (elf.h): Don't include.
+ (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include.
+
2004-04-07 Jason Molenda (jmolenda@apple.com)
* frame.h: Typeo corrections in comments.
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 8defe3b3..3bc8129 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -36,11 +36,11 @@
#include "objfiles.h"
#include "elf/common.h" /* for DT_PLTGOT value */
#include "elf-bfd.h"
-#include "elf.h" /* for PT_IA64_UNWIND value */
#include "dis-asm.h"
#include "ia64-tdep.h"
#ifdef HAVE_LIBUNWIND_IA64_H
+#include "elf/ia64.h" /* for PT_IA_64_UNWIND value */
#include "libunwind-frame.h"
#include "libunwind-ia64.h"
#endif