This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 08/11] Use string and unique_xmalloc_ptr in mi-main.c
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 29 Sep 2017 11:23:39 +0100
- Subject: Re: [RFA 08/11] Use string and unique_xmalloc_ptr in mi-main.c
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7F3FD83F43
- References: <20170912185736.20436-1-tom@tromey.com> <20170912185736.20436-9-tom@tromey.com> <106d764a-be15-161a-355e-323e7e28a036@redhat.com> <87efqqwab7.fsf@tromey.com>
On 09/29/2017 02:41 AM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> How about replacing this string building + field_string with a single
> Pedro> call to:
> Pedro> uiout-> field_fmt ("name", "$%s", tsv->name);
>
> Here's an update.
OK.
Thanks,
Pedro Alves