Operating System - HP-UX
1847808 Members
3171 Online
104021 Solutions
New Discussion

Debugger Info(ttrace related)

 
Sudheer Kumar
Occasional Contributor

Debugger Info(ttrace related)

Hi,
I am working on porting some debuggers from Solaris to HP-UX. I got some problem in getting registers and setting registers for the given process id. In SOLARIS, We set PCSREG and write in to process file descriptor. It writes register set in to the process.
In the LINUX, We are using ptrace, request type is PTRACE_SETREGS for writing register set in to the process.

I havn't found the same type of commands or requests in TTRACE requests. Could pls tell me how can i get the register set and set the register contents.


Advance Thanks
We make the difference