From 8973ff21da217eb75491e571bf7d9768a0ceaed4 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Wed, 7 Apr 2004 22:35:21 +0000 Subject: [PATCH] Fix cross build problems for --target=ia64-linux-gnu. --- gdb/ChangeLog | 5 +++++ gdb/ia64-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4300eca34ab..dca779ee217 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-04-07 Kevin Buettner + + * 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 8defe3b377e..3bc812927db 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 -- 2.30.2