aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-11-01 14:09:17 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-11-03 12:49:53 +0000
commitca81edb86580566b1641ad140eb2bed385160ab7 (patch)
tree7b6770b729455af2a4411526b7fa52e242c028f1 /gdb/defs.h
parente53fbf5025e59fe6a3481b9c1fe37e4f6cf6e03d (diff)
downloadgdb-users/aburgess/try-mips-disasm-styling.zip
gdb-users/aburgess/try-mips-disasm-styling.tar.gz
gdb-users/aburgess/try-mips-disasm-styling.tar.bz2
libopcodes/mips: add support for disassembler stylingusers/aburgess/try-mips-disasm-styling
This commit adds disassembler styling support for MIPS. After this commit objdump and GDB will style disassembler output. This is a pretty straight forward change, we switch to use the disassemble_info::fprintf_styled_func callback, and pass an appropriate style through as needed. No additional tricks were needed (compared to say i386, or ARM). Tested by running all of the objdump commands used by the gas testsuite and manually inspecting the styled output, everything looks reasonable, though I'm not a MIPS expert, so it is possible that I've missed some corner cases. Worst case though is that something will be styled incorrectly, the actual content should be unchanged. All the gas, ld, and binutils tests still pass for me.
Diffstat (limited to 'gdb/defs.h')
0 files changed, 0 insertions, 0 deletions