Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 1997 19:31:23 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Bruce Evans <bde@zeta.org.au>, skynyrd@opus.cts.cwu.edu, freebsd-current@FreeBSD.ORG
Subject:   Re: Remote gdb (was: no boot: config -g and options DDB)
Message-ID:  <Pine.BSF.3.95.971227192510.22759T-100000@current1.whistle.com>
In-Reply-To: <19971228125401.34698@lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help


My remote gdb setup..
on the master machine:
I use the following .gdbinit file in the compile directory.

---
file kernel
set remotebaud 9600
target remote /dev/cuaa1
---



on the victim machine:
boot with a kernel with flags 0x10 compiled on sio0, and options DDB

boot with options -dg
as soon as you type that on the Boot: prompt,
quickly enter gdb in the compile directory.
it will pick up the .gdbinit file and things should work..

* check you can 'cu' or 'tip' between the machines using that serial cable
first.





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