Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Zoltan Filyo <zoltan.filyo@ericsson.com>
Cc: gdb-patches@sourceware.org
Subject: Re: remote protocol patch
Date: Wed, 30 Jan 2008 16:52:00 -0000	[thread overview]
Message-ID: <20080130154538.GA17097@caradoc.them.org> (raw)
In-Reply-To: <1201703427.7578.64.camel@mwlx285>

On Wed, Jan 30, 2008 at 03:30:27PM +0100, Zoltan Filyo wrote:
> The KGDB stub does not handle timeouts (fact). The stub go in a state,
> and waiting until an end packet character or a new packet start
> character. (Maybe this is a misbehaviour.)

This does not sound right.  Could you describe your original example
as seen by the KGDB stub - what text did it lose, and what text did it
receive and ignore?

> I could not find protocol definition (the requested behaviour, the state
> diagrams for two sides etc.) of GDB. The exact solution will be a full,
> closed protocol definition and conformance test suite for target and
> remote side too. I have no enough spirit for this, sorry.

It won't help you, anyway.  The protocol is not robust against a noisy
line, and modeling it more accurately will just make it clear how
broken it is if the line is noisy.

> My patch causes a "better" behaviour only on the GDB side, but without
> affect previous behaviour (if you want that). It takes differences
> between "single send/response session"  and a "whole command resend"
> case. Two parameters "max_ack_retry_count" and "max_packet_retry_count"
> to be able to use regulate the GDB behaviour.

I don't understand the difference between these two cases.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-01-30 15:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30 15:17 Zoltan Filyo
2008-01-30 16:52 ` Daniel Jacobowitz [this message]
2008-01-31 13:44   ` Zoltan Filyo
  -- strict thread matches above, loose matches on Subject: below --
2008-01-16 10:13 Zoltán Filyó
2008-01-29 19:33 ` 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=20080130154538.GA17097@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=zoltan.filyo@ericsson.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