This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix cross build problems for ia64-linux-gnu
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 7 Apr 2004 15:38:48 -0700
- Subject: [PATCH] Fix cross build problems for ia64-linux-gnu
- Organization: Red Hat
I've just committed the patch below. It fixes problems with building
a cross ia64-linux-gnu target.
* ia64-tdep.c (elf.h): Don't include.
(elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include.
Index: ia64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.118
diff -u -p -r1.118 ia64-tdep.c
--- ia64-tdep.c 23 Mar 2004 14:47:56 -0000 1.118
+++ ia64-tdep.c 7 Apr 2004 22:30:56 -0000
@@ -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