From: Daniel Jacobowitz <drow@false.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [remote protocol] support for disabling packet acknowledgement
Date: Mon, 11 Aug 2008 19:40:00 -0000 [thread overview]
Message-ID: <20080811193917.GA6176@caradoc.them.org> (raw)
In-Reply-To: <200807101823.13728.pedro@codesourcery.com>
On Thu, Jul 10, 2008 at 06:23:13PM +0100, Pedro Alves wrote:
> Hi,
>
> This patch adds support to the remote protocol to disable packet
> acknowlegment. This is useful when the transport being used is itself
> reliable, e.g., TCP/IP. In these cases, by removing the acking
> we reduce the amount of roundtrips, and decrease the communication
> latency.
>
> While we were discussing implementing this, I noticed that Apple
> already had something of the sort, so we ended up reusing Apple's
> QStartNoAckMode packet name, and basing our implementation on
> their version, modernizing it, adding qSupport support
> to it, tweaking the user interface so it is integrated with
> the "set remote xxx-packet" set of commands, and documenting it.
>
> The docs changes below explain more in detail the approach taken.
>
> I'm including in the patch GDB changes to support the feature,
> and adding the support to gdbserver. Regtesting against a native
> gdbserver on x86_64-unknown-linux-gnu doesn't show any regression.
This patch is OK, with the two texinfo corrections from Eli, and
without this:
> Index: src/gdb/gdbserver/remote-utils.c
> ===================================================================
> --- src.orig/gdb/gdbserver/remote-utils.c 2008-07-10 17:37:11.000000000 +0100
> +++ src/gdb/gdbserver/remote-utils.c 2008-07-10 17:38:08.000000000 +0100
> @@ -90,7 +90,7 @@ static struct sym_cache *symbol_cache;
> failures. */
> int all_symbols_looked_up;
>
> -int remote_debug = 0;
> +int remote_debug = 1;
> struct ui_file *gdb_stdlog;
>
> static int remote_desc = INVALID_DESCRIPTOR;
Also, could you please add a NEWS entry (there's a new packet and new
associated commands).
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-08-11 19:40 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 17:23 Pedro Alves
2008-07-10 18:44 ` Paul Koning
2008-07-10 19:08 ` Daniel Jacobowitz
2008-07-25 13:39 ` Eli Zaretskii
2008-08-11 19:40 ` Daniel Jacobowitz [this message]
2008-07-10 18:59 Sandra Loosemore
2008-07-10 19:09 ` Paul Koning
2008-07-10 19:59 ` Sandra Loosemore
2008-07-10 20:13 ` Paul Koning
2008-07-10 22:33 ` Daniel Jacobowitz
2008-07-11 0:22 ` Sandra Loosemore
2008-07-11 0:43 ` Daniel Jacobowitz
2008-07-11 13:43 ` Paul Koning
2008-07-11 14:35 ` Daniel Jacobowitz
[not found] ` <20080710223312.GA19058__14539.8706700236$1215729298$gmane$org@caradoc.them.org>
2008-07-11 3:05 ` Frank Ch. Eigler
2008-07-11 3:25 ` Daniel Jacobowitz
2008-07-11 15:11 ` Pedro Alves
2008-07-11 15:24 ` Daniel Jacobowitz
2008-07-11 15:54 ` Paul Koning
2008-07-11 17:59 ` Pedro Alves
2008-07-11 18:54 ` Paul Koning
2008-07-11 19:10 ` Pedro Alves
2008-07-25 13:41 ` Eli Zaretskii
2008-07-25 14:14 ` Sandra Loosemore
2008-07-26 5:54 ` Eli Zaretskii
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=20080811193917.GA6176@caradoc.them.org \
--to=drow@false.org \
--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