diff options
author | Tom Tromey <tromey@adacore.com> | 2022-04-19 07:33:09 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-04-22 06:57:07 -0600 |
commit | 0f34437ba0f5acab1fcb05630d88057402abbfeb (patch) | |
tree | ad31b8a122e9f3c9017bf27f8b588c6b493d8e7d /gdb/dwarf2/index-write.c | |
parent | fa265c9bef46fc2211f8dccbc9d9b432778087be (diff) | |
download | binutils-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