From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15834 invoked by alias); 16 Dec 2011 17:16:55 -0000 Received: (qmail 15812 invoked by uid 22791); 16 Dec 2011 17:16:50 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT,TW_SM X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Dec 2011 17:16:37 +0000 Received: from md1.u-strasbg.fr (md1.u-strasbg.fr [IPv6:2001:660:2402::186]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id pBGHGXRs015426 ; Fri, 16 Dec 2011 18:16:33 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms4.u-strasbg.fr [130.79.204.13]) by md1.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id pBGHGXgs062309 ; Fri, 16 Dec 2011 18:16:33 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id pBGHGWOB007075 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Fri, 16 Dec 2011 18:16:33 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'asmwarrior'" , Cc: "'gdb-patches'" References: <4EEB53E4.3070207@gmail.com> <4EEB56CE.6050908@gmail.com> <004501ccbc05$bc014540$3403cfc0$@muller@ics-cnrs.unistra.fr> In-Reply-To: <004501ccbc05$bc014540$3403cfc0$@muller@ics-cnrs.unistra.fr> Subject: RE: [windows mingw]gdb cvs head build error in windows-nat.c Date: Fri, 16 Dec 2011 17:16:00 -0000 Message-ID: <000001ccbc16$74bae6d0$5e30b470$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00035.txt.bz2 > -----Message d'origine----- > De : gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la part > de Pierre Muller > Envoy=C3=A9 : vendredi 16 d=C3=A9cembre 2011 16:17 > =C3=80 : 'asmwarrior'; gdb@sourceware.org > Cc : 'gdb-patches' > Objet : RE: [windows mingw]gdb cvs head build error in windows-nat.c >=20 >=20 >=20 > > -----Message d'origine----- > > De : gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la p= art > > de asmwarrior > > Envoy=C3=A9 : vendredi 16 d=C3=A9cembre 2011 15:34 > > =C3=80 : gdb@sourceware.org > > Objet : Re: [windows mingw]gdb cvs head build error in windows-nat.c > > > > On 2011-12-16 22:21, asmwarrior wrote: > > > I build under MSYS+mingw > > > Here is the build error: > I confirm that this build failure also exists for cygwin native build. > > This patch should fix the build error. > > > > gdb/windows-nat.c | 2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) >=20 > Any small patch that resolves a build failure > (especially for a native target) should be considered > as obvious and can thus be applied without > the need to wait for approval by a global maintainers. >=20 > But the patch should probably be sent to > gdb-patches mailing list together with the used ChangeLog entry. I realized that I was assuming that you had write access to gdb cvs direc= tory... If this is not the case, I can commit the change for you, just tell me under which name you would like to be acknowledged in the Chan= geLog or if the below is OK for you. Pierre Muller ChangeLog entry: 2011-12-16 Pierre Muller (obvious fix) From asmwarrior =09 * windows-nat.c (cygwin_get_dr, cygwin_get_dr7): Add missing prototypes. Index: windows-nat.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/windows-nat.c,v retrieving revision 1.221 diff -u -p -r1.221 windows-nat.c --- windows-nat.c 14 Dec 2011 17:20:31 -0000 1.221 +++ windows-nat.c 16 Dec 2011 17:12:25 -0000 @@ -173,7 +173,9 @@ static void windows_kill_inferior (struc static void cygwin_set_dr (int i, CORE_ADDR addr); static void cygwin_set_dr7 (unsigned long val); +static CORE_ADDR cygwin_get_dr (int i); static unsigned long cygwin_get_dr6 (void); +static unsigned long cygwin_get_dr7 (void); static enum target_signal last_sig =3D TARGET_SIGNAL_0; /* Set if a signal was received from the debugged process. */