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] Variable objects in multi-threaded programs


Nick Roberts wrote:

> 
> Currently GDB thinks variable objects have gone out of scope if the thread
> changes.  

This is indeed a major problem.

> This patch corrects that. 

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?

- Volodya



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