aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/index-write.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-04-19 07:33:09 -0600
committerTom Tromey <tromey@adacore.com>2022-04-22 06:57:07 -0600
commit0f34437ba0f5acab1fcb05630d88057402abbfeb (patch)
treead31b8a122e9f3c9017bf27f8b588c6b493d8e7d /gdb/dwarf2/index-write.c
parentfa265c9bef46fc2211f8dccbc9d9b432778087be (diff)
downloadbinutils-0f34437ba0f5acab1fcb05630d88057402abbfeb.zip
binutils-0f34437ba0f5acab1fcb05630d88057402abbfeb.tar.gz
binutils-0f34437ba0f5acab1fcb05630d88057402abbfeb.tar.bz2
Use std::string in coff-pe-read.c
coff-pe-read.c uses xsnprintf and alloca, but using std::string is better, and just as easy. In general I think alloca is something to be avoided, and unbounded uses especially so.
Diffstat (limited to 'gdb/dwarf2/index-write.c')
0 files changed, 0 insertions, 0 deletions