More const use and alloca avoidance in coff-pe-read.c
authorTom Tromey <tromey@adacore.com>
Tue, 19 Apr 2022 13:41:44 +0000 (07:41 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 22 Apr 2022 12:58:42 +0000 (06:58 -0600)
commit8095d37f71c20dd9e6cb90d4f42fb868867263ed
tree800957a7af3fd8154a3e341ff54f0411405b5cf9
parent0f34437ba0f5acab1fcb05630d88057402abbfeb
More const use and alloca avoidance in coff-pe-read.c

This changes another function in coff-pe-read.c to use 'const' more,
and to avoid the use of alloca by instead using std::string.
gdb/coff-pe-read.c