From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb-patches@sources.redhat.com
Subject: Re: MI testsuite failures [PATCH]
Date: Mon, 08 Jan 2007 22:45:00 -0000 [thread overview]
Message-ID: <20070108224526.GA28903@nevyn.them.org> (raw)
In-Reply-To: <17826.50865.340113.767106@kahikatea.snap.net.nz>
On Tue, Jan 09, 2007 at 11:33:21AM +1300, Nick Roberts wrote:
> > This is the same reason you had to add spurious -var-update's to the
> > testsuite.
>
> I don't know that I'd call them spurious. The command -var-assign seems a bit
> anomalous to me. It could just set the value like "set var i=10". I think the
> updating of variable objects should be left to -var-update, but this change
> might be too radical at this stage.
I think it's right the way it is; if you want that behavior, you could
use -data-evaluate-expression to assign instead of -var-assign (well,
you'd need resolution on -var-info-path-expression first). -var-assign
is documented to assign to the variable object, not just the variable.
Anyway, easily adjusted later, if we want.
> I think that's the best we can do; the `string' will be displayed differently
> in the watch window.
I agree.
> > 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
> >
> > * varobj.c (install_new_value): Always update print_value.
> > (value_get_print_value): Immediately return NULL for missing
> > values.
> >
> > 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
> > Daniel Jacobowitz <dan@codesourcery.com>
> >
> > * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
> > lcharacter or linteger change. Correct duplicated test name.
> > * gdb.mi/mi2-var-cmd.exp: Likewise.
>
> Yes, I'd be happy to see these changes installed.
Thanks for looking at it. I'll check them in shortly.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-01-08 22:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-07 23:34 MI testsuite failures Nick Roberts
2007-01-08 5:53 ` MI testsuite failures [PATCH] Nick Roberts
2007-01-08 17:11 ` Daniel Jacobowitz
2007-01-08 22:33 ` Nick Roberts
2007-01-08 22:45 ` Daniel Jacobowitz [this message]
2007-01-08 23:27 ` Nick Roberts
2007-01-09 14:26 ` Daniel Jacobowitz
2007-01-09 22:18 ` Nick Roberts
2007-01-09 22:50 ` Daniel Jacobowitz
2007-01-10 7:09 ` Nick Roberts
2007-01-10 20:23 ` Daniel Jacobowitz
2007-01-08 7:44 ` MI testsuite failures Vladimir Prus
2007-01-08 8:15 ` Nick Roberts
2007-01-08 9:40 ` Vladimir Prus
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=20070108224526.GA28903@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=nickrob@snap.net.nz \
/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