From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7068 invoked by alias); 7 Jan 2002 20:28:38 -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 7040 invoked from network); 7 Jan 2002 20:28:35 -0000 Received: from unknown (HELO mirapoint.inter.net.il) (192.114.186.20) by sources.redhat.com with SMTP; 7 Jan 2002 20:28:35 -0000 Received: from zaretsky ([192.116.55.139]) by mirapoint.inter.net.il (Mirapoint) with ESMTP id BDC22221; Mon, 7 Jan 2002 22:28:19 +0200 (IST) Date: Mon, 07 Jan 2002 12:28:00 -0000 From: "Eli Zaretskii" To: msnyder@redhat.com Message-Id: <7458-Mon07Jan2002222553+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: gdb-patches@sources.redhat.com In-reply-to: <3C39F0DA.762692AF@redhat.com> (message from Michael Snyder on Mon, 07 Jan 2002 11:02:50 -0800) Subject: Re: [RFA] Add new cmd line parameter "--pid" for attach. Reply-to: Eli Zaretskii References: <3C39F0DA.762692AF@redhat.com> X-SW-Source: 2002-01/txt/msg00108.txt.bz2 > 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.