From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27153 invoked by alias); 13 Jan 2004 23:38:24 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27145 invoked from network); 13 Jan 2004 23:38:23 -0000 Received: from unknown (HELO hawaii.kealia.com) (209.3.10.89) by sources.redhat.com with SMTP; 13 Jan 2004 23:38:23 -0000 Received: by hawaii.kealia.com (Postfix, from userid 2049) id D2FBCC6BF; Tue, 13 Jan 2004 15:38:22 -0800 (PST) To: gdb-patches@sources.redhat.com Subject: Re: RFA/doc: Remove set follow-fork-mode ask, update docs References: <20040112154331.GA25559@nevyn.them.org> From: David Carlton Date: Tue, 13 Jan 2004 23:38:00 -0000 In-Reply-To: <20040112154331.GA25559@nevyn.them.org> (Daniel Jacobowitz's message of "Mon, 12 Jan 2004 10:43:31 -0500") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-01/txt/msg00357.txt.bz2 On Mon, 12 Jan 2004 10:43:31 -0500, Daniel Jacobowitz 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 * 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'"}