This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR/2386 [2/2]: MinGW attach to process without an exec file


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 <cgf-use-the-mailinglist-please@sourceware.org>
>> 
>> >> +    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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]