From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1205 invoked by alias); 5 Jan 2008 12:46:23 -0000 Received: (qmail 1195 invoked by uid 22791); 5 Jan 2008 12:46:22 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 05 Jan 2008 12:46:02 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-71-78.inter.net.il [80.230.71.78]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EOF48439 (AUTH halo1); Sat, 5 Jan 2008 14:45:57 +0200 (IST) Date: Sat, 05 Jan 2008 12:46:00 -0000 Message-Id: From: Eli Zaretskii To: Pedro Alves CC: gdb-patches@sourceware.org In-reply-to: <477D122A.4060405@codesourcery.com> (message from Pedro Alves on Thu, 03 Jan 2008 16:49:46 +0000) Subject: Re: --pid and --core Reply-to: Eli Zaretskii References: <477D122A.4060405@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00075.txt.bz2 > Date: Thu, 03 Jan 2008 16:49:46 +0000 > From: Pedro Alves > > If the user specifies, > > gdb program --pid=3333, > > gdb has no business trying to look for a core file named 3333. > > The patch avoids these confusing messages [1] when the user specifies > an invalid or non-existing pid: Thanks, but please make the appropriate changes in the manual as well. It currently says: `-pid NUMBER' `-p NUMBER' Connect to process ID NUMBER, as with the `attach' command. If there is no such process, GDB will attempt to open a core file named NUMBER.