From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18016 invoked by alias); 31 Dec 2007 04:13:41 -0000 Received: (qmail 18008 invoked by uid 22791); 31 Dec 2007 04:13:41 -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; Mon, 31 Dec 2007 04:13:12 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-229-27.inter.net.il [84.229.229.27]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EMV37466 (AUTH halo1); Mon, 31 Dec 2007 06:13:01 +0200 (IST) Date: Mon, 31 Dec 2007 06:35:00 -0000 Message-Id: From: Eli Zaretskii To: gdb-patches@sourceware.org In-reply-to: <20071230170827.GA2494@ednor.casa.cgf.cx> (message from Christopher Faylor on Sun, 30 Dec 2007 12:08:28 -0500) Subject: Re: PR/2386 [2/2]: MinGW attach to process without an exec file Reply-to: Eli Zaretskii 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> <20071230170827.GA2494@ednor.casa.cgf.cx> 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: 2007-12/txt/msg00481.txt.bz2 > 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. > Note, that this is actually an enhancement for what has existed in gdb > for years. Sure, but we want to improve things, right?