diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2011-12-06 23:49:55 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2011-12-06 23:49:55 +0000 |
commit | e924755ea9080c6f208cc8a4e503c1e42a79743f (patch) | |
tree | 31bd0ebce51aae46b967f65fa57435b29d1c1296 /gdb/mips-tdep.c | |
parent | 81da50eaa62c75a3415393f69a23760f8dca4d05 (diff) | |
download | gdb-e924755ea9080c6f208cc8a4e503c1e42a79743f.tar.gz |
* 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 4f1c940d9f4..bbfd7e9e607 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; |