This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] kfail gdb.c++/annota2.exp annotate-quit


On Wed, 18 Dec 2002 23:47:49 -0600, Michael Elizabeth Chastain <mec@shout.net> said:

> The KFAIL line looks like this:

>   KFAIL: gdb.c++/annota2.exp: annotate-quit (PRMS: c++/544)

> We can't do anything about the "PRMS:" part, that comes from dejagnu.

> I have an objection to the name "c++/544".  It is way too easy for
> this name to get quoted out of context (the context being that it is
> a gdb bug in the gdb database).  I think this will cause confusion.
> I would like to see "gdb/544" here.

> Sure, right *now* while we are discussing the issue, everyone knows
> that "c++/544" means a gdb bug in the gdb PR database.  Wait six
> weeks and then quote some people a gdb.sum report that says
> "c++/482" in it and see if anyone jumps to the incorrect conclusion
> that c++/482 means a bug in the C++ compiler.

I certainly don't think that it should say "c++/544", simply because
it's not a C++ bug: I'm planning to change the category in GNATS
today.  (But to what?  tui?)

I have mixed feelings about whether or not it should say
"gdb/<number>" or "<category>/<number>".  I guess I don't find your
reasoning convincing: it's part of the GDB test suite, so I would
expect people to think that a bug "c++/<number>" refers to a bug in
GDB's C++ support.  (Which is normally correct, though I think not in
this particular case.)

On the other hand, I'm not yet convinced that the categories are
completely stable, and it's silly to either spend time changing the
test suite whenever a bug gets refiled or having the test suite and
GNATS not agree on the categories in question.  And listing bugs as
"gdb/<number>" gets around that problem nicely.

On the other hand, if somebody has gone to the effort of KFAILing a
test, then chances are that the bug in question has been analyzed
enough to be filed correctly, so maybe the categories are stable after
all.

So I'm torn.  That's one vote for "waffle" from me, and for "gdb" from
Michael; anybody else?

David Carlton
carlton@math.stanford.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]