From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6810 invoked by alias); 7 Jan 2002 09:20:32 -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 6728 invoked from network); 7 Jan 2002 09:20:28 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 7 Jan 2002 09:20:28 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id LAA10064; Mon, 7 Jan 2002 11:19:29 +0200 (IST) Date: Mon, 07 Jan 2002 01:20:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Michael Snyder cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Add new cmd line parameter "--pid" for attach. In-Reply-To: <3C392F5B.792C@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-01/txt/msg00095.txt.bz2 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.