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


> Date: Fri, 28 Dec 2007 01:21:32 +0000
> From: Pedro Alves <pedro_alves@portugalmail.pt>
> CC: Bogdan Slusarczyk <bodzio131@op.pl>
> 
> This patch fills the gap.  The patch covers 9x/NT, and tries to
> work even if psapi.dll isn't present, as it isn't part of
> the OS.  To do that, it has to resort to non documented
> NT funcionality...

Sorry, I don't understand: NT functionality is not relevant to Windows
9x, is it?  So could you please say in more detail what undocumented
APIs you had in mind, and why are they necessary on modern Windows
systems?

> I'd be very happy if someone could
> point me at better ways to get at executable from a PID on
> Windows, or at a filename from a file handle.

Better ways than what?  Perhaps I misunderstood the patch, but it
looks like you are using Process32First on Windows 9x, which is a
perfectly good way.  What am I missing?


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