From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] mips: Fix "info registers" output Date: Thu, 21 Jun 2001 08:37:00 -0000 Message-id: <20010621083624.A9719@nevyn.them.org> References: <20010619225007.A10141@nevyn.them.org> X-SW-Source: 2001-06/msg00359.html 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