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: Fernando Nasser <fnasser at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 18 Sep 2002 10:45:14 -0400
- Subject: Re: [RFA/MI testsuite] gdb/701 test (varobj)
- Organization: Red Hat Canada
- References: <Pine.LNX.4.44.0209171217170.1395-100000@valrhona.uglyboxes.com>
Thanks for checking this out Keith.
Regards,
Fernando
Keith Seitz wrote:
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
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9