From owner-freebsd-hackers Fri Jul 2 15:59:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.gw.tislabs.com (relay.gw.tislabs.com [192.94.214.100]) by hub.freebsd.org (Postfix) with ESMTP id 69E2115091 for ; Fri, 2 Jul 1999 15:59:36 -0700 (PDT) (envelope-from stevek@tislabs.com) Received: by relay.gw.tislabs.com; id TAA07827; Fri, 2 Jul 1999 19:01:20 -0400 (EDT) Received: from clipper.gw.tislabs.com(10.33.1.2) by relay.gw.tislabs.com via smap (4.1) id xma007809; Fri, 2 Jul 99 19:00:47 -0400 Received: from mufasa.va.tislabs.com (mufasa.va.tislabs.com [192.168.10.18]) by clipper.gw.tislabs.com (8.9.1/8.9.1) with ESMTP id SAA02634 for ; Fri, 2 Jul 1999 18:58:24 -0400 (EDT) Received: from localhost (stevek@localhost) by mufasa.va.tislabs.com (8.8.7/8.8.7) with SMTP id SAA00367 for ; Fri, 2 Jul 1999 18:53:23 -0400 (EDT) (envelope-from stevek@mufasa.va.tislabs.com) Date: Fri, 2 Jul 1999 18:53:23 -0400 (EDT) From: Steve Kiernan To: freebsd-hackers@freebsd.org Subject: Re: Usage of 'gdb' command in DDB Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 2 Jul 1999, Greg Lehey wrote: > On Thursday, 1 July 1999 at 18:47:27 -0500, Stan Shkolnyy wrote: > > Hello All, > > > > Well, I entered 'gdb', then 'continue' and now I can debug the kernel > > remotely. How do I switch DDB back? Ctrl-Alt-Esc now causes DDB to > > contact the remote GDB instead of accepting input from me. > > A nuisance, isn't it? There's no documented way. I have this in my > .gdbinit: > > define ddb > set boothowto=0x80000000 > s > end > document ddb > Switch back to ddb. > end > > That works with -CURRENT. Don't count on it staying that way. You should just be able to 'detach' from gdb. At least, that's what I had been using on 2.2.x, not sure if it works on -CURRENT. -- Stephen Kiernan stevek@tislabs.com NAI Labs, A Division of Network Associates, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message