From owner-freebsd-current Fri May 9 04:02:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA27166 for current-outgoing; Fri, 9 May 1997 04:02:07 -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 EAA27114 for ; Fri, 9 May 1997 04:00:11 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id UAA01919; Fri, 9 May 1997 20:54:59 +1000 Date: Fri, 9 May 1997 20:54:59 +1000 From: Bruce Evans Message-Id: <199705091054.UAA01919@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 >> > 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. > >What are the knobs for this? See LINT. >> >(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. > >Sure. That's why a wrote ``assuming the first serial port''. From a >kernel hacker, i expect he knows that the second port will be cuaa1 >etc. ;-) It's only the first sio serial port under FreeBSD. >> > 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: > >Target host is the machine running the kernel to test. That's also Targets aren't usually referred to as hosts. See gdb.info. >the machine that now (apparently) requires some flags to sio0 (or >whatever has been chosen), so my question: which flags? According to >Justin, 0x40. Nope. 0x10. See LINT. Bruce