aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-07-06 22:51:21 +0000
committerMichael Snyder <msnyder@vmware.com>2001-07-06 22:51:21 +0000
commit4c8a82de3f9dd32ea88c691888094428430e83c0 (patch)
treeeb277343118a358ac93a46eab36e34b739408b55 /gdb/testsuite/gdb.base
parent00d4fce629717a444cd3a75b1b9f03b517dbc961 (diff)
downloadgdb-4c8a82de3f9dd32ea88c691888094428430e83c0.zip
gdb-4c8a82de3f9dd32ea88c691888094428430e83c0.tar.gz
gdb-4c8a82de3f9dd32ea88c691888094428430e83c0.tar.bz2
2001-07-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/completion.exp: Don't assume that break.c is the only source file that may contain functions named "marker".
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/completion.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/completion.exp b/gdb/testsuite/gdb.base/completion.exp
index 8c8f676..f54a50a 100644
--- a/gdb/testsuite/gdb.base/completion.exp
+++ b/gdb/testsuite/gdb.base/completion.exp
@@ -576,7 +576,7 @@ gdb_expect {
-re "marker1.*$gdb_prompt info func marker$"\
{ send_gdb "\n"
gdb_expect {
- -re "All functions matching regular expression \"marker\":\r\n\r\nFile.*break.c:\r\nint marker1\\(\\);\r\nint marker2\\(int\\).*marker3\\(char.*char.*\\).*marker4\\(long int\\);\r\n$gdb_prompt $"\
+ -re "All functions matching regular expression \"marker\":.*File.*break.c:\r\nint marker1\\(\\);\r\nint marker2\\(int\\).*marker3\\(char.*char.*\\).*marker4\\(long int\\);.*$gdb_prompt $"\
{ pass "complete 'info func mar'"}
-re ".*$gdb_prompt $" { fail "complete 'info func mar'"}
timeout {fail "(timeout) complete 'info func mar'"}