From owner-freebsd-current Thu May 8 16:48:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA27200 for current-outgoing; Thu, 8 May 1997 16:48:40 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA27195 for ; Thu, 8 May 1997 16:48:29 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id JAA10890; Fri, 9 May 1997 09:44:56 +1000 Date: Fri, 9 May 1997 09:44:56 +1000 From: Bruce Evans Message-Id: <199705082344.JAA10890@godzilla.zeta.org.au> To: current@FreeBSD.ORG, j@uriah.heep.sax.de Subject: Re: Problems using remote gdb Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >So now, what has the handbook to be changed to? > >Bruce, reading the handbook isn't rocket science :), just in case you >don't know how to use Lynx, here's the appropriate paragraphs: Using lynx isn't rocket science :-). The configuration of serial consoles is under development and not very suiatble for putting in handbooks (the current configuration doesn't apply to 2.2...). > strip -x, and boot it using the -d boot option. Connect the first ^^^^^^^^^ > serial line of the target machine to any serial line of the debugging ^^^^^^^^^^^ Now any sio port can be used. Previously only sio0 with the default configuration (with i/o address 0x3f8, etc.) could be used. >(kgdb) > > Initialize the remote debugging session (assuming the first serial ^^^^^^^^^^^^^^^^ > port is being used) by: ^^^^ > >(kgdb) target remote /dev/cuaa0 ^^^^^^^^^^^ This is the first sio port on a FreeBSD debugger-host. Any serial port on any debugger-host can be used. > Now, on the target host (that entered DDB right before even starting ^^^^^^^^^^^ some confusion about `host'. I used it for the machine running gdb. > the device probe), type: Bruce