From owner-freebsd-hackers Sat Jan 30 13:48:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19369 for freebsd-hackers-outgoing; Sat, 30 Jan 1999 13:48:41 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA19360 for ; Sat, 30 Jan 1999 13:48:36 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id NAA09503; Sat, 30 Jan 1999 13:48:00 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma009501; Sat, 30 Jan 99 13:47:42 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id NAA10813; Sat, 30 Jan 1999 13:47:42 -0800 (PST) From: Archie Cobbs Message-Id: <199901302147.NAA10813@bubba.whistle.com> Subject: Re: socketpair(2) In-Reply-To: from Jamie Howard at "Jan 30, 99 12:26:01 pm" To: howardjp@dragon.ham.muohio.edu (Jamie Howard) Date: Sat, 30 Jan 1999 13:47:42 -0800 (PST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jamie Howard writes: > My question is, how can I find out what is going wrong inside there? What > should I have and do when I try to modify the kernel? Any suggestions > from any other novice kernel hackers out there? Without commenting on the wisdom of your idea (others can do that), one thing that's definitely helpful when modifying the kernel is to get a remote GDB session going. This lets you run GDB in its full glory on the kernel. You can single step, list files, etc. Check out the FreeBSD handbook for how to do this. You need two machines to do this of course. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message