aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-06-04 21:36:06 +0000
committerRoland McGrath <roland@gnu.org>2004-06-04 21:36:06 +0000
commitf1ed375c8541c42e7f78865b5c497244699097b1 (patch)
tree935bf680254dbb76a080b86867eb046cfa4e16ac /gdb
parentb9b5d7ea4de09f50277394ab1063cbb28d9cdfc9 (diff)
downloadfsf-binutils-gdb-f1ed375c8541c42e7f78865b5c497244699097b1.zip
fsf-binutils-gdb-f1ed375c8541c42e7f78865b5c497244699097b1.tar.gz
fsf-binutils-gdb-f1ed375c8541c42e7f78865b5c497244699097b1.tar.bz2
2004-06-04 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp (fetch_auxv): Consume output fully through next gdb prompt.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.base/auxv.exp16
1 files changed, 10 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp
index 3a509b9..b501470 100644
--- a/gdb/testsuite/gdb.base/auxv.exp
+++ b/gdb/testsuite/gdb.base/auxv.exp
@@ -80,14 +80,17 @@ proc fetch_auxv {test} {
-re "info auxv\[\r\n\]+" {
exp_continue
}
- -ex "The program has no auxiliary information now" {
+ -re "The program has no auxiliary information now.*$" {
set bad 1
+ exp_continue
}
- -ex "Auxiliary vector is empty" {
+ -re "Auxiliary vector is empty.*$" {
set bad 1
+ exp_continue
}
- -ex "No auxiliary vector found" {
+ -re "No auxiliary vector found.*$" {
set bad 1
+ exp_continue
}
-re "^\[0-9\]+\[ \t\]+(AT_\[^ \t\]+)\[^\r\n\]+\[\r\n\]+" {
lappend auxv_lines $expect_out(0,string)
@@ -99,12 +102,13 @@ proc fetch_auxv {test} {
lappend auxv_lines $expect_out(0,string)
exp_continue
}
- -re ".*$gdb_prompt $" {
- incr bad
- }
-re "^\[^\r\n\]+\[\r\n\]+" {
warning "Unrecognized output: $expect_out(0,string)"
set bad 1
+ exp_continue
+ }
+ -re ".*$gdb_prompt $" {
+ incr bad
}
}] != 0} {
return {}