Use std::string in mdebugread.c
authorTom Tromey <tom@tromey.com>
Sun, 22 Apr 2018 16:26:18 +0000 (10:26 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 5 Oct 2018 04:51:46 +0000 (22:51 -0600)
commit795afcbbb4b6c9a47597b9da57221b1bf9fdc88f
tree3f053530a988c126f388db88bd64770c2c60aa6d
parentda4ae14a4d1614015f6e8d4a37df1b882806630a
Use std::string in mdebugread.c

This changes a couple of spots in mdebugread to use std::string rather
than manual management.  This is simpler, and also avoids shadowing by
renaming the variable in question.

gdb/ChangeLog
2018-10-04  Tom Tromey  <tom@tromey.com>

* mdebugread.c (parse_partial_symbols): Use std::string.
gdb/ChangeLog
gdb/mdebugread.c