This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Change enable_thread_stack_temporaries to an RAII class
- From: Simon Marchi <simark at simark dot ca>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Thu, 8 Mar 2018 22:57:15 -0500
- Subject: Re: [RFA] Change enable_thread_stack_temporaries to an RAII class
- Authentication-results: sourceware.org; auth=none
- References: <20180308053543.18516-1-tom@tromey.com>
On 2018-03-08 12:35 AM, Tom Tromey wrote:
> diff --git a/gdb/infcall.c b/gdb/infcall.c
> index b7f4a176db..a77749f514 100644
> --- a/gdb/infcall.c
> +++ b/gdb/infcall.c
> @@ -411,7 +411,7 @@ struct call_return_meta_info
> CORE_ADDR struct_addr;
>
> /* Whether stack temporaries are enabled. */
> - int stack_temporaries_enabled;
> + bool stack_temporaries_enabled;
I think we can just removed this field, it seems to be unused.
Otherwise LGTM.
Simon