From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10450 invoked by alias); 7 Jan 2002 21:39:56 -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 10342 invoked from network); 7 Jan 2002 21:39:52 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 7 Jan 2002 21:39:52 -0000 Received: from redhat.com (reddwarf.cygnus.com [205.180.231.12]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id NAA27656; Mon, 7 Jan 2002 13:39:44 -0800 (PST) Message-ID: <3C3A1479.8314B614@redhat.com> Date: Mon, 07 Jan 2002 13:39:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sources.redhat.com Subject: Re: [RFA] Add new cmd line parameter "--pid" for attach. References: <3C39F0DA.762692AF@redhat.com> <7458-Mon07Jan2002222553+0200-eliz@is.elta.co.il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00114.txt.bz2 Eli Zaretskii wrote: > > > Date: Mon, 07 Jan 2002 11:02:50 -0800 > > From: Michael Snyder > > > > > > @item -core @var{file} > > > @itemx -c @var{file} > > > @cindex @code{--core} > > > @cindex @code{-c} > > > Use file @var{file} as a core dump to examine. > > > > > > This doesn't describe --core twice, and doesn't use @item -c twice. > > > > Look at the next lines after that. > > You mean, this? > > @item -c @var{number} > Connect to process ID @var{number}, as with the @code{attach} command > > If so, it's not entirely the same: the first -c says "-c FILE", the > second says "-c NUMBER". In your case, both say "-p NUMBER", so I > think it's confusing to have both of them. OK, I'll take out the second paragraph and commit it.