This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] display names of remote threads
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Daniel Colascione <dancol at dancol dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 15 May 2015 10:27:24 +0300
- Subject: Re: [PATCH] display names of remote threads
- Authentication-results: sourceware.org; auth=none
- References: <555520F6 dot 7080400 at dancol dot org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 14 May 2015 15:25:58 -0700
> From: Daniel Colascione <dancol@dancol.org>
>
> commit 9b8ccc79e8a522b20ac6413751fa488622131839
> Author: Daniel Colascione <dancol@dancol.org>
> Date: Thu May 14 15:24:08 2015 -0700
>
> Display names of remote threads
Please also include changes to corresponding ChangeLog files.
> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index 4b76ce9..341ed82 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -39111,17 +39111,19 @@ the following structure:
> @smallexample
> <?xml version="1.0"?>
> <threads>
> - <thread id="id" core="0">
> + <thread id="id" core="0" name="name">
> ... description ...
> </thread>
> </threads>
> @end smallexample
>
> Each @samp{thread} element must have the @samp{id} attribute that
> -identifies the thread (@pxref{thread-id syntax}). The
> -@samp{core} attribute, if present, specifies which processor core
> -the thread was last executing on. The content of the of @samp{thread}
> -element is interpreted as human-readable auxilliary information.
> +identifies the thread (@pxref{thread-id syntax}). The @samp{core}
> +attribute, if present, specifies which processor core the thread was
> +last executing on. The @samp{name} attribute, if present, specifies
> +the human-readable name of the thread. The content of the of
> +@samp{thread} element is interpreted as human-readable
> +auxilliary information.
Something is wrong with the last sentence. (I actually wonder why
that sentence is needed: it's not clear to me what does it want to
convey.)
The documentation part is OK with this fixed.