Date: Fri, 9 May 1997 09:44:56 +1000 From: Bruce Evans <bde@zeta.org.au> To: current@FreeBSD.ORG, j@uriah.heep.sax.de Subject: Re: Problems using remote gdb Message-ID: <199705082344.JAA10890@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705082344.JAA10890>
