1 Nov 2002 17:18
[drow-cplus-branch] Update templates.exp
Daniel Jacobowitz <drow <at> mvista.com>
2002-11-01 16:18:25 GMT
2002-11-01 16:18:25 GMT
Some missing backslashes, and other miscellaneous v3 tweaks. Two tests
still fail: DWARF-2 and decode_line_2 don't get along because we don't have
physnames available, and printing out the template class fails because its
name has changed. I'm thinking about attack strategies for those.
Committed to branch.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2002-11-01 Daniel Jacobowitz <drow <at> mvista.com>
* gdb.c++/templates.exp: Correct some undoubled backslashes.
Make a synthetic operator= optional.
(print Garply<Garply<char> >::garply): Allow const THIS pointer.
Index: testsuite/gdb.c++/templates.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/templates.exp,v
retrieving revision 1.12.18.1
diff -u -p -r1.12.18.1 templates.exp
--- testsuite/gdb.c++/templates.exp 30 Oct 2002 23:17:30 -0000 1.12.18.1
+++ testsuite/gdb.c++/templates.exp 31 Oct 2002 23:04:35 -0000
<at> <at> -53,12 +53,12 <at> <at> proc test_ptype_of_templates {} {
send_gdb "ptype T5<int>\n"
gdb_expect {
- -re "type = class T5<int> \{${ws}public:${ws}static int X;${ws}int x;${ws}int val;${ws}T5<int> &
operator=\\(T5<int> const ?&\\);${ws}T5\\(int\\);${ws}T5\\((T5<int> const|const T5<int>)
(Continue reading)
committed,
Andrew
RSS Feed