2004-01-13 David Carlton <carlton@kealia.com>

* gdb.base/completion.exp: Don't look for 'ask' after set
	follow-fork-mode.  Update copyright.
This commit is contained in:
David Carlton
2004-01-13 23:39:54 +00:00
parent 3a3b9fbefc
commit 2970ae720e

View File

@ -1,4 +1,4 @@
# Copyright 1998, 1999, 2002, 2003 Free Software Foundation, Inc. # Copyright 1998, 1999, 2002, 2003, 2004 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -710,10 +710,10 @@ gdb_expect {
send_gdb "set follow-fork-mode \t\t" send_gdb "set follow-fork-mode \t\t"
sleep 1 sleep 1
gdb_expect { gdb_expect {
-re "ask.*child.*parent.*$gdb_prompt set follow-fork-mode $"\ -re "child.*parent.*$gdb_prompt set follow-fork-mode $"\
{ send_gdb "\n" { send_gdb "\n"
gdb_expect { gdb_expect {
-re "Requires an argument.*ask.*child.*parent.*$gdb_prompt $"\ -re "Requires an argument.*child.*parent.*$gdb_prompt $"\
{ pass "complete 'set follow-fork-mode'"} { pass "complete 'set follow-fork-mode'"}
-re "Ambiguous item \"\"\\..*$gdb_prompt $"\ -re "Ambiguous item \"\"\\..*$gdb_prompt $"\
{ pass "complete 'set follow-fork-mode'"} { pass "complete 'set follow-fork-mode'"}