From owner-cvs-all Tue Dec 17 17:58:41 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAEEE37B404; Tue, 17 Dec 2002 17:58:39 -0800 (PST) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6903643EB2; Tue, 17 Dec 2002 17:58:38 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <20021218015836003006kr6je>; Wed, 18 Dec 2002 01:58:37 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA24730; Tue, 17 Dec 2002 17:58:36 -0800 (PST) Date: Tue, 17 Dec 2002 17:58:35 -0800 (PST) From: Julian Elischer To: Alfred Perlstein Cc: Nate Lawson , Archie Cobbs , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 i386-gdbstub.c In-Reply-To: <20021218001104.GC23663@elvis.mu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 17 Dec 2002, Alfred Perlstein wrote: > So it seems that your patch actually makes gdb a lot safer, while the > sysctl preserves the old weirder behavior that some people have come > to depend on. > > If so, I like it. :) > Ok so here's how I generally use ut: boot. get page fault.. drop into ddb run various tests to see what might be wrong.. (e.g. check krnel trace buffers, ps, backtrace a few processes) if I decide I need more.. I fire up gdb on teh serial link and type gdb\r s\r then I'm in gdb when I finish I expect 'detatch' to put me back where I started (in ddb) so I can check things I forgot, and to type 'panic' so I can take a coredump if needs be.. If this doesn't work for you, how did you get into gdb? boot -g? if you can tell how you got into gdb you can figure out where to return to. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message