2002-03-04 Michael Chastain <mec@shout.net>
authorMichael Chastain <mec@google.com>
Tue, 5 Mar 2002 19:48:18 +0000 (19:48 +0000)
committerMichael Chastain <mec@google.com>
Tue, 5 Mar 2002 19:48:18 +0000 (19:48 +0000)
* gdb.mi/mi-var-cmd.exp: In test "create local variable func",
accommodate gcc v3 function signature.
* gdb.mi/mi0-var-cmd-exp: Ditto.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-cmd.exp
gdb/testsuite/gdb.mi/mi0-var-cmd.exp

index 2b75520059aab3346af130482827e5e25eb460d4..cdcdeca95ef4f1cfeba96935932bd5a3852e8832 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-04  Michael Chastain  <mec@shout.net>
+
+       * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
+       accommodate gcc v3 function signature.
+       * gdb.mi/mi0-var-cmd-exp: Ditto.
+
 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
 
        * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
index d8f960773d434847277833462d0555c5d6a81891..b157aa3e7a665a33300abc9e525cb8529eede5bb 100644 (file)
@@ -1,4 +1,4 @@
-#   Copyright (C) 1999 2000 Cygnus Solutions
+#   Copyright (C) 1999, 2000, 2002 Cygnus Solutions
 #
 # 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
@@ -136,7 +136,7 @@ mi_gdb_test "-var-create lpsimple * lpsimple" \
        "create local variable lpsimple"
 
 mi_gdb_test "-var-create func * func" \
-       "\\^done,name=\"func\",numchild=\"0\",type=\"void \\(\\*\\)\\(\\)\"" \
+       "\\^done,name=\"func\",numchild=\"0\",type=\"void \\(\\*\\)\\((void|)\\)\"" \
        "create local variable func"
 
 # Test: c_variable-1.5
index 05db481d3427063414bd211330c13d97abc8d634..d28186c8c6d621516333431bb328744c3be1469d 100644 (file)
@@ -1,4 +1,4 @@
-#   Copyright (C) 1999 2000 Cygnus Solutions
+#   Copyright (C) 1999, 2000, 2002 Cygnus Solutions
 #
 # 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
@@ -136,7 +136,7 @@ mi_gdb_test "-var-create lpsimple * lpsimple" \
        "create local variable lpsimple"
 
 mi_gdb_test "-var-create func * func" \
-       "\\^done,name=\"func\",numchild=\"0\",type=\"void \\(\\*\\)\\(\\)\"" \
+       "\\^done,name=\"func\",numchild=\"0\",type=\"void \\(\\*\\)\\((void|)\\)\"" \
        "create local variable func"
 
 # Test: c_variable-1.5
This page took 0.04353 seconds and 4 git commands to generate.