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 11:31:00 -0000 [thread overview]
Message-ID: <20071102113137.GA16563@caradoc.them.org> (raw)
In-Reply-To: <20071102125546.D942.YORIKO@sm.sony.co.jp>
On Fri, Nov 02, 2007 at 01:11:47PM +0900, Yoriko Komatsuzaki wrote:
>
> Thank you for your answer.
>
> My environment is a littel special.
>
> On target (gdbserver run), the serial (/dev/ttyS0) is used as the
> channel. But on host (gdb run), the usb (/dev/ttyUSB0) is used.
> And the host and the target is connected by "the serial/usb
> transimission cable".
>
> So I guess that this special hardware environment might affects this
> problem.
>
> % gdb
> (gdb) set debug remote 1
> (gdb) set debug serial 1
> (gdb) target remote /dev/ttyUSB0
> Remote debugging using /dev/ttyUSB0
> Sending packet: $qSupported#37...
This looks like either a baud rate problem, or some other complete
failure of serial support on your host. GDB can't read even a single
byte from your target.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-11-02 11:31 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
2007-11-02 4:12 ` Yoriko Komatsuzaki
2007-11-02 11:31 ` Daniel Jacobowitz [this message]
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=20071102113137.GA16563@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