PTRACE Programming on HP-UX
Can anyone please give me any good link where i can get some info on how to program with ptrace for HP-UX.
Please don't post links for 开发者_如何学运维linux ptrace.
Check the GDB sources. Not the vanilla GDB, but the one specifically patched by HP for HP-UX compatibility. It is available in the WDB package and it is GPLed and thus somehow HP must be complying with GPL by supplying its source code. I think this would be the sole definitive source of information on how to trace a process under HP-UX.
P.S. Here is the link for WDB download with sources.
There's always the man page. It looks like ptrace is deprecated in HP-UX 11iv3 and they prefer ttrace
.
精彩评论