From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21199 invoked by alias); 7 Apr 2004 22:39:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21181 invoked from network); 7 Apr 2004 22:38:56 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 7 Apr 2004 22:38:56 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i37MctWB006956 for ; Wed, 7 Apr 2004 18:38:55 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i37Mcsj22300 for ; Wed, 7 Apr 2004 18:38:54 -0400 Received: from localhost.localdomain (vpn50-1.rdu.redhat.com [172.16.50.1]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i37McsnM022515 for ; Wed, 7 Apr 2004 18:38:54 -0400 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i37McmOR010967 for ; Wed, 7 Apr 2004 15:38:48 -0700 Date: Wed, 07 Apr 2004 22:39:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: [PATCH] Fix cross build problems for ia64-linux-gnu Message-Id: <20040407153848.292af374@saguaro> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00184.txt.bz2 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