From d231d0b13f357988bdb6404c9c4ca0dd8cf42025 Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Fri, 2 Jan 2004 06:38:01 +0000 Subject: [PATCH] 2004-01-01 Michael Chastain * gdb.cp/namespace.exp: Accept gcc abi 2. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.cp/namespace.exp | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 91284d2fba7..ba22bd8fe79 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 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" } } -- 2.30.2