Date: Fri, 15 Oct 1999 08:56:50 -0700 From: Mike Smith <mike@smith.net.au> To: Greg Lehey <grog@lemis.com> Cc: srii_u1@yahoo.com, FreeBSD Hackers <hackers@FreeBSD.ORG> Subject: Re: debugging Message-ID: <199910151556.IAA03397@dingo.cdrom.com> In-Reply-To: Your message of "Fri, 15 Oct 1999 11:10:24 %2B1000." <19991015111024.37498@mojave.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910151556.IAA03397>