diff options
author | Nick Clifton <nickc@redhat.com> | 2019-10-23 10:17:21 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-10-23 10:17:21 +0100 |
commit | de6d8dc25cf728dbb748eeeb8d35642332cc309b (patch) | |
tree | 02cda54f2f4268cf99cbf904258ccd78ab9080d8 /opcodes | |
parent | 7e785608ce2afae4b3f611f0e4d46cb9633ef937 (diff) | |
download | gdb-de6d8dc25cf728dbb748eeeb8d35642332cc309b.zip gdb-de6d8dc25cf728dbb748eeeb8d35642332cc309b.tar.gz gdb-de6d8dc25cf728dbb748eeeb8d35642332cc309b.tar.bz2 |
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.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 9 | ||||
-rw-r--r-- | 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 <nickc@redhat.com> + + * 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 <nickc@redhat.com> * 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 _("<inavlid register number>"); + return _("<invalid register number>"); } 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 _("<inavlid condition code>"); + return _("<invalid condition code>"); } 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 _("<inavlid flag>"); + return _("<invalid flag>"); } 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 _("<inavlid register number>"); + return _("<invalid register number>"); } 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 _("<inavlid register number>"); + return _("<invalid register number>"); } 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 _("<inavlid register number>"); + return _("<invalid register number>"); } 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 _("<inavlid register number>"); + return _("<invalid register number>"); } 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 _("<inavlid condition code>"); + return _("<invalid condition code>"); } 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 _("<inavlid opsize>"); + return _("<invalid opsize>"); } 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 _("<inavlid size>"); + return _("<invalid size>"); } |