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: Sat, 29 Dec 2007 13:01:46 -0500
> From: Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
> 
> For the rest of the code, have you investigated
> "NtQuerySystemInformation"?  I don't know if it contains everything
> needed but, despite what the Microsoft site says, it seems to have had a
> stable interface for years and I don't see how Microsoft could change
> the functionality without breaking lots of stuff.

Since in this case Nt* APIs are used for Windows NT, I think the
chances of Microsoft changing that API in that OS are strictly zero.
So it should safe to use that on NT.  On other version of Windows, I
think there are documented solutions that don't use DLLs which might
be absent.  Pedro, is that correct, or did I miss something?


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