Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Yoriko Komatsuzaki <yoriko@sm.sony.co.jp>
To: gdb@sourceware.org
Subject: gdbserver using serial port
Date: Fri, 02 Nov 2007 02:14:00 -0000	[thread overview]
Message-ID: <20071102105157.D940.YORIKO@sm.sony.co.jp> (raw)

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)



             reply	other threads:[~2007-11-02  2:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02  2:14 Yoriko Komatsuzaki [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071102105157.D940.YORIKO@sm.sony.co.jp \
    --to=yoriko@sm.sony.co.jp \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox