From owner-freebsd-questions Tue Sep 2 08:02:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA10414 for questions-outgoing; Tue, 2 Sep 1997 08:02:40 -0700 (PDT) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA10407 for ; Tue, 2 Sep 1997 08:02:37 -0700 (PDT) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id KAA21790; Tue, 2 Sep 1997 10:02:32 -0500 (CDT) Received: (jlemon@localhost) by right.PCS (8.6.13/8.6.4) id KAA03678; Tue, 2 Sep 1997 10:01:40 -0500 Message-ID: <19970902100140.38649@right.PCS> Date: Tue, 2 Sep 1997 10:01:40 -0500 From: Jonathan Lemon To: ETX-B-SL Martti Kuparinen Cc: questions@FreeBSD.ORG Subject: Re: Ending remote kernel debugging References: <199709021259.OAA00929@kk662.kk.etx.ericsson.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <199709021259.OAA00929@kk662.kk.etx.ericsson.se>; from ETX-B-SL Martti Kuparinen on Sep 09, 1997 at 02:59:57PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sep 09, 1997 at 02:59:57PM +0200, ETX-B-SL Martti Kuparinen wrote: > I am debugging my kernel remotely with gdb as described in the Handbook's > chapter 20.4. > > But the following lines are confusing me: > > "Every time you type ``gdb'', the mode will be toggled > between remote GDB and local DDB". > > After debugging I want to give control back to the debugged host, i.e. > pressing Ctrl+Alt+Esc would activate DDB in the local mode. > > But how do I execute ``gdb'' when the control is in the remote host? >From within gdb: ``remote detach'' to detach gdb from the remote host, and give control back to DDB. -- Jonathan