[PATCH 3/8] Use std::string in mdebugread.c

Kevin Buettner kevinb@redhat.com
Fri Oct 12 04:27:00 GMT 2018


On Sat, 22 Sep 2018 22:08:09 -0600
Tom Tromey <tom@tromey.com> wrote:

> 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-09-22  Tom Tromey  <tom@tromey.com>
> 
> 	* mdebugread.c (parse_partial_symbols): Use std::string.

You're right, it is simpler.

LGTM.

Kevin



More information about the Gdb-patches mailing list