2004-01-01 Michael Chastain <mec.gnu@mindspring.com>

* gdb.cp/namespace.exp: Accept gcc abi 2.
This commit is contained in:
Michael Chastain 2004-01-02 06:38:01 +00:00
parent 44ffb27cc2
commit d231d0b13f
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept gcc abi 2.
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept gcc abi 2.

View file

@ -1,4 +1,5 @@
# Copyright 1997, 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# Copyright 1997, 1998, 2000, 2001, 2002, 2003, 2004
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -119,6 +120,9 @@ gdb_expect {
-re "type = class (AAA::|)inA \{\r\n\[ \]*public:\r\n\[ \]*int xx;\r\n\[ \]*\r\n\[ \]*.*int fum\\(int\\);\r\n\}\r\n$gdb_prompt $" {
pass "ptype ina"
}
-re "type = class (AAA::|)inA \{\r\n\[ \]*public:\r\n\[ \]*int xx;\r\n\[ \]*\r\n\[ \]*int fum\\(int\\);\r\n.*\}\r\n$gdb_prompt $" {
pass "ptype ina"
}
-re ".*$gdb_prompt $" { fail "ptype ina" }
timeout { fail "(timeout) ptype ina" }
}