diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-08-10 12:42:35 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-08-10 17:11:55 +0100 |
commit | daf2618a918f2fd338e2519b51d7599943ccb3e8 (patch) | |
tree | d194977d8077d1e35faeeb0443e31ec9ea59458b /gdb/breakpoint.h | |
parent | f8053219836de69ceb8ff0e3e311b0585b1187b3 (diff) | |
download | binutils-daf2618a918f2fd338e2519b51d7599943ccb3e8.zip binutils-daf2618a918f2fd338e2519b51d7599943ccb3e8.tar.gz binutils-daf2618a918f2fd338e2519b51d7599943ccb3e8.tar.bz2 |
objdump: fix extended (256) disassembler colors
After commit:
commit a88c79b77036e4778e70d62081c3cfd1044bb8e3
Date: Tue Aug 9 14:57:48 2022 +0100
Default to enabling colored disassembly if output is to a terminal.
The 256 extended-color support for --disassembler-color was broken.
This is fixed in this commit.
PR 29457
* objdump (objdump_styled_sprintf): Check disassembler_color
against an enum value, don't treat it as a bool.
Diffstat (limited to 'gdb/breakpoint.h')
0 files changed, 0 insertions, 0 deletions