This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Variable objects in multi-threaded programs
> I'm somewhat concerned that this patch makes gdb traverse stacks of all
> threads -- it can take quite some time. Would a better solution be
> to store thread id inside varobj?
Yes I think it would. As an element of struct varobj_root?
Perhaps this should also included as a field in the output of -var-create, the
frontend could organise the display of watch expressions by thread. If we use
the GDB thread id, this would be consistent with infrun.c
--
Nick http://www.inet.net.nz/~nickrob