This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA/doc: Remove set follow-fork-mode ask, update docs


On Mon, 12 Jan 2004 10:43:31 -0500, Daniel Jacobowitz <drow@mvista.com> said:

> A customer pointed out that follow-fork-mode works on GNU/Linux now,
> but the documentation says it only works on HP/UX.  Oops!  Also,
> "set follow-fork-mode ask" has been an error for as long as the code
> has existed; it's unnecessary (because of catch fork/catch vfork),
> so let's just remove it.

gdb.base/completion.exp had to be updated, too; I've committed the
attached as obvious.

David Carlton
carlton@kealia.com

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

	* gdb.base/completion.exp: Don't look for 'ask' after set
	follow-fork-mode.  Update copyright.

Index: completion.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/completion.exp,v
retrieving revision 1.19
diff -u -p -r1.19 completion.exp
--- completion.exp	9 Dec 2003 18:19:20 -0000	1.19
+++ completion.exp	13 Jan 2004 23:37:45 -0000
@@ -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
 # 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"
 sleep 1
 gdb_expect  {
-        -re "ask.*child.*parent.*$gdb_prompt set follow-fork-mode $"\
+        -re "child.*parent.*$gdb_prompt set follow-fork-mode $"\
             { send_gdb "\n"
               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'"}
                       -re "Ambiguous item \"\"\\..*$gdb_prompt $"\
                                         { pass "complete 'set follow-fork-mode'"}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]