From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66170 invoked by alias); 6 Feb 2020 13:19:50 -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 66159 invoked by uid 89); 6 Feb 2020 13:19:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=H*F:D*gmx.com X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Feb 2020 13:19:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1580995178; bh=qTXVl9KQi9Xt3h1Kaum5tH2ya9ItpM6JemvHBjK5m2Y=; h=X-UI-Sender-Class:To:Cc:References:From:Subject:Date:In-Reply-To; b=CulyR6L5G+qLt1PZ3v/HOAl5t6c9ivXTfE8V2AX0ec1rcXb4U9S0GYZsP95Nq7bgn bJS4AjL1at/sl5st6vcGJlL2eJURGzTsmKpEa1jdr85VYu8VFFAS9RyGwX8mQnLzsZ dTJwsaZsE2XMxte+t/APhTJCm6CYNt1GE/VDPfhg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.0.241] ([89.71.135.231]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MsYqv-1jpKTp2fLX-00ty4p; Thu, 06 Feb 2020 14:19:38 +0100 To: Christian Biesinger Cc: gdb-patches References: <20200124141458.171392-3-cbiesinger@chromium.org> <20200124141818.172490-1-cbiesinger@chromium.org> <2afe5687-5be2-7650-d4e3-3aceed3f68f2@gmx.com> <7432896e-39ec-4a99-cc07-77c684b71644@gmx.com> <8126c811-3416-a4d4-5a01-17776b0df999@gmx.com> <7a00a471-ab23-a235-d9bb-1d5d574bdacd@gmx.com> From: Kamil Rytarowski Subject: Re: [PATCH 2/3 v2] Define _KMEMUSER in arm-nbsd-nat.c Message-ID: <91f2cc41-60ea-5936-73a5-3e16ac91c7e6@gmx.com> Date: Thu, 06 Feb 2020 13:19:00 -0000 User-Agent: Mozilla/5.0 (X11; NetBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="R8zaMcxPEy4Ibd63mcvF7D3GjId7Jj0O3" X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00129.txt.bz2 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --R8zaMcxPEy4Ibd63mcvF7D3GjId7Jj0O3 Content-Type: multipart/mixed; boundary="TrU872p0xXbxm2Mj8tp34eApLZnrMKZPc"; protected-headers="v1" From: Kamil Rytarowski To: Christian Biesinger Cc: gdb-patches Message-ID: <91f2cc41-60ea-5936-73a5-3e16ac91c7e6@gmx.com> Subject: Re: [PATCH 2/3 v2] Define _KMEMUSER in arm-nbsd-nat.c References: <20200124141458.171392-3-cbiesinger@chromium.org> <20200124141818.172490-1-cbiesinger@chromium.org> <2afe5687-5be2-7650-d4e3-3aceed3f68f2@gmx.com> <7432896e-39ec-4a99-cc07-77c684b71644@gmx.com> <8126c811-3416-a4d4-5a01-17776b0df999@gmx.com> <7a00a471-ab23-a235-d9bb-1d5d574bdacd@gmx.com> In-Reply-To: --TrU872p0xXbxm2Mj8tp34eApLZnrMKZPc Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Content-length: 2335 On 27.01.2020 13:38, Christian Biesinger via gdb-patches wrote: > On Fri, Jan 24, 2020 at 5:37 PM Kamil Rytarowski wrote: >> >> On 24.01.2020 17:01, Christian Biesinger wrote: >>> On Fri, Jan 24, 2020 at 4:49 PM Kamil Rytarowski wrote: >>>> >>>> On 24.01.2020 16:35, Christian Biesinger via gdb-patches wrote: >>>>> On Fri, Jan 24, 2020 at 4:23 PM Kamil Rytarowski wrote: >>>>>> >>>>>> On 24.01.2020 15:53, Christian Biesinger via gdb-patches wrote: >>>>>>> Hi Kamil, >>>>>>> >>>>>>> I have a related question. NetBSD applied this patch: >>>>>>> https://www.mail-archive.com/tech@openbsd.org/msg44100.html >>>>>>> >>>>>> >>>>>> Is this the right link? >>>>> >>>>> Yeah -- that patch changes a system header at the top and patches GDB >>>>> at the bottom. >>>>> >>>> >>>> This is not a change in NetBSD, so it is unrelated. >>> >>> My apologies, I completely misread that. I'll see if I can find where >>> NetBSD changed their FP register data structure, or perhaps your >>> downstream patch will still work (although that probably has to come >>> from one of y'all for copyright reasons?) >>> >> >> Please cherry-pick what you need and I will find the original author. >> Many people in NetBSD have FSF papers done. >=20 > Thanks. I think this patch would probably be the most important since > it fixes a compile error: > https://github.com/NetBSD/pkgsrc-wip/blob/master/gdb-netbsd/patches/patch= -gdb_arm-nbsd-nat.c >=20 > However, I don't understand why arm_netbsd_core_fns / > fetch_core_registers was added. As far as I can tell, because that > struct uses bfd_target_unknown_flavour and default_core_sniffer, it > will never be used. >=20 > Christian >=20 This looks like a leftover after a.out. It was removed upstream and we by a mistake keep it locally as a local modification. commit 1736a7bd96e8927c3f889a35f9153df4fd19d833 Author: Pedro Alves Date: Fri Dec 9 16:08:49 2016 +0000 gdb: Remove support for obsolete OSABIs and a.out gdb/ChangeLog: 2016-12-09 Pedro Alves a.out should be removed. We switched to ELF back in NetBSD 1.6/2.0 and don't have toolchain for it. We still support running old a.out binaries and plan to do it in foreseeable future, but attaching a debugger to these processes is not our priority. --TrU872p0xXbxm2Mj8tp34eApLZnrMKZPc-- --R8zaMcxPEy4Ibd63mcvF7D3GjId7Jj0O3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEELaxVpweEzw+lMDwuS7MI6bAudmwFAl48EjYACgkQS7MI6bAu dmwY8hAAipaYYO7UoGPyywufGB4RrQD8bTqddDHvIti2NAQx/1SZZhrS4QLxuph8 L95ozckGonz4x/COkyG75ht8DITUE7mpONSzAKU9pef1U3lwvLRoRIzuz42gz32x +Th7HREJeKehX/hgDyzwF3jOwaE0Ul5D+imMkCWYBk8Chflk//keop6jn8X60+18 z0RKVDtNrBxgcKIjZb04Szkgrqbz+o2YIkeMXR2qLmKB1QpXP9WAHs3hGsBeDLLz gCEQH6+h9mmbfmgs0Z6tMuIH6hzY3QB+WV+nIYDJWsrDSUF9JSZCBWbYYWmjG2Lw ZJYPZJbLDD9s6C6fowUfqRSH6AzQBQKv6fVRYbEVMjza1oqWsyrQ5lfd0LlMUEdu usY6KNJIQ5MfAIPESUnLUZtWuYUfun25ZVZDmGQMNFuU+rC+4vgtsZxeLzxcRx8v pLbHjuC7YCGgnRturxfvkGWWPdEMULc7vdHmE0rGLLg/uZvwtAi1zISWJHbLvbYO Wmx4BQ4PQH0cyI1MsvG5BOaHy7d/L4G/KgCU5bxY5obW3EkH8QXhj6Mbdx8n97GY GEzmbjLuXlgRM11v8IZiWuMSnN0l30UBVvOWat68gftnGQRfvxkgE3GSPebwNNK2 YJBmlh8SwZLlpZiTtRYDDds4yppmkyjl96mW6Vdox7v6a5Aua2M= =u8YV -----END PGP SIGNATURE----- --R8zaMcxPEy4Ibd63mcvF7D3GjId7Jj0O3--