From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17963 invoked by alias); 31 Dec 2007 06:35:49 -0000 Received: (qmail 17955 invoked by uid 22791); 31 Dec 2007 06:35:48 -0000 X-Spam-Check-By: sourceware.org Received: from pool-72-93-227-103.bstnma.fios.verizon.net (HELO ednor.cgf.cx) (72.93.227.103) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Dec 2007 06:35:36 +0000 Received: by ednor.cgf.cx (Postfix, from userid 201) id 660772B352; Mon, 31 Dec 2007 01:35:34 -0500 (EST) Date: Mon, 31 Dec 2007 08:12:00 -0000 From: Christopher Faylor To: gdb-patches@sourceware.org Subject: Re: PR/2386 [2/2]: MinGW attach to process without an exec file Message-ID: <20071231063534.GA7572@ednor.casa.cgf.cx> Mail-Followup-To: gdb-patches@sourceware.org References: <20071228013457.GB7602@ednor.casa.cgf.cx> <477579E0.5010809@portugalmail.pt> <20071229035030.GC30002@adacore.com> <47764306.4060903@portugalmail.pt> <20071229180146.GC24999@ednor.casa.cgf.cx> <4776CDA3.90204@portugalmail.pt> <20071230025754.GA26252@ednor.casa.cgf.cx> <20071230170827.GA2494@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) 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: 2007-12/txt/msg00482.txt.bz2 On Mon, Dec 31, 2007 at 06:13:01AM +0200, Eli Zaretskii wrote: >> Date: Sun, 30 Dec 2007 12:08:28 -0500 >> From: Christopher Faylor >> >> >> + warning(_("working version of psapi.dll not found. DLL and executable filenames may not be available.")); >> > >> >This is not a useful message, IMHO. I, as a user, would not know what >> >to do with it. We need to says specifically that attach without an >> >exec file name will not work, and that users should use `file' >> >etc. commands to work around. >> >> Could you give me some exact wording, please? Is this adequate? >> >> "working version of psapi.dll not found. Use `file' and `dll' commands to specifically load symbols." >> >> ? > >IMO, the first sentence is a technicality that doesn't help. How >about the following instead? > > Cannot find executable file by PID. Use "file" and "dll" commands > to load symbols. That's not entirely accurate either since it's not just the ability to load executable files by pid that is affected, it's also the ability to figure out any dll names loaded in the executable. Cannot determine correspondence between load addresses and dll/executable filenames. Use "file" and "dll" commands to load symbols. ? >> Note, that this is actually an enhancement for what has existed in gdb >> for years. > >Sure, but we want to improve things, right? Uh, yeah. That's why I added the message. I wasn't sure you quite understood that, for the most part, this wasn't new functionality. cgf