diff options
author | Jan Beulich <jbeulich@suse.com> | 2025-09-26 12:21:11 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2025-09-26 12:21:11 +0200 |
commit | d94cdcc88131ec01e008cbe3bd09262f47877f16 (patch) | |
tree | 74d75a6e21eeaed0597ccef634d015abb455d3a3 /gdb/python/python-internal.h | |
parent | 7cbb38b74202f6204d01da81f459297fb873fb9d (diff) | |
download | binutils-d94cdcc88131ec01e008cbe3bd09262f47877f16.zip binutils-d94cdcc88131ec01e008cbe3bd09262f47877f16.tar.gz binutils-d94cdcc88131ec01e008cbe3bd09262f47877f16.tar.bz2 |
Dwarf: adjust fetch_indirect{,_line}_string()'s return type
As already is the case for fetch_indexed_string() and
fetch_alt_indirect_string(), have them return a pointer to plain char,
properly compatible with e.g. the %s format specifier that the return
values are used with in several cases. This way no casts at call sites are
necessary, and several (bogus) ones in the functions can be exchanged for
just one each. Some other constification is needed elsewhere, now that
const-ness isn't being cast away anymore.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions