summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi
diff options
context:
space:
mode:
authorMichael Chastain <mec.gnu@mindspring.com>2002-03-05 19:48:18 +0000
committerMichael Chastain <mec.gnu@mindspring.com>2002-03-05 19:48:18 +0000
commit9cd34307113691ccc39d13163546824ca817e564 (patch)
tree40e20479e8cb21c5ace565e180d8a51264ce0009 /gdb/testsuite/gdb.mi
parent594f24118e9fa7bdaa5be86494623ea6644272a7 (diff)
downloadgdb-9cd34307113691ccc39d13163546824ca817e564.tar.gz
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.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-cmd.exp4
-rw-r--r--gdb/testsuite/gdb.mi/mi0-var-cmd.exp4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp
index d8f960773d4..b157aa3e7a6 100644
--- a/gdb/testsuite/gdb.mi/mi-var-cmd.exp
+++ b/gdb/testsuite/gdb.mi/mi-var-cmd.exp
@@ -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
diff --git a/gdb/testsuite/gdb.mi/mi0-var-cmd.exp b/gdb/testsuite/gdb.mi/mi0-var-cmd.exp
index 05db481d342..d28186c8c6d 100644
--- a/gdb/testsuite/gdb.mi/mi0-var-cmd.exp
+++ b/gdb/testsuite/gdb.mi/mi0-var-cmd.exp
@@ -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