This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] mips fp register display


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]