[RFA/TESTSUITE] completion.exp info func
Elena Zannoni
ezannoni@redhat.com
Tue Apr 8 23:06:00 GMT 2003
There are several symbols that start with "mark" in some glibc's (at
least that is where I think they come from), and this can create
problems, with the test as is. Completing on "marke" seems to work.
(gdb) info func mark <-- TAB here produces
mark_removed.0 marker1 marker3
marker.0 marker2 marker4
(gdb) info func marke <-- TAB here produces
(gdb) info func marker <-- TAB TAB here produces
marker.0 marker1 marker2 marker3 marker4
This last output satisfies the test, even though marker.0 is not in break.c.
elena
* gdb.base/completion.exp: Make 'info func mark' complete on 'info
func marke' instead.
Index: completion.exp
===================================================================
RCS file: /cvs/uberbaum/gdb/testsuite/gdb.base/completion.exp,v
retrieving revision 1.14
diff -u -p -r1.14 completion.exp
--- completion.exp 4 Jan 2003 22:37:49 -0000 1.14
+++ completion.exp 8 Apr 2003 22:56:49 -0000
@@ -694,10 +694,10 @@ gdb_expect {
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
More information about the Gdb-patches
mailing list