aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-11-16 14:26:07 +0000
committerNick Clifton <nickc@redhat.com>2015-11-17 11:37:14 +0000
commite7286c5668bcc5de0bfe523ac7b7cddabeffebe5 (patch)
tree70029860b74ca69800bad21001c4d46f720753a3 /opcodes
parent340c283058287c3c1307f0a8d44239e802d6c8c5 (diff)
downloadgdb-e7286c5668bcc5de0bfe523ac7b7cddabeffebe5.zip
gdb-e7286c5668bcc5de0bfe523ac7b7cddabeffebe5.tar.gz
gdb-e7286c5668bcc5de0bfe523ac7b7cddabeffebe5.tar.bz2
Fix the disassembly of conditional instructions will illegal condition selections.
* rx-dis.c (condition_names): Replace always and never with invalid, since the always/never conditions can never be legal.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/rx-dis.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index fc472db..edec363 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-16 Nick Clifton <nickc@redhat.com>
+
+ * rx-dis.c (condition_names): Replace always and never with
+ invalid, since the always/never conditions can never be legal.
+
2015-11-13 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
diff --git a/opcodes/rx-dis.c b/opcodes/rx-dis.c
index 6d4c41a..01d0385 100644
--- a/opcodes/rx-dis.c
+++ b/opcodes/rx-dis.c
@@ -74,7 +74,7 @@ static char const * condition_names[] =
{
/* condition codes */
"eq", "ne", "c", "nc", "gtu", "leu", "pz", "n",
- "ge", "lt", "gt", "le", "o", "no", "always", "never"
+ "ge", "lt", "gt", "le", "o", "no", "<invalid>", "<invalid>"
};
static const char * flag_names[] =