Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdbserver using serial port
@ 2007-11-02  2:14 Yoriko Komatsuzaki
  2007-11-02  2:25 ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Yoriko Komatsuzaki @ 2007-11-02  2:14 UTC (permalink / raw)
  To: gdb

Hello, 

I would like to ask you about gdbserver in case of using serial port.
In gdb-6.6, if I run gdbserver using serial port, the following messages
continue and it can't establish the connection to host gdb.

% gdbserver /dev/ttyS0 a.out
...
Remote debugging using /dev/ttyS0
readchar: Socket operation on non-socket
Remote side has terminated connection.  GDBserver will reopen the connection.
Remote debugging using /dev/ttyS0
readchar: Socket operation on non-socket
Remote side has terminated connection.  GDBserver will reopen the connection.
Remote debugging using /dev/ttyS0
readchar: Socket operation on non-socket
...

And then in gdb-6.7, the following messages are displayed. 

% gdbserver /dev/ttyS0 a.out
Process a.out created; pid = 10696
Remote debugging using /dev/ttyS0

So I ran the host gdb and tried to establish the connection between host
and target, but couldn't establish the connections channel.

In the both cases, if I use the network as the debug channel, 
I can use the gdb/gdbserver without any problems.

Do you have any ideas or comments ?

Thank you.

---
Yoriko Komatsuzaki (yoriko@sm.sony.co.jp)



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

end of thread, other threads:[~2007-11-05 13:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-02  2:14 gdbserver using serial port Yoriko Komatsuzaki
2007-11-02  2:25 ` Daniel Jacobowitz
2007-11-02  4:12   ` Yoriko Komatsuzaki
2007-11-02 11:31     ` Daniel Jacobowitz
2007-11-05  9:53       ` Yoriko Komatsuzaki
2007-11-05 13:22         ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox