From owner-cvs-all Wed Dec 18 16:16:32 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 49D1937B404 for ; Wed, 18 Dec 2002 16:16:30 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E6CD343EC5 for ; Wed, 18 Dec 2002 16:16:24 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 54077 invoked by uid 1000); 19 Dec 2002 00:16:15 -0000 Date: Wed, 18 Dec 2002 16:16:15 -0800 (PST) From: Nate Lawson To: Alfred Perlstein Cc: hackers@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 Followups to hackers@. For those just tuning in, the patch under discussion is gdb.diff at: http://www.root.org/~nate/freebsd/ On Tue, 17 Dec 2002, Alfred Perlstein wrote: > I'd appreciate the default being such that when one quits gdb the kernel > begins running again instead of hanging for what seems like forever. The procedure now to get back to kernel running with a shared serial console/gdb line is gdb detach, quit, fire up terminal emulator on the serial port, and type "c" to ddb. I'm thinking of combining my patch such that if you enter gdb directly (via the new auto enter mechanism or a kernel option that defaults to GDB on break), doing a detach in gdb detaches and continues. States: "continue" "detach" ------------- DDB ----------- / (break) "gdb" \ running | \ "detach" / `------------ GDB ----------' (break/GDB_DEFAULT) Note that the transitions between GDB and DDB are not available if GDB is entered through the lower half of the loop. I'm open to suggestions on how to implement the lower half from a user's perspective. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message