diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-08-26 21:13:51 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-10-02 17:30:04 +0100 |
commit | 5b0e2b48edb9b6c53ed5c2de02b315838a1adae8 (patch) | |
tree | 6529538bfdda35cc9217ef2872b6ef69e251352e /gold/object.cc | |
parent | 637b2f86138a8ec0ab0fe89d3e4c5c111559d7f2 (diff) | |
download | gdb-5b0e2b48edb9b6c53ed5c2de02b315838a1adae8.zip gdb-5b0e2b48edb9b6c53ed5c2de02b315838a1adae8.tar.gz gdb-5b0e2b48edb9b6c53ed5c2de02b315838a1adae8.tar.bz2 |
gdb/testsuite: extend styling test for libopcodes styling
This commit extends the gdb.base/style.exp test to cover disassembler
styling using libopcodes (where available).
The test will try to enable libopcode based styling, if this
works (because such styling is available) then some tests are run to
check that the output is styled, and that the styling can be disabled
using 'set style disassembler enabled off'. If libopcodes styling is
not available on the current architecture then these new tests will be
skipped.
I've moved the Python Pygments module check inside the
test_disable_disassembler_styling function now, so that the test will
be run even when Python Pygments is not available, this allows the new
tests discussed above.
If the Pygments module is not available then the Pygments based tests
will be skipped just as they were before.
Diffstat (limited to 'gold/object.cc')
0 files changed, 0 insertions, 0 deletions