Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 1996 09:10:17 -0700
From:      Julian Elischer <julian@whistle.com>
To:        Paul Traina <pst@shockwave.com>
Cc:        hackers@FreeBSD.org
Subject:   Re: gdb remote
Message-ID:  <3225C0E9.41C67EA6@whistle.com>
References:  <199608291448.HAA02892@precipice.shockwave.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Traina wrote:
> 
> First off, don't use comconsole yet, it's not quite 100% there.
> 
> Just boot off of syscons/pcvt, with the -g (and optionally -d), put
> the cable on the com1 port.

ok here is what I'm doing;
tell me if I'm doinf something stupid..

compiel new kernel with new gdb stub
boot kernel (normal bootblocks) with -g
start gdb -k /sys/compile/IAF
the following .gdbinit
exists:

set remotedevice /dev/cuaa1
set remotebaud 9600
dir /sys/netatalk
dir /sys/kern
dir /sys/net
dir /sys/netinet
file compile/IAF/kernel
target remote  /dev/cuaa1

this is with the new 4.16 gdb..
the previos version 4,13 works better
it 
1/ responds to the -k option
2/ gives symbold and a stacktrace

4.16 give (sometimes ) a single address in hex 
and that's all,




> 
> start gdb:
> 
> gdb target-kernel
> 
> target remote /dev/cuaa1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3225C0E9.41C67EA6>