[7/7] MIPS: Reorder a reference to "BGTZ, BGTZL" in `mips32_next_pc'
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gdb_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_gdb_check--master-arm |
success
|
Test passed
|
Commit Message
From: Maciej W. Rozycki <macro@globalfoundries.com>
Move a reference to "BGTZ, BGTZL" in `mips32_next_pc' to the leading
case label as with the other instructions called out in the function.
Approved-by: Maciej W. Rozycki <macro@orcam.me.uk>
---
gdb/mips-tdep.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
gdb-mips-next-pc-bgtz-comment.diff
===================================================================
@@ -1822,9 +1822,9 @@ mips32_next_pc (struct regcache *regcach
else
pc += 8;
break;
- case 7:
+ case 7: /* BGTZ, BGTZL */
default:
- greater_branch: /* BGTZ, BGTZL */
+ greater_branch:
if (regcache_raw_get_signed (regcache, itype_rs (inst)) > 0)
pc += mips32_relative_offset (inst) + 4;
else