From owner-freebsd-hackers Thu Aug 29 06:50:43 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA08692 for hackers-outgoing; Thu, 29 Aug 1996 06:50:43 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA08679; Thu, 29 Aug 1996 06:50:39 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id GAA01943; Thu, 29 Aug 1996 06:50:08 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) by whistle.com via smap (V1.3) id sma001938; Thu Aug 29 06:49:51 1996 Message-ID: <32259FBD.41C67EA6@whistle.com> Date: Thu, 29 Aug 1996 06:48:45 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: pst@FreeBSD.org, hackers@FreeBSD.org Subject: Re: gdb remote References: <32258FCF.41C67EA6@whistle.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Julian Elischer wrote: > > Ok I think I have it all set up.. > but I get > A ok I have got a bit further.. booting -g I can get the kernel to fall into the appropriate debugger by hitting ctl-alt-esc on the keyboard. if I have just done a "target remote /dev/cuaa1" then gdb can "kinda" make a connection.. it's hellishly slow..... for example.. the folloing took 1 minute to print out.... (kgdb) bt #0 0xf01adf7d in Debugger () #1 0xf01caf31 in sgetc () #2 0xf01c6737 in pcvt_timeout () #3 0xf01092a4 in softclock () which seems slow to me... but at least you see that much.. you can't DO anything though.. even 'cont' doesn't work... I must be doing something wrong.. Waht does a good config look like? and a good .gdbinit file?