I am porting a systems to qnx that partially includes some debugger
functionality. This functionality makes use of the ptrace system call.
However I cannot find the call back in the qnx headers or library. Given
that gdb relies on this I suspect that it must be hidden somewhere, or
there must be similar functionality.
Any pointers or help would be greatly appreciated.
Thanks,
–
Werner
Werner Vogels <vogels@nospam.cs.cornell.edu> wrote:
I am porting a systems to qnx that partially includes some debugger
functionality. This functionality makes use of the ptrace system call.
However I cannot find the call back in the qnx headers or library. Given
that gdb relies on this I suspect that it must be hidden somewhere, or
there must be similar functionality.
Any pointers or help would be greatly appreciated.
Check out cvs.qnx.com – the source to gdb is available there. In
particular, I think that procfs.c in:
http://cvs.qnx.com/cgi-bin/cvsweb.cgi/tools/gdb/gdb/
would probably be of most interest.
-David
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.