+2003-04-16 Elena Zannoni <ezannoni@redhat.com>
+
+ * gdb.base/completion.exp: Make 'info func mark' complete on 'info
+ func marke' instead. Update test name.
+
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
timeout { fail "(timeout) complete 'file ./gdb.base/compl'" }
}
-send_gdb "info func mark\t"
+send_gdb "info func marke\t"
sleep 1
gdb_expect {
- -re "^info func mark.*er$"\
+ -re "^info func marke.*r$"\
{
send_gdb "\t\t"
sleep 3
{ send_gdb "\n"
gdb_expect {
-re "All functions matching regular expression \"marker\":.*File.*break.c:\r\nint marker1\\((void|)\\);\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'"}
+ { pass "complete 'info func marke'"}
+ -re ".*$gdb_prompt $" { fail "complete 'info func marke'"}
+ timeout {fail "(timeout) complete 'info func marke'"}
}
}
- -re ".*$gdb_prompt $" { fail "complete 'info func mar'"}
- timeout {fail "(timeout) complete 'info func mar'"}
+ -re ".*$gdb_prompt $" { fail "complete 'info func marke'"}
+ timeout {fail "(timeout) complete 'info func marke'"}
}
}
- -re ".*$gdb_prompt $" { fail "complete 'info func mar'" }
- timeout { fail "(timeout) complete 'info func mar'" }
+ -re ".*$gdb_prompt $" { fail "complete 'info func marke'" }
+ timeout { fail "(timeout) complete 'info func marke'" }
}