This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] mips fp register display
- To: Don Howard <dhoward at redhat dot com>
- Subject: Re: [RFA] mips fp register display
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Sat, 23 Jun 2001 14:09:28 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <Pine.LNX.4.33.0106211530030.1795-100000@theotherone>
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