Re: ntdll: Implement few Dbg* functions.

2006-01-03 Thread Eric Pouech
Eric Pouech wrote: Eric Pouech wrote: IMO, the Ui ones seem to be rather old (NT4 or something) whereas the ones I'm talking about are more recent (XP), but seem better defined (API wise). For example, only XP version seems to provide the wait for debug object and continue APIs. That's why it

Re: ntdll: Implement few Dbg* functions.

2005-12-19 Thread Eric Pouech
Eric Pouech wrote: IMO, the Ui ones seem to be rather old (NT4 or something) whereas the ones I'm talking about are more recent (XP), but seem better defined (API wise). For example, only XP version seems to provide the wait for debug object and continue APIs. That's why it seems to me more in

Re: ntdll: Implement few Dbg* functions.

2005-12-19 Thread Eric Pouech
Vitaliy Margolen wrote: Sunday, December 18, 2005, 2:06:55 PM, Eric Pouech wrote: The problem here is that we need handle to the debug object which we don't have and don't have. And I haven't found how to get a handle to it either. NtCreateDebugObject we already have a context object (for deb

Re: ntdll: Implement few Dbg* functions.

2005-12-18 Thread Vitaliy Margolen
Sunday, December 18, 2005, 2:06:55 PM, Eric Pouech wrote: >> The problem here is that we need handle to the debug object which we >> don't have and don't have. And I haven't found how to get a handle to it >> either. > NtCreateDebugObject > we already have a context object (for debugger) in server,

Re: ntdll: Implement few Dbg* functions.

2005-12-18 Thread Eric Pouech
The problem here is that we need handle to the debug object which we don't have and don't have. And I haven't found how to get a handle to it either. NtCreateDebugObject we already have a context object (for debugger) in server, it shouldn't be too hard to implement it that way. A+ -- Eric Pou

Re: ntdll: Implement few Dbg* functions.

2005-12-18 Thread Vitaliy Margolen
Sunday, December 18, 2005, 1:04:33 PM, Eric Pouech wrote: > Vitaliy Margolen wrote: >> ChangeLog: >> ntdll: Implement few Dbg* functions. >> kernel32: Use new Dbg* functions instead of server calls. >> +status = DbgUiDebugActiveProcess( hProc ); >> +

Re: ntdll: Implement few Dbg* functions.

2005-12-18 Thread Eric Pouech
Vitaliy Margolen wrote: ChangeLog: ntdll: Implement few Dbg* functions. kernel32: Use new Dbg* functions instead of server calls. +status = DbgUiDebugActiveProcess( hProc ); +status = DbgUiStopDebugging( hProc ); -if (self) DbgBreakPoint(); I wonder if we shouldn'