diff options
author | Michael Chastain <mec.gnu@mindspring.com> | 2003-02-06 02:11:01 +0000 |
---|---|---|
committer | Michael Chastain <mec.gnu@mindspring.com> | 2003-02-06 02:11:01 +0000 |
commit | 37983a2eabcdc8aec3ec30044ed2585fd14b8f43 (patch) | |
tree | b680e19bc7142239025b2c0ca59f76b1eae598da | |
parent | d6b627efdc5d6e39fd884789faecbabe3b9f1141 (diff) | |
download | gdb-37983a2eabcdc8aec3ec30044ed2585fd14b8f43.tar.gz |
2003-02-05 Michael Chastain <mec@shout.net>
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.c++/local.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index fe9194e8764..ef2d7b331fc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-02-05 Michael Chastain <mec@shout.net> + + * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept + output for configurations with gcc 2.95.3. + 2003-02-05 Keith Seitz <keiths@redhat.com> Andrew Cagney <ac131313@redhat.com> diff --git a/gdb/testsuite/gdb.c++/local.exp b/gdb/testsuite/gdb.c++/local.exp index 5a375c1bec0..21ceb7ae3db 100644 --- a/gdb/testsuite/gdb.c++/local.exp +++ b/gdb/testsuite/gdb.c++/local.exp @@ -124,7 +124,7 @@ gdb_expect { -re "No symbol \"Local\" in current context.*${gdb_prompt} $" { pass "Local out of scope" } - -re "ptype Local${eol}type = class Local {${eol} public:${eol} int loc1;${eol}${eol} Local & operator=\\(Local const&\\);${eol} Local\\(Local const&\\);${eol} Local\\(\\);${eol} char loc_foo\\(char\\);${eol}}${eol}${gdb_prompt} " { + -re "ptype Local${eol}type = class Local {${eol} public:${eol} int loc1;${eol}.*${eol} char loc_foo\\(char\\);${eol}}${eol}${gdb_prompt} " { # GCC emits STABS debugging information in a way that doesn't # properly preserve the scoping of local classes. I think # we'd need to start using Sun's extensions to stabs to get |