diff options
author | Michael Chastain <mec@google.com> | 2003-02-06 02:04:21 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2003-02-06 02:04:21 +0000 |
commit | 8b8d75257939d006ba4c7a530ada3831f90d315d (patch) | |
tree | 20d5bd438688eb1b7c26ab1174964653e77e993b | |
parent | 43e9b450760476fc6e2904554530ec9dd3bb42eb (diff) | |
download | gdb-8b8d75257939d006ba4c7a530ada3831f90d315d.zip gdb-8b8d75257939d006ba4c7a530ada3831f90d315d.tar.gz gdb-8b8d75257939d006ba4c7a530ada3831f90d315d.tar.bz2 |
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/gdb.c++/local.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.c++/local.exp b/gdb/testsuite/gdb.c++/local.exp index 5a375c1..21ceb7a 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 |