Fix cross build problems for --target=ia64-linux-gnu.
authorKevin Buettner <kevinb@redhat.com>
Wed, 7 Apr 2004 22:35:21 +0000 (22:35 +0000)
committerKevin Buettner <kevinb@redhat.com>
Wed, 7 Apr 2004 22:35:21 +0000 (22:35 +0000)
gdb/ChangeLog
gdb/ia64-tdep.c

index 4300eca34abd7fe120cf0b34aa190f2d29124134..dca779ee217e75b220315f029ed47a9739d23f76 100644 (file)
@@ -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.
index 8defe3b377edbe837de054c82726b48130df6725..3bc812927dbe128180461935b4f052017fc89d54 100644 (file)
 #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