Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Michael Elizabeth Chastain <mec.gnu@mindspring.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [cplus] An initial use of the canonicalizer
Date: Wed, 31 Dec 2003 03:36:00 -0000	[thread overview]
Message-ID: <20031231033631.GA24452@nevyn.them.org> (raw)
In-Reply-To: <20031231022520.77EC84B35A@berman.michael-chastain.com>

On Tue, Dec 30, 2003 at 09:25:20PM -0500, Michael Chastain wrote:
> mec> So there used to be a volatile required, but now there is none.
> mec> That's the part I don't like.
> 
> drow> That's the part that will be going away when I have more time.  I'm
> drow> going to stabilize the output first, and tighten up the testcases one
> drow> test at a time second; too many changes, otherwise.
> 
> Yes, I'm sorry -- I shouldn't jump on your back about this.
> (I'm having a bad day with gdb.cp already).
> 
> drow> So you're OK if I make these tests fail when run against GDB 6.0?
> drow> I'm a little confused by your response.
> 
> I'm okay with the idea of accepting only "char volatile*",
> or whichever flavor you land on.  When I run that test script against
> gdb 6.0, it will FAIL with gdb 6.0 and PASS with gdb HEAD.
> I can handle that.
> 
> To look at it another way, I'm okay whenever the test suite gets
> more stringent and stuff that used to PASS (but shouldn't)
> now FAILs.  And other people won't notice a problem as long as
> gdb is fixed before the test suite is improved.
> 
> A question about the "<int,33>" versus "<int, 33>".
> Is "<int,33>" a bug?  I don't consider it a bug, so it would bother me
> if that started FAILing.  That's why I want the pattern to be
> "<int, ?33>".

That depends on your point of view.  It is not a bug in the sense that
it makes sense, means the right thing, will be recognized as user
input, etc.  But "<int,33>" is (maybe) uglier, and the point of this
whole rewrite is to make our output _consistent_.  So if we're printing
<int, 33> somewhere and <int,33> somewhere else, that will be a bug.
So I'd write all the tests to match <int, 33> only.

That's the theory I'm going by at the moment at least.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-12-31  3:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-31  2:26 Michael Elizabeth Chastain
2003-12-31  3:36 ` Daniel Jacobowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-31 19:04 Michael Elizabeth Chastain
2004-01-01  6:03 ` Eli Zaretskii
2004-01-01  7:50   ` Daniel Jacobowitz
2003-12-31  4:12 Michael Elizabeth Chastain
2003-12-31 14:04 ` Daniel Jacobowitz
2003-12-31  1:43 Michael Elizabeth Chastain
2003-12-31  2:09 ` Daniel Jacobowitz
2003-12-30 21:15 Michael Elizabeth Chastain
2003-12-31  0:59 ` Daniel Jacobowitz
2003-12-30 21:03 Daniel Jacobowitz

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=20031231033631.GA24452@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec.gnu@mindspring.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