This is the mail archive of the
mailing list for the GDB project.
Re: PATCH to testsuite/gdb.c++/namespace.exp
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: msnyder at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com, jason at redhat dot com
- Date: Thu, 10 Jan 2002 12:06:04 -0600
- Subject: Re: PATCH to testsuite/gdb.c++/namespace.exp
Michael Snyder wrote:
> Would it not be better, then, if the test accepted both
> \0 and \000?
I thought about that. It would be better; and if I had written the
patch, I would have written it that way.
But there's so much to do in C++ land, and so little time, that I'd
rather let it be. I'm 100x more worried about things like this:
# native i686-pc-linux-gnu
# gdb HEAD (2001-12-22)
# gcc 2.95.3
$1 = (A * const) 0xa^M
(gdb) PASS: gdb.c++/method.exp: print this (in foo)
gdb is printing an incorrect value and the testsuite does not catch it.
This is a bug in gdb and a shortfall in the testsuite and it affects
I am organizing my life so that I have more time to care about bugs
like that. That means conserving attention on lesser things, to their
detriment. It's an attention-triage question.
But if this issue bothers you enough to submit a patch, I will approve it.