diff options
author | Kevin Buettner <kevinb@redhat.com> | 2003-04-02 05:12:25 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2003-04-02 05:12:25 +0000 |
commit | 040b99fd420c93c8271cb02e25bd1d81ed553a95 (patch) | |
tree | 59a05a83db473555b12d1788597b18701099ab59 /gdb/mips-tdep.c | |
parent | 9a3d7dfd2e56889dce422be422767465d3f0f06b (diff) | |
download | gdb-040b99fd420c93c8271cb02e25bd1d81ed553a95.zip gdb-040b99fd420c93c8271cb02e25bd1d81ed553a95.tar.gz gdb-040b99fd420c93c8271cb02e25bd1d81ed553a95.tar.bz2 |
* mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
(mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 1a5e7ef..f9424d7 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 |