From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28813 invoked by alias); 14 Dec 2010 15:10:31 -0000 Received: (qmail 28799 invoked by uid 22791); 14 Dec 2010 15:10:30 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Dec 2010 15:10:25 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 94C921B4198; Tue, 14 Dec 2010 15:10:23 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: Re: [PATCH v2] gdbserver: bfin: new port Date: Tue, 14 Dec 2010 15:10:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.37-rc5; KDE/4.5.2; x86_64; ; ) Cc: Andrew Stubbs , Pedro Alves , toolchain-devel@blackfin.uclinux.org, Daniel Jacobowitz References: <1291886957-12003-1-git-send-email-vapier@gentoo.org> <201012131843.59666.pedro@codesourcery.com> <4D073ADF.9020205@codesourcery.com> In-Reply-To: <4D073ADF.9020205@codesourcery.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4508623.6VGqlU5LAx"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201012141009.44333.vapier@gentoo.org> X-IsSubscribed: yes 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-12/txt/msg00229.txt.bz2 --nextPart4508623.6VGqlU5LAx Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-length: 1369 On Tuesday, December 14, 2010 04:37:35 Andrew Stubbs wrote: > On 13/12/10 18:43, Pedro Alves wrote: > > Hmmm. These last 6 look to be some kind of pseudo registers, not > > part of the ISA -- I'm quite surprised to see these here, as > > part of the bfin core register set. I understand these to be > > fdpic related; ISTR some discussion about making these be reported > > with a new qXfer object? That'd be better, IMO. >=20 > Right, the SH-2A FDPIC implementation uses qXfer to deal with the FDPIC > settings. The SG++ gdb has a (more-or-less) target independent mechanism > for retrieving the load maps. This has not been submitted upstream > simply because it's not complete. The SH-2A FDPIC kernel does (did) not > support breakpoints, and single stepping is (was) rather broken, so I > never got further than being able to relocate the main program. >=20 > For SH-2A, at least, the kernel does not expose the load maps as > registers, but has extra ptrace queries PTRACE_GETFDPIC_EXEC and > PTRACE_GETFDPIC_INTERP. >=20 > The gdbserver reads these via qXfer:fdpic:read:exec and > qXfer:fdpic:read:interp. but the SuperH/FDPIC port is still out of tree right ? so i cant review it= to=20 see if i can leverage it ... if the gdbserver code can remain backwards compatible with the Linux ABI, t= hen=20 i dont have a problem changing to a qXfer style. -mike --nextPart4508623.6VGqlU5LAx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAABAgAGBQJNB4i4AAoJEEFjO5/oN/WBlIYQAKv/4nuxo6GZeWtZE/3KDg4v n8eBj6dRrW4mE3eqEmcxxsqepXHEDyKqm9SqcvWkpL0wyhU4RniqGTqLoPtO9RvE jb5a8bgrpkjdE5jwIzqelbJWdREzq3Nt0BjfHAHLzLgWY2rKEash2p+UTjUvsk4B NwCtX9IikD5XRtSQ3yktfMXa3JZ5ufOFzs50asxUx8xlxRh5tnnRGcT1s6CxAfpp enBPTFiT+3nnMfPS19lFiTr7m4PEUt6LRsboOFFQGD/aamnDGYjsF3n7yHKtpwm9 Z9VgZzpjuLyyZcD/5acGe2ghQrrCTfQHC3r79olIYouGUjtln4R06s6waZqD5C97 9lPOoY2gnZu8Mk8saVAp6qI7YrGRKTacUjk8ZorXy9uR1B5idqhnWlMA9isiB6SH CyDlvFLrr98dExdBd0FvtBP4M2NmmzkQ+XgX3GmS1jh4oBc0Joc3UYAP5XYKUpHy UFFxOQjuN9uofTFsH4GxNyeDwzLQCW0TzwSZPEPLeBjVzOR/KMR2VsJJy0nWRmZ9 h19B2R4elgNx+p/HCgVHBIDuUWsv/4uYtZjgD3kDZ77k3izmDh2fuWEZYGPva5Sl OHIAd9DAxIYMmACJbee3DDWVn4lxPDqrp3wWaI+TQqmd1zahpfQ2grzNuBF3cTOO fLcS0ZgSeNaprNtB3DQS =s6IR -----END PGP SIGNATURE----- --nextPart4508623.6VGqlU5LAx--