From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19756 invoked by alias); 3 Sep 2013 13:09:32 -0000 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 Received: (qmail 19747 invoked by uid 89); 3 Sep 2013 13:09:31 -0000 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Sep 2013 13:09:31 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_THREADED,RDNS_NONE,SPF_HELO_FAIL autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1VGqMH-0000u7-1L from Thomas_Schwinge@mentor.com ; Tue, 03 Sep 2013 06:09:25 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Sep 2013 06:09:25 -0700 Received: from feldtkeller.schwinge.homeip.net (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Tue, 3 Sep 2013 14:09:23 +0100 From: Thomas Schwinge To: Pedro Alves , Yue Lu CC: gdb-patches , Luis Machado , Subject: Re: [PATCH 1/2] Port gdbserver to GNU/Hurd In-Reply-To: <5225C3C6.8090101@redhat.com> References: <87txi2i6t6.fsf@kepler.schwinge.homeip.net> <5225C3C6.8090101@redhat.com> User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (i486-pc-linux-gnu) Date: Tue, 03 Sep 2013 13:09:00 -0000 Message-ID: <877geyhx1j.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2013-09/txt/msg00070.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1074 Hi! On Tue, 03 Sep 2013 12:11:02 +0100, Pedro Alves wrote: > On 09/03/2013 10:38 AM, Thomas Schwinge wrote: > > [strategy] >=20 > I've been thinking about this this morning, after seeing these > patches. >=20 > For new gdbserver ports, this path just seems to swim further away from > a full sharing approach, by adding lots duplication as first step, [...] > So my idea would be, [...] Understood, and yes, your argumentation is reasonable. > I'd do this [by] > literally moving gdbserver/gnu-low.c on top of gdb/gnu-nat.c (etc.), and > use git diff to guide me through, in identifying what would need to > be restored, and guarded with #if[n]def GDBSERVER. [...] Yes, that's a nice technique for displaying and integrating the differences between the existing Hurd native port's files and the new gdbserver port's. Yue, does the approach of diffing the files as Pedro described make sense to you? Please tell if you need help with how to use Git to do that, etc. > Could we try that approach? Thanks for the input! Gr=C3=BC=C3=9Fe, Thomas --=-=-= Content-Type: application/pgp-signature Content-length: 489 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJSJd95AAoJEGe3hdm9kOiilykIAKfK8FNAzZKsEUH9f/3IPF8a SQ9gxeyuKcgCwC/1cFF21a0iFGvfDGyrOBe9OHtP7VerAZMntoM8mJQJG2vR5+WE zYKnqYr/+CZ9dtd5XBaup899mJZpL1rO3mfKC4RnHpgwpLWppGNpxYc5qdX96jb0 bVKga7F5cprOgifkifPnFN7ROBLC3lz9A2gAXM/zoTm3O8ushfvJd5DY8Pxi7w5w UxiAVfn5SLX24hth6VOHH97KfP+jfTkPm3YSu73sulwCx8ZtvNyWyOmO1TN8lAIh xXN40c/wYy5B5zYRatryF5lwpv5nQVaWqcTptOYn6cAmZx/rw2d1/FM3EP36WFU= =ArkE -----END PGP SIGNATURE----- --=-=-=--