From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20295 invoked by alias); 19 Apr 2010 23:41:42 -0000 Received: (qmail 20283 invoked by uid 22791); 19 Apr 2010 23:41:42 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Apr 2010 23:41:37 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3JNfUtE099037 ; Tue, 20 Apr 2010 01:41:30 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms1.u-strasbg.fr [IPv6:2001:660:2402:d::10]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id o3JNfUEK051171 ; Tue, 20 Apr 2010 01:41:30 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from d620muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3JNfTEs043481 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Tue, 20 Apr 2010 01:41:29 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Pedro Alves'" Cc: References: <001501cae013$e3e53410$abaf9c30$@muller@ics-cnrs.unistra.fr> <201004200030.23956.pedro@codesourcery.com> In-Reply-To: <201004200030.23956.pedro@codesourcery.com> Subject: RE: [RFA] [3/4] Mingw64 gdbserver support Date: Mon, 19 Apr 2010 23:41:00 -0000 Message-ID: <001e01cae019$df74abd0$9e5e0370$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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: 2010-04/txt/msg00591.txt.bz2 > -----Message d'origine----- > De=A0: Pedro Alves [mailto:pedro@codesourcery.com] > Envoy=E9=A0: Tuesday, April 20, 2010 1:30 AM > =C0=A0: Pierre Muller > Cc=A0: gdb-patches@sourceware.org > Objet=A0: Re: [RFA] [3/4] Mingw64 gdbserver support >=20 > On Monday 19 April 2010 23:58:55, Pierre Muller wrote: > > gdbserver/configure.srv part of the patch. > > > > > > > > Pierre Muller > > Pascal language support maintainer for GDB > > > > 2010-04-19 Pierre Muller > > > > * configure.srv (x86_64-*-mingw*): New configuration for > Windows > > 64-bit executables. >=20 > Weren't you going to s/x86_64-w64-mingw/x86_64-*-mingw/ ? The > ChangeLog > mentions the latter, but the patch does the former. Whooops, sorry for this. =20 > > Set srv_mingw64 variable to `yes'. >=20 > Why is this needed? I don't see anywhere in the patch series > using it. Wasn't this needed in the older version to have configure.ac > link with -lws2_32 for this config only, but it's not needed anymore? You are perfectly right. Still simpler! 2010-04-19 Pierre Muller * configure.srv (x86_64-*-mingw*): New configuration for Windows=20 64-bit executables. Index: gdbserver/configure.srv =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/gdbserver/configure.srv,v retrieving revision 1.54 diff -u -p -r1.54 configure.srv --- gdbserver/configure.srv 19 Apr 2010 14:08:05 -0000 1.54 +++ gdbserver/configure.srv 19 Apr 2010 22:42:53 -0000 @@ -231,6 +231,12 @@ case "${target}" in srv_linux_regsets=3Dyes srv_linux_thread_db=3Dyes ;; + x86_64-*-mingw*) srv_regobj=3D"$srv_amd64_regobj" + srv_tgtobj=3D"i386-low.o i387-fp.o win32-low.o win32-i386-low.o" + srv_xmlfiles=3D"$srv_i386_xmlfiles $srv_amd64_xmlfiles" + srv_mingw=3Dyes + ;; + xscale*-*-linux*) srv_regobj=3Dreg-arm.o srv_tgtobj=3D"linux-low.o linux-arm-low.o" srv_linux_usrregs=3Dyes