From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] MI: Add value field to output of -var-create
Date: Sat, 20 Jan 2007 19:09:00 -0000 [thread overview]
Message-ID: <20070120190903.GA22153@nevyn.them.org> (raw)
In-Reply-To: <17839.14615.772612.987502@kahikatea.snap.net.nz>
On Thu, Jan 18, 2007 at 10:08:39PM +1300, Nick Roberts wrote:
Content-Description: message body and .signature
> > > This patch just adds the value field to the output of var-create so that
> > > the frontend doesn't need to issue another command to find out what it
> > > is.
> > >
> > > If approved, I'll change the tests and documentation accordingly.
> >
> > Seems fine to me, after we work out what to do with the testsuite. I
> > went to check whether this should be PRINT_ALL_VALUES or
> > PRINT_SIMPLE_VALUES but it seems fine the way you've got it - I wish
> > I could remember the rational for PRINT_SIMPLE_VALUES properly.
>
> OK, I've done this now with all tests changed. I've used Vladimir's
> mi_create_varobj as much as possible. The three places where I've kept
> -var-create are:
>
> 1) Where failure of -var-create is being tested.
> 2) Where a command token is used.
> 3) Where a name isn't specified for the variable object ("-" used).
>
> I get the same test results before and after my change.
Thanks for doing this. I get some new failures - just three though.
FAIL: gdb.mi/gdb701.exp: create fooPtr
FAIL: gdb.mi/gdb792.exp: create var for class A
FAIL: gdb.mi/gdb792.exp: create var for class C which has baseclass A
# Why does this have a FIXME?
setup_xfail *-*-*
mi_gdb_test "-var-update *" \
! "FIXME\\^done,changelist=\\\[\{name=\"psnp->ptrs.0.next.long_ptr\",in_scope=\pe_changed=\"false\"\}\\\]" \
"update all vars psnp->next->long_ptr (and 1.long_ptr) changed"
clear_xfail *-*-*
Typo, I think ("in_scope=\pe_changed")?
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-01-20 19:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-02 10:07 Nick Roberts
2007-01-04 20:20 ` Vladimir Prus
2007-01-04 23:22 ` Nick Roberts
2007-01-04 23:24 ` Daniel Jacobowitz
2007-01-05 7:40 ` Vladimir Prus
2007-01-05 15:07 ` Daniel Jacobowitz
2007-01-05 21:30 ` Nick Roberts
2007-01-07 23:32 ` Daniel Jacobowitz
2007-01-18 9:09 ` Nick Roberts
2007-01-20 19:09 ` Daniel Jacobowitz [this message]
2007-01-20 21:53 ` Nick Roberts
2007-02-03 4:54 ` Nick Roberts
2007-02-04 14:10 ` Daniel Jacobowitz
2007-02-04 21:42 ` Nick Roberts
2007-02-08 17:58 ` Daniel Jacobowitz
2007-02-08 20:07 ` Nick Roberts
2007-02-08 20:25 ` Daniel Jacobowitz
2007-02-08 20:27 ` Daniel Jacobowitz
2007-02-08 20:37 ` Nick Roberts
2007-02-08 20:37 ` Daniel Jacobowitz
2007-02-08 20:44 ` Nick Roberts
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=20070120190903.GA22153@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