[PATCH] Fix cross build problems for ia64-linux-gnu

Kevin Buettner kevinb@redhat.com
Wed Apr 7 22:39:00 GMT 2004


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



More information about the Gdb-patches mailing list