This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [testsuite] gdb.c++/templates.exp
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: gdb-patches at sources dot redhat dot com, mludvig at suse dot cz
- Date: Wed, 9 Jul 2003 11:05:32 -0400
- Subject: Re: [testsuite] gdb.c++/templates.exp
Hi Michal,
This part is not quite correct:
\\(unsigned ?(long|)\\);
It would accept 'unsignedlong' which would be wrong.
Can you try:
\\(unsigned( long|)\\);
Or:
\\((unsigned|unsigned long)\\);
Also, I need to know how you tested it. It doesn't need to be an
extensive test, just say whether you've run it at least once,
and on which platform.
Michael C
===
2003-07-09 Michal Ludvig <mludvig@suse.cz>
* testsuite/gdb.c++/templates.exp (test_ptype_of_templates):
Recognize expansion of size_t to 'unsigned long', not only
to 'unsigned'.