From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3553 invoked by alias); 23 Jun 2006 13:36:14 -0000 Received: (qmail 3545 invoked by uid 22791); 23 Jun 2006 13:36:13 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 23 Jun 2006 13:36:06 +0000 Received: from cam-owa1.Emea.Arm.com (cam-owa1.emea.arm.com [10.1.255.62]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id k5NDZFZ8011869; Fri, 23 Jun 2006 14:35:15 +0100 (BST) Received: from pc960.cambridge.arm.com ([10.1.255.211]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 23 Jun 2006 14:35:15 +0100 Subject: Re: [rfa] Cross corefile support for ARM From: Richard Earnshaw To: Daniel Jacobowitz Cc: gdb-patches@sourceware.org In-Reply-To: <20060623124216.GA17098@nevyn.them.org> References: <20060608152432.GA20630@nevyn.them.org> <20060623124216.GA17098@nevyn.them.org> Content-Type: text/plain Message-Id: <1151069710.29989.17.camel@pc960.cambridge.arm.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 23 Jun 2006 13:36:00 -0000 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00362.txt.bz2 On Fri, 2006-06-23 at 13:42, Daniel Jacobowitz wrote: > On Thu, Jun 08, 2006 at 11:24:32AM -0400, Daniel Jacobowitz wrote: > > I've reimplemented ARM Linux corefile support to use the new interfaces, and > > work for cross-debuggers. I needed this last week to track down a problem > > in an EABI binary and I didn't have an EABI native GDB available. > > > > I've tested it manually in both cross and native configurations; it actually > > fixes FPA (NWFPE) support for core files, which had gotten broken at some > > point in the past when ARM stopped providing FP0_REGNUM. > > > > This whole story is a bit of an embarrassment. I've implemented this at > > least twice in the past but never cleaned it up enough to submit it. And > > Girish Shilamkar submitted something similar in February, although I didn't > > notice at the time that (A) he didn't remove the existing core file support > > in arm-linux-nat.c, which would probably break native ARM gdbs, and (B) the > > FP support was bogus and didn't match any core dump layout I'm famliar with. > > And I never heard back about TimeSys's copyright assignment, so that's been > > sitting in limbo. > > > > Look OK? > > Hi Richard, > > Did you notice: > http://sourceware.org/ml/gdb-patches//2006-06/msg00071.html > > (Needed it again today :-) Sorry, yes this is OK. I wanted to review this against the problem that there are at least 3 different FPA-flavoured interfaces in linux: NWFPE, NWFPE with extended precision and genuine FPA11, and that each of these has a slightly different format for the values returned via the ptrace interface (yes, this is really a bug in ARM linux, but it ain't going to get fixed now...). However, I'm now happy your patch doesn't make things either better or worse in this regard. R.