This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/testsuite] gdb.c++/classes.exp: add another ptype pattern
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: carlton at kealia dot com, gdb-patches at sources dot redhat dot com
- Date: Wed, 2 Jul 2003 11:50:44 -0400
- Subject: Re: [patch/testsuite] gdb.c++/classes.exp: add another ptype pattern
- References: <200307021539.h62FdJWR025063@duracef.shout.net>
On Wed, Jul 02, 2003 at 11:39:19AM -0400, Michael Elizabeth Chastain wrote:
> This patch adds a pattern to a ptype test in classes.exp.
>
> Here is the story. The class is:
>
> class ClassWithEnum {
> public:
> enum PrivEnum { red, green, blue, yellow = 42 };
> PrivEnum priv_enum;
> int x;
> };
> My concern is gcc 3.3 -gstabs+. gdb is printing the right output, but
> there is no arm in the test case for it, so it FAILed. This patch adds
> an arm so that this output will now PASS.
Could you try adding the .* from the following (kfail) pattern instead?
I.E. right after "int x;".
We'll have to revisit this someday. Eventually, I want that KFAIL'ing
pattern to be the correct output.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer