From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Don Howard Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] mips fp register display Date: Sat, 23 Jun 2001 11:09:00 -0000 Message-id: <3B34DB58.1000904@cygnus.com> References: X-SW-Source: 2001-06/msg00386.html Don, Approved with notes. At least this fixes the most common case and gets GDB to print out the correct value. Fixing the case where GDB is three levels down on a stack frame is a different problem. > + /* Otherwise check the FR bit in the status register - it controls > + the fp compatiblity mode */ > + return !(read_register (PS_REGNUM) & 1 << 26); > Is there a constant with ``1 << 26'' in it somewhere? If not, can you please add one. Also, some extra paren so I don't need to strain my brain trying to figure out the operator order is useful. Andrew