From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73802 invoked by alias); 18 Apr 2018 01:51:18 -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 73724 invoked by uid 89); 18 Apr 2018 01:51:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=you! X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Apr 2018 01:51:16 +0000 Received: from [192.168.0.241] ([89.78.252.225]) by mail.gmx.com (mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MRSeC-1f23lV0fJg-00Scll; Wed, 18 Apr 2018 03:51:01 +0200 Subject: Re: [PATCH 31/40] target_ops/C++: Base FreeBSD target To: John Baldwin , Pedro Alves Cc: gdb-patches@sourceware.org References: <20180414190953.24481-1-palves@redhat.com> <2651054.rGX2nUqyEc@ralph.baldwin.cx> <4c3b320e-ecbe-4e97-9ee4-91cacca60b8d@redhat.com> <2336080.G2aX46TNlR@ralph.baldwin.cx> From: Kamil Rytarowski Message-ID: <703fc9f9-e395-e66f-0d81-a1cea3c7a87f@gmx.com> Date: Wed, 18 Apr 2018 01:51:00 -0000 User-Agent: Mozilla/5.0 (X11; NetBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <2336080.G2aX46TNlR@ralph.baldwin.cx> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="g0WhDosRhDemmUxbgeTgQ5AMRGwMD0I86" X-UI-Out-Filterresults: notjunk:1;V01:K0:hFnLmAzIaV0=:RzwfMGOwtTPIsKzCEksLKN 0aO7dWJ+fwDJQJ4nwHay5F86J8EeDe51SnFa+mWmGGGmP183X/ubDSkGDlCekeZn7u1868miG IEkaebnVNWBnZj+0U3MMWlwe8xrkgc+8pZDwlN5fymP/IqcIumnhxw6BMZN0lgSKoap5vqgIG +jg5mP+fPmtLXOvBcJicKDu1wolBnEtXhwLIVqVgrF57MsGebPcXT+Fwhwq1pv3naUqnC9ggQ X42aWlG7tU8Hjt6hKDzS6RumzIqhDquOqz5lyS+zUaQxOoWfnU9Azbq+K6puxxBAWtyVXCT3p vmjSejUkLPxuxDslmx82KdHvxAG8fp79gCF05VTDlyW75EcWYKVwRMdepkbso8KxjY/KcCJEk lUEZ8WW3FNCqe9hNrp3+PZpUKsUWrHFpOUPYEgWhOcKEz/YKWN/8EjqtHwEwGyJAXPG8/VsVN 3Xe9rsGvIONHAaUWyDLfTagHuR/Flz4NGFTjGw7zLNmss/7VZ95ENy6GQ8hd9/x666MHByFMC lmVD89J/i667+VM9NEy/S3zgouf+PL9dPXmbUElmRhvEhfdTyGiCmhBAaUvbfCYJjMil/R+ff 49fBUVSeowXg8Ss2yn/QvJ7QOd/Q0WIMJ0gUCkVX1jpt1EbeSqwMXjRXPlMTiDfaNNkqOpPQI ua+0dvhXCLp3Atr5UeNcK76+1+1/1zpbTJ2TEdLIXcdDkiZFVkK7PAO8kgqbdsg51DRcsaZBS x/K4HWR7/I9BMHy/wiye2Y2aiwOqhoSO29nN0VSM7fnwX1+aw5hQkikut0kmSCFEC0IJ9zeIN PhKwNPJ5psl7aX4Qy3txP+laEdYGg== X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00361.txt.bz2 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --g0WhDosRhDemmUxbgeTgQ5AMRGwMD0I86 Content-Type: multipart/mixed; boundary="7K2GUtf8mR799636Jxl5K2mEgPuKuKLA5"; protected-headers="v1" From: Kamil Rytarowski To: John Baldwin , Pedro Alves Cc: gdb-patches@sourceware.org Message-ID: <703fc9f9-e395-e66f-0d81-a1cea3c7a87f@gmx.com> Subject: Re: [PATCH 31/40] target_ops/C++: Base FreeBSD target References: <20180414190953.24481-1-palves@redhat.com> <2651054.rGX2nUqyEc@ralph.baldwin.cx> <4c3b320e-ecbe-4e97-9ee4-91cacca60b8d@redhat.com> <2336080.G2aX46TNlR@ralph.baldwin.cx> In-Reply-To: <2336080.G2aX46TNlR@ralph.baldwin.cx> --7K2GUtf8mR799636Jxl5K2mEgPuKuKLA5 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Content-length: 1568 On 18.04.2018 02:37, John Baldwin wrote: > On Tuesday, April 17, 2018 06:07:37 PM Pedro Alves wrote: >> On 04/17/2018 05:05 PM, John Baldwin wrote: >>> On Saturday, April 14, 2018 08:09:44 PM Pedro Alves wrote: >>>> The >>>> >>>> $architecture x NetBSD/OpenBSD/FreeBSD >>>> >>>> support matrix complicates things a bit. There's common BSD target >>>> code, and there's common architecture-specific code shared between the >>>> different BSDs. Current, all that is stiched together to form a final >>>> target, via the i386bsd_target, x86bsd_target, fbsd_nat_add_target >>>> functions etc. >>>> >>>> Introduces a fbsd_nat_target base/prototype target. To be used in >>>> following patches. >>> >>> I will do some tests of FreeBSD/amd64 first and let you know what I fin= d. >> >> Thank you! >=20 > I've pushed a target_ops-cxx branch to github.com/bsdjhb/gdb.git that has > some small fixups (compile fixes). I've built the amd64, i386, arm, and > aarch64 FreeBSD native targets so far. Simple testing of the the amd64 > and i386 binaries seems to work, but I encountered a new test failure > in the testsuite for FreeBSD/amd64 that is a bit odd. In particular, > I get a core dump running 'info set' when it tries to display the > current setting of whether ASLR is disabled. Looking at the core of gdb: >=20 I've checked this branch on NetBSD/amd64 8.99.7 (target_ops-cxx github.com/bsdjhb/gdb.git). It builds and it's not fully functional.. perhaps not much different to previous versions, for I'm not going to open new threads and focus on kernel fixes. --7K2GUtf8mR799636Jxl5K2mEgPuKuKLA5-- --g0WhDosRhDemmUxbgeTgQ5AMRGwMD0I86 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 850 -----BEGIN PGP SIGNATURE----- iQJABAEBCAAqFiEELaxVpweEzw+lMDwuS7MI6bAudmwFAlrWpPsMHG41NEBnbXgu Y29tAAoJEEuzCOmwLnZsVU0QAIwqKj01ZkoyvXGuFf+aOKhsY++Li2AM7z2x6Kvd +JkDw92E1EUsWg22Ud/K3jNVJd4a8X6qi+A+u5SWagWtGKpZJhxZiE1t5+Ppxpe5 ebs9xclmK1b2EhYBqRQJrPNdJqEMwruLkfYp/vNCMX8y1IFWsANA8z4w89OWmVgJ 0ColBPHhgff5zpRwHj8aZAXTXH5PfnjMfEt2AgWld6NaEaXZ5j7gu8KesdFgq2ev C0ro0EcD8q2iQIxIUDIQYgNqZcMVx4pjJrb9slxIlVz197v6mKXBCl4yBktzIy3r S+ceYoZtzxnCQ0una22r+t8S91lFeJrsCfvMVn4EMgSMgEkZMiPoRcjryMCaCizt t/3GMlbaZx2vSI0Iok6+ImukyqHuzj6NmhJEnziugw/jPlfBjQ2bnZOoTOKl02vX Aq6tHst5bz4RbxfrN7QCr0A2XQlbqLKPs8H0+A3FaOjpG53n/VTNBn6IDipamqCD Ek3Eav3Kv5bBChmep/8cFmQBgNES5Y1CIkso5sA6R3MpiQpSECNQY8HCe4wgV6PG 2UEL4WdBNSD9aDfPdy2Wgfjeb8rgfUyXxnm5IlHsL2r/8tcSguA0i2CequX5w8rB pZAyfqqqPLHA0kc+/s6/5rsqSrVk0rQUjKX80m5AZjUrCqyZ+OtipDDu096PWQNZ 7pjW =Ut3W -----END PGP SIGNATURE----- --g0WhDosRhDemmUxbgeTgQ5AMRGwMD0I86--