From: Daniel Jacobowitz <drow@false.org>
To: Yoriko Komatsuzaki <yoriko@sm.sony.co.jp>
Cc: gdb@sourceware.org
Subject: Re: gdbserver using serial port
Date: Fri, 02 Nov 2007 02:25:00 -0000 [thread overview]
Message-ID: <20071102022518.GA21674@caradoc.them.org> (raw)
In-Reply-To: <20071102105157.D940.YORIKO@sm.sony.co.jp>
On Fri, Nov 02, 2007 at 11:14:13AM +0900, Yoriko Komatsuzaki wrote:
> 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.
Yes, serial support was broken in gdbserver 6.6.
> % 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.
Please be more specific. What does "set debug serial 1" and "set
debug remote 1" before connecting show?
If your console is /dev/ttyS0 and a.out writes to the terminal, you
will need to redirect it, or it will interfere with communication.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-11-02 2:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-02 2:14 Yoriko Komatsuzaki
2007-11-02 2:25 ` Daniel Jacobowitz [this message]
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=20071102022518.GA21674@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=yoriko@sm.sony.co.jp \
/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