Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Jim Blandy <jimb@codesourcery.com>
Cc: gdb-patches@sourceware.org, gdb@sourceware.org
Subject: Re: [rfc / remote protocol] Remote shared library events
Date: Fri, 18 May 2007 00:27:00 -0000	[thread overview]
Message-ID: <20070518002701.GA13859@caradoc.them.org> (raw)
In-Reply-To: <m31whgv0ib.fsf@codesourcery.com>

On Wed, May 16, 2007 at 03:58:52PM -0700, Jim Blandy wrote:
> It seems odd to me that it's an @var{n} that distinguishes the reason
> for the stop; the @var{AA}, the @var{r}, and any other @var{r}:@var{n}
> pairs are essentially meaningless.  I'd rather see an entirely new
> stop reply packet type --- 'L', say --- with subsequent name/value
> pairs, like those in a q[fs]DllInfo packet's 'm' response.

I don't know why you say they're meaningless.  @var{AA} is unused, but
@var{r} describes the exact reason for the stop (which library was
loaded or unloaded), and other @var{r}:@var{n} pairs are treated
exactly as they are for T packets - they supply useful registers.
I'd have to add the expedited register support to any new reply packet
too, which would make it basically T without the signal number; this
version seems to complicate the protocol less.

> Should the protocol allow Key=Value pairs to appear in any order?  I
> don't think you really need to revise the reply template to show this,
> just a note to that effect would be plenty.

Yes indeed.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-05-18  0:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09 20:16 Daniel Jacobowitz
2007-05-10  3:18 ` Eli Zaretskii
2007-05-11 17:24   ` Daniel Jacobowitz
2007-05-11 17:39     ` Eli Zaretskii
2007-05-10 21:35 ` Mark Kettenis
2007-05-11  3:35   ` Daniel Jacobowitz
2007-05-15 13:28   ` Daniel Jacobowitz
2007-05-21 12:00     ` Daniel Jacobowitz
2007-07-02 21:37     ` Daniel Jacobowitz
2007-05-11 18:02 ` Kevin Buettner
2007-05-11 18:21   ` Daniel Jacobowitz
2007-05-11 23:31 ` Pedro Alves
2007-05-16 22:59 ` Jim Blandy
2007-05-18  0:27   ` Daniel Jacobowitz [this message]
2007-05-18 16:04     ` Jim Blandy
2007-05-18 16:10       ` Daniel Jacobowitz
2007-05-18 16:49         ` Jim Blandy

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=20070518002701.GA13859@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=gdb@sourceware.org \
    --cc=jimb@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