Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [patch/cp/testsuite] local.exp: update "ptype Local", is now "ptype l"
Date: Sat, 24 Jan 2004 14:53:00 -0000	[thread overview]
Message-ID: <20040124145324.GA21400@nevyn.them.org> (raw)
In-Reply-To: <20040124072716.E57694B363@berman.michael-chastain.com>

On Sat, Jan 24, 2004 at 02:27:16AM -0500, Michael Chastain wrote:
> [Sorry David C, I sent this to "redha.com" the first time.]
> 
> This patch updates the "ptype Local" test in gdb.cp/local.exp.
> 
> First, I changed the test from "ptype Local" (a type) to
> "ptype l" (a variable of that type).  This gives more informative
> test output when gdb says that the type of "l" is "Foobar__fi.0::Local".
> "ptype Local" just complains about a nonexistent type, but
> "ptype l" outputs something specific that I can KFAIL on.

I would prefer that you not do this.  "ptype l" does give more
informative output, precisely because it is an easier problem to solve. 
By all means add the new "ptype l" test, but please don't remove the
existing "ptype Local" test.

> Also, overall, I really like my new way of writing these tests, with
> re_class, re_fields, re_methods, re_synth.  The new code is clear to me.
> But I dunno if it's clear to other people or just to me.  Thoughts?

I rather like it also.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2004-01-24 14:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-24  7:27 Michael Elizabeth Chastain
2004-01-24 14:53 ` Daniel Jacobowitz [this message]
2004-01-24 21:53 Michael Elizabeth Chastain

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=20040124145324.GA21400@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.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