diff options
author | Michael Chastain <mec.gnu@mindspring.com> | 2004-01-02 06:38:01 +0000 |
---|---|---|
committer | Michael Chastain <mec.gnu@mindspring.com> | 2004-01-02 06:38:01 +0000 |
commit | f0362bb3ef8c6f73cb670e2286d4830da6d15811 (patch) | |
tree | 97e58ceafe18f1b4b8451290208e37272b96f143 /gdb/testsuite | |
parent | 3a57b019fa3434f24e5b867c919f25901c01e7d1 (diff) | |
download | gdb-f0362bb3ef8c6f73cb670e2286d4830da6d15811.tar.gz |
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept gcc abi 2.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/namespace.exp | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 91284d2fba7..ba22bd8fe79 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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. 2004-01-01 Michael Chastain <mec.gnu@mindspring.com> diff --git a/gdb/testsuite/gdb.cp/namespace.exp b/gdb/testsuite/gdb.cp/namespace.exp index 228d791ad66..1720f0fc080 100644 --- a/gdb/testsuite/gdb.cp/namespace.exp +++ b/gdb/testsuite/gdb.cp/namespace.exp @@ -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" } } |