aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2025-09-26 12:21:11 +0200
committerJan Beulich <jbeulich@suse.com>2025-09-26 12:21:11 +0200
commitd94cdcc88131ec01e008cbe3bd09262f47877f16 (patch)
tree74d75a6e21eeaed0597ccef634d015abb455d3a3 /gdb/python/python-internal.h
parent7cbb38b74202f6204d01da81f459297fb873fb9d (diff)
downloadbinutils-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