Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Vladimir Prus <vladimir@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Changes to varobj.c
Date: Thu, 29 May 2008 16:46:00 -0000	[thread overview]
Message-ID: <18494.32829.19820.247605@kahikatea.snap.net.nz> (raw)
In-Reply-To: <200805291154.23776.vladimir@codesourcery.com>

 > I think you've missed it. The patch was posted here:
 > 
 > 	http://article.gmane.org/gmane.comp.gdb.patches/40822
 > 
 > and the version I've checked in has no changes relative to the one
 > I've posted.

It looks like it was attached in reply to a patch with the subject header
"[RFC][patch 0/9] Python support in GDB".  I don't read everything posted to
gdb-patches and delete messages based on the subject which is why I must have
missed this one.

 > Would you like to CC-d on all MI patches?

If you just give an indication in the subject header about the content, as you
have suggested, that should be enough - thanks.

 > > I can see a stale comment before varobj_update:
 > > 
 > >    NOTE: This function may delete the caller's varobj. If it
 > >    returns TYPE_CHANGED,...
 > > 
 > > (varobj_update no longer returns TYPE_CHANGED)
 > 
 > You are right. On the other hand, why do delete varobj when its type
 > changes, or in other words, why value_of_root uses varobj_create? I think
 > I'll just stop it making do so, 

If floating varobjs are used then var->root->exp changes when the frame changes
and using varobj_create is one way to get hold of this expression.  I think if
you don't use varobj_create then you will have to use a chunk of it.

 >                                together with the other planned change of
 > making -var-create of floating varobj not fail when the expression cannot be
 > parsed.

That's an independent matter though, right?

-- 
Nick                                           http://www.inet.net.nz/~nickrob


PS I've just noticed that:

  struct varobj **cv;
  struct varobj **templist = NULL;

are no longer used in varobj_update.

I've updated my linked list patch to your changes and it looks cleaner.  Using
a vector for result seems like a good idea, I just don't think it works for
varobj_list_children.


      reply	other threads:[~2008-05-29 10:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-29 14:40 Nick Roberts
2008-05-29 14:49 ` Daniel Jacobowitz
2008-05-29 16:40 ` Vladimir Prus
2008-05-29 16:46   ` Nick Roberts [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18494.32829.19820.247605@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=gdb-patches@sourceware.org \
    --cc=vladimir@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox