gdb: make gdb_printing_disassembler::stream public
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 30 Nov 2022 14:46:09 +0000 (09:46 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 2 Feb 2023 15:02:34 +0000 (10:02 -0500)
commit8b588f42120f1a39d32116c2bf3e53981d906a02
tree8eb02bdce96745f0e60b088afb2a1ea4f1f9eae6
parent17467c103073ae0ec7bc43ffa35cb488cd2a97ed
gdb: make gdb_printing_disassembler::stream public

In the ROCm port, we need to access the underlying stream of a
gdb_printing_disassembler, so make it public.  The reason we need to
access it is to know whether it supports style escape code.  We then
pass that information to a temporary string_file we use while
symbolizing addresses.

Change-Id: Ib95755a4a45b8f6478787993e9f904df60dd8dc1
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/disasm.h