Thread context?

I’m trying to port a program that needs to get and set arbitrary thread contexts. Normally this is done with calls to ptrace(PTRACE_GETREGS, …) and ptrace(PTRACE_SETREGS, …) respectivley.

There appears to be no ptrace in NTO, what calls can I use to reproduce this functionality? I assume it’s possible, otherwise gdb wouldn’t work very well.

And yes, before you ask, I do have a good reason for needing to do this.

Cheers - Tony ‘Nicoya’ Mantler :slight_smile:

Tony Mantler | Proud ---- Days since the last
QNX Consulting | of our | 27 | | Record ---- “Gerbil Incident”