2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Fri, 2 Jan 2004 06:38:01 +0000 (06:38 +0000)
committerMichael Chastain <mec@google.com>
Fri, 2 Jan 2004 06:38:01 +0000 (06:38 +0000)
* gdb.cp/namespace.exp: Accept gcc abi 2.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/namespace.exp

index 91284d2..ba22bd8 100644 (file)
@@ -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>
index 228d791..1720f0f 100644 (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" }
 }