Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 1999 18:53:23 -0400 (EDT)
From:      Steve Kiernan <stevek@tislabs.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Usage of 'gdb' command in DDB
Message-ID:  <Pine.BSF.3.96.990702185231.358C-100000@mufasa.va.tislabs.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990702185231.358C-100000>