I've recently submitted some gcc patches which add debug info related
mappings for the MIPS "hi" and "lo" registers. (Previously, if either of
these appeared in DWARF 2 debug output, they'd show up as -1.)
The patch below adds the corresponding code for mapping these
registers from values that'll (hopefully soon) appear in debug info to
gdb's internal register numbers.
The most recent patch on the gcc side is:
http://gcc.gnu.org/ml/gcc-patches/2003-03/msg02596.html
Okay? (If so, I'll wait for approval on the gcc side before committing
this patch.)
* mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
(mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.