This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/8] Use std::string in mdebugread.c
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 11 Oct 2018 21:27:05 -0700
- Subject: Re: [PATCH 3/8] Use std::string in mdebugread.c
- References: <20180923040814.27941-1-tom@tromey.com> <20180923040814.27941-4-tom@tromey.com>
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