[rfc][4/13] Eliminate read_register: read_register in deprecated_mips_set_processor_regs_hack
Maciej W. Rozycki
macro@linux-mips.org
Fri Jun 8 12:28:00 GMT 2007
On Thu, 7 Jun 2007, Ulrich Weigand wrote:
> one more weird global register access in a tdep file:
> deprecated_mips_set_processor_regs_hack in mips-tdep.c.
This register is read-only, so it does not matter which copy you read.
;-)
> (Not sure if this is still required, or if it could be replaced by
> the new XML register mechanism ...)
Well, if the latter provides similar means. I have extensive changes
pending for deprecated_mips_set_processor_regs_hack() and this access
definitely has to stay.
Maciej
More information about the Gdb-patches
mailing list