This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: per-thread variable objects
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 1 Apr 2008 10:04:56 -0400
- Subject: Re: per-thread variable objects
- References: <200803242046.07322.vladimir@codesourcery.com>
On Mon, Mar 24, 2008 at 08:46:06PM +0300, Vladimir Prus wrote:
> @@ -66,6 +67,10 @@ print_varobj (struct varobj *var, enum p
> xfree (type);
> }
>
> + thread_id = varobj_get_thread_id (var);
> + if (thread_id > 0)
> + ui_out_field_int (uiout, "thread-id", thread_id);
> +
> if (varobj_get_frozen (var))
> ui_out_field_int (uiout, "frozen", 1);
> }
Please add this field to the manual.
--
Daniel Jacobowitz
CodeSourcery