From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16502 invoked by alias); 1 Feb 2012 09:27:57 -0000 Received: (qmail 16492 invoked by uid 22791); 1 Feb 2012 09:27:56 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Feb 2012 09:27:43 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 9EE9C29003A; Wed, 1 Feb 2012 10:27:42 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jKCvHB1NO-Mw; Wed, 1 Feb 2012 10:27:42 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 8B0DF290039; Wed, 1 Feb 2012 10:27:42 +0100 (CET) Subject: Re: [PATCH] Fix Darwin build error Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Tristan Gingold In-Reply-To: Date: Wed, 01 Feb 2012 09:27:00 -0000 Cc: gdb-patches@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <7E2379BB-9874-46D0-9DD1-BF7FABFE63BD@adacore.com> References: To: Josh Matthews X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00001.txt.bz2 On Jan 31, 2012, at 9:18 PM, Josh Matthews wrote: > Darwin is busted again. Here's a fix. Ok (and obvious). Tristan. >=20 > Cheers, > Josh >=20 > diff --git a/gdb/ChangeLog b/gdb/ChangeLog > index daf970c..105e6e5 100644 > --- a/gdb/ChangeLog > +++ b/gdb/ChangeLog > @@ -1,3 +1,8 @@ > +2012-01-31 Josh Matthews > + > + Fix build error in Darwin port. > + * i386-darwin-nat.c: Include i386-nat.h. > + > 2012-01-31 Tom Tromey >=20 > * language.h (struct language_defn) : Fix > diff --git a/gdb/i386-darwin-nat.c b/gdb/i386-darwin-nat.c > index 12e2e65..a4f11e0 100644 > --- a/gdb/i386-darwin-nat.c > +++ b/gdb/i386-darwin-nat.c > @@ -19,6 +19,7 @@ > along with this program. If not, see . = */ >=20 > #include "defs.h" > +#include "i386-nat.h" > #include "frame.h" > #include "inferior.h" > #include "target.h"