From: Michael Walle <michael@walle.cc>
To: gdb-patches@sourceware.org
Cc: Pedro Alves <pedro@codesourcery.com>
Subject: Re: [PATCH] remote target interrupt before ack
Date: Mon, 04 Apr 2011 20:38:00 -0000 [thread overview]
Message-ID: <201104042238.32058.michael@walle.cc> (raw)
In-Reply-To: <201104042121.22036.pedro@codesourcery.com>
Am Montag 04 April 2011, 22:21:21 schrieb Pedro Alves:
> On Monday 04 April 2011 21:00:15, Michael Walle wrote:
> > Hi,
> >
> > the following patch puts the sending of the interrupt/break sequence
> > before the proforma ACK. This guarantees the ACK won't be delivered to
> > an application on the remote side.
>
> Can you explain what the latter sentence means a bit better?
>
Oh, i forgot to mention that this bug affects serial lines which are shared
with the GDB stub. Assume the remote needs a BREAK to start its gdb stub. If
you send the '+' before the BREAK it will be delivered to the actual
application running on the device (and of course listening on the serial
port). [If there happens to be some echo service things will even go worse,
because the echoed '+' will be interpreted by GDB as an ACK to the first sent
packet.]
--
Michael
next prev parent reply other threads:[~2011-04-04 20:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 20:00 Michael Walle
2011-04-04 20:21 ` Pedro Alves
2011-04-04 20:38 ` Michael Walle [this message]
2011-04-05 16:10 ` Pedro Alves
2011-04-26 11:01 ` Michael Walle
2011-04-26 15:40 ` Tom Tromey
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=201104042238.32058.michael@walle.cc \
--to=michael@walle.cc \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.com \
/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