diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-11-02 15:53:43 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-11-03 12:49:53 +0000 |
commit | e53fbf5025e59fe6a3481b9c1fe37e4f6cf6e03d (patch) | |
tree | 018f9f4b6f293bf806c9fc8cb60ef72c1edb47ca /texinfo | |
parent | 78cd9188d0fb3ab8b1c33b4cb54ad85ffa444192 (diff) | |
download | gdb-e53fbf5025e59fe6a3481b9c1fe37e4f6cf6e03d.zip gdb-e53fbf5025e59fe6a3481b9c1fe37e4f6cf6e03d.tar.gz gdb-e53fbf5025e59fe6a3481b9c1fe37e4f6cf6e03d.tar.bz2 |
opcodes/mips: use .word/.short for undefined instructions
While working on disassembler styling for MIPS, I noticed that
undefined instructions are printed by the disassembler as raw number
with no assembler directive prefix (e.g. without .word or .short).
I think adding something like .word, or .short, helps to make it
clearer the size of the value that is being displayed, and is inline
with what many of the other libopcode disassemblers do.
In this commit I've added the .word and .short directives, and updated
all the tests that I spotted that failed as a result.
Diffstat (limited to 'texinfo')
0 files changed, 0 insertions, 0 deletions