This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix reading floating point registers from core files on hppa-linux
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: randolph at tausq dot org (Randolph Chung)
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 13 Sep 2008 21:52:58 -0400 (EDT)
- Subject: Re: [PATCH] Fix reading floating point registers from core files on hppa-linux
> 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)