[PATCH v2 09/12] MIPS: Reorder a reference to "BGTZ, BGTZL" in `mips32_next_pc'

"Maciej W. Rozycki" <[email protected]>
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
From: Maciej W. Rozycki <[email protected]>

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 <[email protected]>
---
No change from v1 (7/7),
<https://inbox.sourceware.org/gdb-patches/[email protected]/>.
---
 gdb/mips-tdep.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

gdb-mips-next-pc-bgtz-comment.diff
Index: binutils-gdb/gdb/mips-tdep.c
===================================================================
--- binutils-gdb.orig/gdb/mips-tdep.c
+++ binutils-gdb/gdb/mips-tdep.c
@@ -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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.