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: per-thread variable objects


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


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