aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-07-29 09:38:29 -0600
committerTom Tromey <tromey@adacore.com>2024-08-12 12:16:15 -0600
commit219036b4fa83d2d1ec7f2ee74938610adaf7b4cd (patch)
tree88310503e127902a0ce917de92cfe7ffb450790e /gdb/python
parenta86cec1a6f5127fc66737f95c2ba7938a755b63f (diff)
downloadbinutils-219036b4fa83d2d1ec7f2ee74938610adaf7b4cd.zip
binutils-219036b4fa83d2d1ec7f2ee74938610adaf7b4cd.tar.gz
binutils-219036b4fa83d2d1ec7f2ee74938610adaf7b4cd.tar.bz2
Simplify typename_concat
This patch simplifies typename_concat, changing the return type and removing the obstack allocation code. The latter is possible because the only caller using this mode uses the name when creating a new type, and 'new_type' copies the string to the appropriate obstack anyway. It also changes typename_concat to use 'concat'. This change lets us remove a mildly fragile macro as well. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions