public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* GDB Remote network strangeness...
@ 2005-06-28 23:58 Paul Breed
  2005-06-29  0:58 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Breed @ 2005-06-28 23:58 UTC (permalink / raw)
  To: gdb

I'm using cross GDB with a remote stub over TCP.

When I use it on a windows XP machine with hardware serial ports it works fine.

When I use it on an XP laptop with a USB serial port adaptor it does not work.

If I unplug the usb serial adaptor it does work.

The strange part is that I'm using a TCP connection, gdb is not using the 
serial port at all,
yet it seams that the remote protocol stuff (origionally written for serial 
I/O)is still doing something
with the serial subsystem when in TCP mode.

I've looked at the remote target stuff and it looks fairly tightly coupled 
to the
serial system with a hack like bypass to use TCP when TCP is specified.

Anyone have any ideas on how to remove this serial glich
I'm about to start tearing into the code and am open for suggestions as to 
where to look.

Paul













^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GDB Remote network strangeness...
  2005-06-28 23:58 GDB Remote network strangeness Paul Breed
@ 2005-06-29  0:58 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-06-29  0:58 UTC (permalink / raw)
  To: Paul Breed; +Cc: gdb

On Tue, Jun 28, 2005 at 04:58:15PM -0700, Paul Breed wrote:
> I'm using cross GDB with a remote stub over TCP.
> 
> When I use it on a windows XP machine with hardware serial ports it works 
> fine.
> 
> When I use it on an XP laptop with a USB serial port adaptor it does not 
> work.
> 
> If I unplug the usb serial adaptor it does work.
> 
> The strange part is that I'm using a TCP connection, gdb is not using the 
> serial port at all,
> yet it seams that the remote protocol stuff (origionally written for serial 
> I/O)is still doing something
> with the serial subsystem when in TCP mode.
> 
> I've looked at the remote target stuff and it looks fairly tightly coupled 
> to the
> serial system with a hack like bypass to use TCP when TCP is specified.
> 
> Anyone have any ideas on how to remove this serial glich
> I'm about to start tearing into the code and am open for suggestions as to 
> where to look.

Not I... that's really bizarre!

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-29  0:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-28 23:58 GDB Remote network strangeness Paul Breed
2005-06-29  0:58 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).