aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-06-22 00:01:57 +0000
committerAlan Modra <amodra@gmail.com>2009-06-22 00:01:57 +0000
commitb33bafa0d71c6f92b0d639466eb13af58989bfb7 (patch)
tree8651c8526995485484c90a0aeeec8a97b4aa2952 /opcodes
parent5f33580ce36f8b471299e51a037a03b2541b32a1 (diff)
downloadgdb-b33bafa0d71c6f92b0d639466eb13af58989bfb7.zip
gdb-b33bafa0d71c6f92b0d639466eb13af58989bfb7.tar.gz
gdb-b33bafa0d71c6f92b0d639466eb13af58989bfb7.tar.bz2
* score-dis.c (print_insn_score48, print_insn_score32): Move default
case label to proper lexical block. * score7-dis.c (print_insn_score32): Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/score-dis.c10
-rw-r--r--opcodes/score7-dis.c5
3 files changed, 12 insertions, 9 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 82639d8..b8dcf2a 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-22 Alan Modra <amodra@bigpond.net.au>
+
+ * score-dis.c (print_insn_score48, print_insn_score32): Move default
+ case label to proper lexical block.
+ * score7-dis.c (print_insn_score32): Likewise.
+
2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
* s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
diff --git a/opcodes/score-dis.c b/opcodes/score-dis.c
index 02405e4..900c1c1 100644
--- a/opcodes/score-dis.c
+++ b/opcodes/score-dis.c
@@ -646,10 +646,9 @@ print_insn_score48 (struct disassemble_info *info, bfd_vma given)
abort ();
}
break;
-
- default:
- abort ();
}
+ default:
+ abort ();
}
}
else
@@ -854,10 +853,9 @@ print_insn_score32 (bfd_vma pc, struct disassemble_info *info, long given)
abort ();
}
break;
-
- default:
- abort ();
}
+ default:
+ abort ();
}
}
else
diff --git a/opcodes/score7-dis.c b/opcodes/score7-dis.c
index 70ff637..b48d178 100644
--- a/opcodes/score7-dis.c
+++ b/opcodes/score7-dis.c
@@ -678,10 +678,9 @@ print_insn_score32 (bfd_vma pc, struct disassemble_info *info, long given)
abort ();
}
break;
-
- default:
- abort ();
}
+ default:
+ abort ();
}
}
else