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]
Other format: [Raw text]

Re: [RFA] MIPS: Add mappings for HI and LO registers


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.


Yep.


Andrew



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