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: [PATCH 3/6] Modify internalvar mechanism


On Mon, 04 Apr 2011 05:08:34 +0200, Sergio Durigan Junior wrote:
> --- a/gdb/thread.c
> +++ b/gdb/thread.c
> @@ -1449,6 +1450,15 @@ thread_id_make_value (struct gdbarch *gdbarch, struct internalvar *var)
>  /* Commands with a prefix of `thread'.  */
>  struct cmd_list_element *thread_cmd_list = NULL;
>  
> +/* Implementation of `thread' variable.  */
> +
> +static struct internalvar_funcs thread_funcs =
        ^^^ const

> +{
> +  thread_id_make_value,
> +  NULL,
> +  NULL
> +};


Thanks,
Jan


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