From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13918 invoked by alias); 16 Dec 2011 15:17:09 -0000 Received: (qmail 13905 invoked by uid 22791); 16 Dec 2011 15:17:08 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT,TW_DB,TW_SM X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.156) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Dec 2011 15:16:55 +0000 Received: from md2.u-strasbg.fr (md2.u-strasbg.fr [IPv6:2001:660:2402::187]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id pBGFGp7E007796 ; Fri, 16 Dec 2011 16:16:51 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms1.u-strasbg.fr [130.79.204.10]) by md2.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id pBGFGpZ2003610 ; Fri, 16 Dec 2011 16:16:51 +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 pBGFGnSZ021007 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Fri, 16 Dec 2011 16:16:51 +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> In-Reply-To: <4EEB56CE.6050908@gmail.com> Subject: RE: [windows mingw]gdb cvs head build error in windows-nat.c Date: Fri, 16 Dec 2011 15:17:00 -0000 Message-ID: <004501ccbc05$bc014540$3403cfc0$@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-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: 2011-12/txt/msg00513.txt.bz2 > -----Message d'origine----- > De : gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la part > 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 >=20 > 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.=20 > This patch should fix the build error. >=20 > gdb/windows-nat.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) Any small patch that resolves a build failure=20 (especially for a native target) should be considered as obvious and can thus be applied without=20 the need to wait for approval by a global maintainers. But the patch should probably be sent to gdb-patches mailing list together with the used ChangeLog entry. Pierre Muller =20 > diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c > index b4529bd..99157b8 100644 > --- a/gdb/windows-nat.c > +++ b/gdb/windows-nat.c > @@ -172,8 +172,10 @@ static int windows_thread_alive (struct target_ops *, > ptid_t); > static void windows_kill_inferior (struct target_ops *); >=20 > static void cygwin_set_dr (int i, CORE_ADDR addr); > +static CORE_ADDR cygwin_get_dr (int i); > static void cygwin_set_dr7 (unsigned long val); > static unsigned long cygwin_get_dr6 (void); > +static unsigned long cygwin_get_dr7 (void); >=20 > static enum target_signal last_sig =3D TARGET_SIGNAL_0; > /* Set if a signal was received from the debugged process. */ >=20 >=20 > asmwarrior > ollydbg from codeblocks' forum