Date: Thu, 06 Feb 2003 12:53:10 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> Cc: freebsd-hackers@freebsd.org Subject: Re: Help with understanding process state, context switching and signals Message-ID: <xzpy94tpqvt.fsf@flood.ping.uio.no> In-Reply-To: <20030206112416.GA133@pm514-9.comsys.ntu-kpi.kiev.ua> (Andrey Simonenko's message of "Thu, 6 Feb 2003 13:24:16 %2B0200") References: <20030206112416.GA133@pm514-9.comsys.ntu-kpi.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> writes: > In short: I need to stop (suspend) some process from the kernel, when > that process is in user mode and get information about its general-purpose > registers, its VM structures, etc. Have you looked at ptrace(2)? That's what gdb(1) uses. You can get additional information about memory maps etc. from procfs. DES -- Dag-Erling Smorgrav - des@ofug.org 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?xzpy94tpqvt.fsf>