This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 4/5] Use ui_out_emit_tuple in more places in MI
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Tue, 18 Apr 2017 19:44:05 +0100
- Subject: Re: [RFA 4/5] Use ui_out_emit_tuple in more places in MI
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com B29D28046F
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B29D28046F
- References: <20170414022337.28368-1-tom@tromey.com> <20170414022337.28368-5-tom@tromey.com>
On 04/14/2017 03:23 AM, Tom Tromey wrote:
> This patch changes a few more spots in MI to use ui_out_emit_tuple.
> These changes required the use of gdb::optional.
>
> gdb/ChangeLog
> 2017-04-13 Tom Tromey <tom@tromey.com>
>
> * mi/mi-main.c (print_variable_or_computed): Use ui_out_emit_tuple.
> * mi/mi-cmd-var.c (varobj_update_one): Use ui_out_emit_tuple.
> * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_out_emit_tuple.
LGTM.
Thanks,
Pedro Alves