This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA/MI testsuite] gdb/701 test (varobj)


On Fri, 13 Sep 2002, Fernando Nasser wrote:

> As you are at it, canyou take a look at this old patch of mine that I've 
> found lost in a branch....  Something should be broken without it!

Ok, I've got a testcase for it... I'll be submitting it shortly.

I think your patch is now obsolete. At one time this was necessary
because when we call varobj_update, we've already gotten a pointer to our 
varobj (via varobj_get_handle). When varobj_update is called and the type 
changes, the original varobj is deleted, and a new one is created with the 
same name. I changed the API for varobj_update so that this new handle is 
propagated upward.

Thus, when varobj_update returns, the handle is still valid (if 
different). This change was committed by me on 2001-08-17.

Keith


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