From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22543 invoked by alias); 12 Mar 2012 15:23:31 -0000 Received: (qmail 22526 invoked by uid 22791); 12 Mar 2012 15:23:29 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TVD_SUBJ_NUM_OBFU_MINFP X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Mar 2012 15:23:15 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 0255C1C67B2; Mon, 12 Mar 2012 11:23:13 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PhYilVHKd5XL; Mon, 12 Mar 2012 11:23:13 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id B63771C67AF; Mon, 12 Mar 2012 11:23:13 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id EE169145615; Mon, 12 Mar 2012 08:23:07 -0700 (PDT) Date: Mon, 12 Mar 2012 15:23:00 -0000 From: Joel Brobecker To: Mark Kettenis Cc: andreast-list@fgznet.ch, gdb-patches@sourceware.org Subject: Re: [patch] fix amd64bsd-nat.c compilation Message-ID: <20120312152307.GA17806@adacore.com> References: <4F5CC12B.8080707@fgznet.ch> <20120312050232.GI2853@adacore.com> <201203120755.q2C7tB6O005959@glazunov.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <201203120755.q2C7tB6O005959@glazunov.sibelius.xs4all.nl> User-Agent: Mutt/1.5.20 (2009-06-14) 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-03/txt/msg00402.txt.bz2 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 369 > > > 2012-03-11 Andreas Tobler > > > > > > * amd64bsd-nat.c: Include amd64bsd-nat.h > > > > Looks good to me. Please go ahead and commit. > > But when you do, please include amd64bsd-nat.h after amd64-nat.h > instead of before. Sorry, Mark. Here is the fix I just applied. I couldn't verify that it builds, but it should be safe. -- Joel --82I3+IH0IqGh5yIs Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-amd64bsd-nat.c-Move-amd64bsd-nat.h-include.patch" Content-length: 1188 >From d70ca0de856042535c1f623c886b1a10d130aa3e Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 12 Mar 2012 08:19:06 -0700 Subject: [PATCH] amd64bsd-nat.c: Move "amd64bsd-nat.h" include... ... after include of "amd64-nat.h". gdb/ChangeLog: * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after include of "amd64-nat.h". --- gdb/ChangeLog | 5 +++++ gdb/amd64bsd-nat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e4d1453..98d380e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-03-12 Joel Brobecker + + * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after + include of "amd64-nat.h". + 2012-03-12 Tom Tromey * buildsym.c (record_pending_block): Now static. diff --git a/gdb/amd64bsd-nat.c b/gdb/amd64bsd-nat.c index 5684a01..83e7ec2 100644 --- a/gdb/amd64bsd-nat.c +++ b/gdb/amd64bsd-nat.c @@ -31,8 +31,8 @@ #include #include "amd64-tdep.h" -#include "amd64bsd-nat.h" #include "amd64-nat.h" +#include "amd64bsd-nat.h" #include "inf-ptrace.h" -- 1.7.1 --82I3+IH0IqGh5yIs--