From: Michael Chastain Date: Fri, 2 Jan 2004 06:38:01 +0000 (+0000) Subject: 2004-01-01 Michael Chastain X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=d231d0b13f357988bdb6404c9c4ca0dd8cf42025;p=deliverable%2Fbinutils-gdb.git 2004-01-01 Michael Chastain * gdb.cp/namespace.exp: Accept gcc abi 2. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 91284d2fba..ba22bd8fe7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-01-01 Michael Chastain + + * gdb.cp/namespace.exp: Accept gcc abi 2. + 2004-01-01 Michael Chastain * gdb.cp/method.exp: Accept gcc abi 2. diff --git a/gdb/testsuite/gdb.cp/namespace.exp b/gdb/testsuite/gdb.cp/namespace.exp index 228d791ad6..1720f0fc08 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" } }