This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 18/23] Use a scoped_restore for command_nest_depth
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Mon, 5 Jun 2017 14:38:38 +0100
- Subject: Re: [RFA 18/23] Use a scoped_restore for command_nest_depth
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.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 A412DC04B321
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A412DC04B321
- References: <20170503224626.2818-1-tom@tromey.com> <20170503224626.2818-19-tom@tromey.com>
On 05/03/2017 11:46 PM, Tom Tromey wrote:
> This changes a couple of places to use a scoped_restore when
> manipulating command_nest_depth.
>
> 2017-05-02 Tom Tromey <tom@tromey.com>
>
> * cli/cli-script.c (execute_user_command)
> (execute_control_command): Use scoped_restore.
OK.
Thanks,
Pedro Alves