This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] mips: Fix "info registers" output
On Thu, Jun 21, 2001 at 10:47:06AM +0300, Eli Zaretskii wrote:
>
> On Tue, 19 Jun 2001, Daniel Jacobowitz wrote:
>
> > There were some pretty nasty problems in the FP register printing code, and
> > a potential formatting problem in the GP register printing code.
>
> What problems? Could you please elaborate and maybe even post a short
> session script to demonstrate the problems?
>
> It is very hard to comment on such changes without knowing what are
> you trying to fix.
Sorry. To be more precise:
- the decoding of double-precision arguments was completely broken.
In addition to copying unallocated memory, and getting the byte order
wrong, we tried to decode two four-byte pointers to data instead of the
data itself. Thus the doubles were generally 'nan'.
- If the number of GPRs fit precisely on an integer number of rows,
blank space would be printed without even a trailing newline, and the
prompt would be mysteriously indented.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer