PR/2386 [2/2]: MinGW attach to process without an exec file
Sat Dec 29 20:15:00 GMT 2007
> Date: Sat, 29 Dec 2007 13:01:46 -0500
> From: Christopher Faylor <email@example.com>
> 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?
More information about the Gdb-patches