This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH/c++testsuite: Update "in a register" message
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 2 Apr 2002 20:34:54 -0500
- Subject: PATCH/c++testsuite: Update "in a register" message
Someone added the feature of telling which register a variable was using in
the error message for taking the address of a variable in a register.
Update testsuite to match; committed as obvious.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
2002-04-02 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/classes.exp ("calling method for small class"): Match
updated register output.
Index: testsuite/gdb.c++/classes.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/classes.exp,v
retrieving revision 1.12
diff -u -p -r1.12 classes.exp
--- classes.exp 2002/01/20 19:22:13 1.12
+++ classes.exp 2002/04/03 01:16:29
@@ -907,7 +907,7 @@ proc do_tests {} {
-re "= 82.*$gdb_prompt $" {
pass "calling method for small class"
}
- -re "Address requested for identifier .v. which is in a register.*$gdb_prompt $" {
+ -re "Address requested for identifier .v. which is in register.*$gdb_prompt $" {
setup_xfail "*-*-*" 2972
fail "calling method for small class"
}