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] |
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?
I wasn't talking about 9x, there we always have ToolHelp32 available. I meant better ways to get at the full path to the image from a pid *on NT* without using NtQueryObject (ObjectNameInfo), which I don't think we can rely on to always work, or relying on having psapi.dll available.
-- Pedro Alves
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |