diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2011-12-06 23:49:56 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2011-12-06 23:49:56 +0000 |
commit | 040dff2af89622e440699292b0976e14cdf4c0d1 (patch) | |
tree | d45b43b272a10a143ef1a859c4ebc5ea07ad1865 /gdb/mips-tdep.c | |
parent | 754d7c78609ee214e5349370cad194e1240b95db (diff) | |
download | gdb-040dff2af89622e440699292b0976e14cdf4c0d1.zip gdb-040dff2af89622e440699292b0976e14cdf4c0d1.tar.gz gdb-040dff2af89622e440699292b0976e14cdf4c0d1.tar.bz2 |
* mips-tdep.c (mips32_next_pc): Fix floating point condition
code mask.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 4f1c940..bbfd7e9 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -1144,7 +1144,7 @@ mips32_next_pc (struct frame_info *frame, CORE_ADDR pc) get_frame_register_signed (frame, mips_regnum (get_frame_arch (frame))-> fp_control_status); - int cond = ((fcrcs >> 24) & 0x0e) | ((fcrcs >> 23) & 0x01); + int cond = ((fcrcs >> 24) & 0xfe) | ((fcrcs >> 23) & 0x01); if (((cond >> cnum) & 0x01) == tf) pc += mips32_relative_offset (inst) + 4; |