diff options
author | Michael Chastain <mec@google.com> | 2002-03-05 19:48:18 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2002-03-05 19:48:18 +0000 |
commit | b43df9952bf5c1f9884c928f71f57607d20ba3c4 (patch) | |
tree | d859a2a1721f9b655f17fbaed9bd156e1e613f3f /gdb | |
parent | 3dea6720b37047a4eb4a7a2c18cef53471fbf0d6 (diff) | |
download | gdb-b43df9952bf5c1f9884c928f71f57607d20ba3c4.zip gdb-b43df9952bf5c1f9884c928f71f57607d20ba3c4.tar.gz gdb-b43df9952bf5c1f9884c928f71f57607d20ba3c4.tar.bz2 |
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')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-var-cmd.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi0-var-cmd.exp | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2b75520..cdcdeca 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp index d8f9607..b157aa3 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 05db481..d28186c 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 |