Re: [RFA/MI testsuite] gdb/701 test (varobj)

Keith Seitz
2002-09-17T19:24:56Z

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