This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/MI testsuite] gdb/701 test (varobj)
- From: Keith Seitz <keiths at redhat dot com>
- To: Fernando Nasser <fnasser at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 17 Sep 2002 12:27:30 -0700 (PDT)
- Subject: 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