From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27652 invoked by alias); 30 Dec 2007 17:08:34 -0000 Received: (qmail 27643 invoked by uid 22791); 30 Dec 2007 17:08:34 -0000 X-Spam-Check-By: sourceware.org Received: from pool-96-233-37-220.bstnma.fios.verizon.net (HELO ednor.cgf.cx) (96.233.37.220) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 30 Dec 2007 17:08:30 +0000 Received: by ednor.cgf.cx (Postfix, from userid 201) id 58D712B352; Sun, 30 Dec 2007 12:08:28 -0500 (EST) Date: Sun, 30 Dec 2007 20:37: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: <20071230170827.GA2494@ednor.casa.cgf.cx> Mail-Followup-To: gdb-patches@sourceware.org References: <47744F9C.8040604@portugalmail.pt> <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> 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/msg00478.txt.bz2 On Sun, Dec 30, 2007 at 06:20:00AM +0200, Eli Zaretskii wrote: >> Date: Sat, 29 Dec 2007 21:57:54 -0500 >> From: Christopher Faylor >> >> I don't think there is any reason to now add Windows 9x support for >> features that have been missing for years so I didn't do that. I >> did issue an error when psapi.dll was not found however. >> [...] >> + if (psapi_loaded < 0) >> + 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." ? Note, that this is actually an enhancement for what has existed in gdb for years. I don't recall anyone ever complaining that things didn't work in Windows 9x. But, then, unlike the nearly infinite number people who use gdb on Windows 9x on an hourly basis, I've always found gdb to be just barely usable on those systems due to OS bugs which result in BSOD. cgf