aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-unwind.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-01-06 16:42:23 +0000
committerAndrew Burgess <aburgess@redhat.com>2023-02-13 12:05:32 +0000
commit77be7257442b1ca19deba8ec0e424f0faf53321f (patch)
tree4d70af2c5d233796f906dfdd10a4d8435b26f785 /gdb/python/py-unwind.c
parent97c195191578e9a68bfbb810eea373f5f3efcb7d (diff)
downloadbinutils-77be7257442b1ca19deba8ec0e424f0faf53321f.zip
binutils-77be7257442b1ca19deba8ec0e424f0faf53321f.tar.gz
binutils-77be7257442b1ca19deba8ec0e424f0faf53321f.tar.bz2
opcodes/mips: disassemble unknown micromips instructions as two shorts
Before commit: commit 2438b771ee07be19d5b01ea55e077dd8b7cef445 Date: Wed Nov 2 15:53:43 2022 +0000 opcodes/mips: use .word/.short for undefined instructions unknown 32-bit microMIPS instructions were disassembled as a raw 32-bit number with no '.word' directive. The above commit changed this and added a '.word' directive before the 32-bit number. It was pointed out on the mailing list, that for microMIPS it would be better to display such 32-bit instructions using a '.short' directive followed by two 16-bit values. This commit updates the mips disassembler to do this, and adds a new test that validates this output.
Diffstat (limited to 'gdb/python/py-unwind.c')
0 files changed, 0 insertions, 0 deletions