From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25305 invoked by alias); 5 Mar 2012 19:07:08 -0000 Received: (qmail 25294 invoked by uid 22791); 5 Mar 2012 19:07:06 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 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, 05 Mar 2012 19:06:46 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CAD191C67C4; Mon, 5 Mar 2012 14:06:45 -0500 (EST) 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 WR1yRRF3hEKS; Mon, 5 Mar 2012 14:06:45 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 2C0C21C67C3; Mon, 5 Mar 2012 14:06:45 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id D30AD145615; Mon, 5 Mar 2012 11:06:42 -0800 (PST) Date: Mon, 05 Mar 2012 19:07:00 -0000 From: Joel Brobecker To: Andreas Arnez Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] s390-nat.c: Fix missing prototypes Message-ID: <20120305190642.GJ2853@adacore.com> References: <8762ejrlqv.fsf@vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <8762ejrlqv.fsf@vnet.ibm.com> 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/msg00157.txt.bz2 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 324 > Tested on s390x-ibm-linux with no regressions, fixes a > -Wmissing-prototypes build failure. > > gdb/ > 2012-03-05 Andreas Arnez > > * s390-nat.c: Include "gregset.h". Thanks! Attached is what I committed for you. I dropped the comment, since I felt it was completely redundant. -- Joel --MGYHOYXEY6WxJCY8 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-Include-gregset.h-in-s390-nat.c-Wmissing-prototypes.patch" Content-length: 1068 >From 1063f42f816c3877e5e0ebdcd4500a7ec0c2820f Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 5 Mar 2012 11:04:04 -0800 Subject: [PATCH] Include "gregset.h" in s390-nat.c (-Wmissing-prototypes). gdb/ChangeLog: * s390-nat.c: Include "gregset.h". --- gdb/ChangeLog | 5 +++++ gdb/s390-nat.c | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2da944d..c2d0c59 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-03-05 Joel Brobecker + + From Andreas Arnez : + * s390-nat.c: Include "gregset.h". + 2012-03-05 Jan Kratochvil * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8. diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c index 2755e58..bad1b43 100644 --- a/gdb/s390-nat.c +++ b/gdb/s390-nat.c @@ -26,6 +26,7 @@ #include "target.h" #include "linux-nat.h" #include "auxv.h" +#include "gregset.h" #include "s390-tdep.h" #include "elf/common.h" -- 1.7.1 --MGYHOYXEY6WxJCY8--