SD <sujatadoshi@gmail.com> wrote:> Hi
> I am trying to dynamically monitor an application in Wine. Specifically
> I would like to know
> if there is some sort of 'ptrace' like API which will allow me to
> attach to a windows executable
> single step through the program and obtain the contents of the
> registers and the instruction pointer as
> the single stepping proceeds. I know I could manually single step via
> winedbg but I would like to automate
> this process.
AFAIK, gdb can be attached to winedbg. Maybe gdb can, in some way, be
automated to do this task. Alternatively, there might be native windows
applications that do what you want. It would be interesting to see if
those work under wine.
Daniel