> On Thursday, 14 October 1999 at 12:05:48 +0530, Srinivasan. R wrote:
> > can you tell me how to debug an application with ptrace systemcall and
> > how can i fetch the processor register values stored at that particular
> > moment and how can i access the u-area  structure members along  with
> > the address of them.
> 
> Sorry, I haven't much experience in this.  But you'll probably get
> better results from -hackers.  I'm copying this reply there.

The short answer is "use gdb".  The slightly longer answer is "read 
ptrace(2)".

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to