From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21743 invoked by alias); 14 Sep 2008 01:53:36 -0000 Received: (qmail 21734 invoked by uid 22791); 14 Sep 2008 01:53:36 -0000 X-Spam-Check-By: sourceware.org Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 14 Sep 2008 01:53:01 +0000 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id 6B9984E6A; Sat, 13 Sep 2008 21:52:58 -0400 (EDT) Subject: Re: [PATCH] Fix reading floating point registers from core files on hppa-linux To: randolph@tausq.org (Randolph Chung) Date: Sun, 14 Sep 2008 01:53:00 -0000 From: "John David Anglin" Cc: gdb-patches@sourceware.org In-Reply-To: <1e3eba760809131807u169ae563x9af4775b7c922d7b@mail.gmail.com> from "Randolph Chung" at Sep 13, 2008 06:07:01 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20080914015259.6B9984E6A@hiauly1.hia.nrc.ca> 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: 2008-09/txt/msg00311.txt.bz2 > Hm.... gcore used to pass... wonder what changed. But your code below > looks reasonable. Looking at the gdb.log, it was clear that the fpregs were not being restored from the core file correctly. Possibly, the register checks were added. I believe the code is correct for the 32-bit runtime. I can see that changes would be needed to support a 64-bit runtime. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)