tags:

views:

30

answers:

2

Hi,

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.

A: 

There's always the man page. It looks like ptrace is deprecated in HP-UX 11iv3 and they prefer ttrace.

Nathon
A: 

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.

Dummy00001