[patch/testsuite] gdb.c++/classes.exp: add another ptype pattern
Daniel Jacobowitz
drow@mvista.com
Wed Jul 2 15:51:00 GMT 2003
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
More information about the Gdb-patches
mailing list