This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Change enable_thread_stack_temporaries to an RAII class


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]