From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 975 invoked by alias); 7 Jan 2002 19:07:59 -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 930 invoked from network); 7 Jan 2002 19:07:54 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 7 Jan 2002 19:07:54 -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 LAA10612; Mon, 7 Jan 2002 11:07:45 -0800 (PST) Message-ID: <3C39F0DA.762692AF@redhat.com> Date: Mon, 07 Jan 2002 11:07: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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00104.txt.bz2 Eli Zaretskii wrote: > > On Sun, 6 Jan 2002, Michael Snyder wrote: > > > Eli Zaretskii wrote: > > > > > > > Date: Sat, 05 Jan 2002 13:07:42 -0800 > > > > From: Michael Snyder > > > > > > > > + @item -pid @ver{number} > > > > + @itemx -p @var{number} > > > > + @cindex @code{--pid} > > > > + @cindex @code{-p} > > > > + Use @var{number} as a process ID to attach to. > > > > + > > > > + @item -p @var{number} > > > > + Connect to process ID @var{number}, as with the @code{attach} command. > > > > + If there is no such process, @value{GDBN} will attempt to open a core > > > > + file named @var{number}. > > > > > > This seems to describe the new option twice. You probably meant to > > > merge the two description parts, and eliminate the second "@item -p". > > > > Actually, I just copied what was there already for the --core option. > > I'm not sure what you mean. I looked in gdb.texinfo, and all I see for > "--core" there is this: > > @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.