From: Kevin Buettner Date: Wed, 2 Apr 2003 05:12:25 +0000 (+0000) Subject: * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=040b99fd420c93c8271cb02e25bd1d81ed553a95;p=binutils-gdb.git * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c25970bb0b1..2f28c9e2d5e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-04-01 Kevin Buettner + + * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) + (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. + 2003-04-01 Adam Fedor * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 1a5e7efa8ac..f9424d76946 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -5573,6 +5573,10 @@ mips_stab_reg_to_regnum (int num) return num; else if (num >= 38 && num < 70) return num + FP0_REGNUM - 38; + else if (num == 70) + return HI_REGNUM; + else if (num == 71) + return LO_REGNUM; else { /* This will hopefully (eventually) provoke a warning. Should @@ -5591,6 +5595,10 @@ mips_dwarf_dwarf2_ecoff_reg_to_regnum (int num) return num; else if (num >= 32 && num < 64) return num + FP0_REGNUM - 32; + else if (num == 64) + return HI_REGNUM; + else if (num == 65) + return LO_REGNUM; else { /* This will hopefully (eventually) provoke a warning. Should