From de6d8dc25cf728dbb748eeeb8d35642332cc309b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 23 Oct 2019 10:17:21 +0100 Subject: Fix typo in RX disassembler error messages. * rx-dis.c (get_register_name): Fix spelling typo in error message. (get_condition_name, get_flag_name, get_double_register_name) (get_double_register_high_name, get_double_register_low_name) (get_double_control_register_name, get_double_condition_name) (get_opsize_name, get_size_name): Likewise. --- opcodes/ChangeLog | 9 +++++++++ opcodes/rx-dis.c | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e53e95c..4213fba 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,12 @@ +2019-10-23 Nick Clifton + + * rx-dis.c (get_register_name): Fix spelling typo in error + message. + (get_condition_name, get_flag_name, get_double_register_name) + (get_double_register_high_name, get_double_register_low_name) + (get_double_control_register_name, get_double_condition_name) + (get_opsize_name, get_size_name): Likewise. + 2019-10-22 Nick Clifton * rx-dis.c (get_size_name): New function. Provides safe diff --git a/opcodes/rx-dis.c b/opcodes/rx-dis.c index 8d5ee87..c84f7c5 100644 --- a/opcodes/rx-dis.c +++ b/opcodes/rx-dis.c @@ -136,7 +136,7 @@ get_register_name (unsigned int reg) { if (reg < ARRAY_SIZE (register_names)) return register_names[reg]; - return _(""); + return _(""); } static inline const char * @@ -144,7 +144,7 @@ get_condition_name (unsigned int cond) { if (cond < ARRAY_SIZE (condition_names)) return condition_names[cond]; - return _(""); + return _(""); } static inline const char * @@ -152,7 +152,7 @@ get_flag_name (unsigned int flag) { if (flag < ARRAY_SIZE (flag_names)) return flag_names[flag]; - return _(""); + return _(""); } static inline const char * @@ -160,7 +160,7 @@ get_double_register_name (unsigned int reg) { if (reg < ARRAY_SIZE (double_register_names)) return double_register_names[reg]; - return _(""); + return _(""); } static inline const char * @@ -168,7 +168,7 @@ get_double_register_high_name (unsigned int reg) { if (reg < ARRAY_SIZE (double_register_high_names)) return double_register_high_names[reg]; - return _(""); + return _(""); } static inline const char * @@ -176,7 +176,7 @@ get_double_register_low_name (unsigned int reg) { if (reg < ARRAY_SIZE (double_register_low_names)) return double_register_low_names[reg]; - return _(""); + return _(""); } static inline const char * @@ -184,7 +184,7 @@ get_double_control_register_name (unsigned int reg) { if (reg < ARRAY_SIZE (double_control_register_names)) return double_control_register_names[reg]; - return _(""); + return _(""); } static inline const char * @@ -192,7 +192,7 @@ get_double_condition_name (unsigned int cond) { if (cond < ARRAY_SIZE (double_condition_names)) return double_condition_names[cond]; - return _(""); + return _(""); } static inline const char * @@ -200,7 +200,7 @@ get_opsize_name (unsigned int opsize) { if (opsize < ARRAY_SIZE (opsize_names)) return opsize_names[opsize]; - return _(""); + return _(""); } static inline const char * @@ -208,7 +208,7 @@ get_size_name (unsigned int size) { if (size < ARRAY_SIZE (size_names)) return size_names[size]; - return _(""); + return _(""); } -- cgit v1.1