This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb remote debugging, other than serial port?
- From: "William A. Gatliff" <bgat at billgatliff dot com>
- To: Craig Rodrigues <rodrigc at attbi dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 1 Jul 2002 12:13:31 -0500
- Subject: Re: gdb remote debugging, other than serial port?
- References: <20020630094255.A13008@attbi.com>
- Reply-to: bgat at billgatliff dot com
Craig:
Well, I don't know about FreeBSD, but on my RH73 box, my USB-serial
adapter didn't work. I'm not sure the problem is with gdb, however,
as I didn't get minicom reliably to work either. :^(
Here's a snap from my kernel log:
Jul 1 11:55:36 mars kernel: hub.c: USB new device connect on bus2/1/3, assigned device number 4
Jul 1 11:55:36 mars kernel: usb.c: USB device 4 (vend/prod 0x711/0x230) is not claimed by any active driver.
Jul 1 11:55:39 mars /etc/hotplug/usb.agent: Setup mct_u232 for USB product 711/230/102
Jul 1 11:55:39 mars kernel: usb.c: registered new driver serial
Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial support registered for Generic
Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial Driver core v1.4
Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial support registered for Magic Control Technology USB-RS232
Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial support registered for MCT/Sitecom USB-RS232
Jul 1 11:55:39 mars kernel: usbserial.c: MCT/Sitecom USB-RS232 converter detected
Jul 1 11:55:39 mars kernel: usbserial.c: MCT/Sitecom USB-RS232 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial support registered for MCT/D-Link DU-H3SP USB BAY
Jul 1 11:55:39 mars kernel: mct_u232.c: v1.1:Magic Control Technology USB-RS232 converter driver
But if I connect it on a null cable to ttyS0, I can't reliably send
data bidirectionally. I've seen this problem before with the
usbserial driver, I gave up before figuring out what the problem
was...
Now I'm disappointed too. Any ideas?
b.g.
On Sun, Jun 30, 2002 at 09:42:55AM -0400, Craig Rodrigues wrote:
> Hi,
>
> I have a laptop computer, a Winbook N3:
>
> http://www.winbookcorp.com/support/n3/n3_support.html
>
> I have Windows XP pre-installed on it, and am interested
> in installing either FreeBSD or Linux on a separate hard drive,
> and using gdb to do remote debugging on another host, for
> kernel/device driver development.
>
> This computer does not have a DB-9 or DB-25 serial port, but
> it does have ports for USB, Firewire, parallel, and PS/2 port.
>
> Would I be able to use gdb for remote debugging over any of these
> ports? I don't think I would be able to do remote debugging over
> Ethernet, because I am interested in debugging network protocol
> stacks.
>
> Thanks.
> --
> Craig Rodrigues
> http://www.gis.net/~craigr
> rodrigc@attbi.com
>
--
Bill Gatliff
bgat@billgatliff.com