Use std::string in dwarf2read.c
authorTom Tromey <tromey@adacore.com>
Thu, 31 Oct 2019 16:46:18 +0000 (10:46 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 8 Jan 2020 18:17:18 +0000 (11:17 -0700)
commit456e800a63def18484f69a51f59c2338a5cc4568
treec55fe313258a4cacd3237f33355f86b3bf55934f
parent6dfa2fc20773615c3a08c3565974dcfdfa36f052
Use std::string in dwarf2read.c

This replaces two instances of manual string management in
dwarf2read.c with std::string.

gdb/ChangeLog
2020-01-08  Tom Tromey  <tromey@adacore.com>

* dwarf2read.c (parse_macro_definition): Use std::string.
(parse_macro_definition): Likewise.

Change-Id: Iec437100105484aa4a116fb5d651d7ed52ee9d81
gdb/ChangeLog
gdb/dwarf2read.c