From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org, ddaney@avtrex.com
Subject: Re: [rfc/remote] Tell remote stubs which signals are boring
Date: Thu, 26 Oct 2006 15:01:00 -0000 [thread overview]
Message-ID: <E1Gd6jO-0005ct-3M@fencepost.gnu.org> (raw)
In-Reply-To: <20061026121838.GA28927@nevyn.them.org> (message from Daniel Jacobowitz on Thu, 26 Oct 2006 08:18:39 -0400)
> Date: Thu, 26 Oct 2006 08:18:39 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sourceware.org, ddaney@avtrex.com
>
> On Thu, Oct 26, 2006 at 02:57:29AM -0400, Eli Zaretskii wrote:
> > > Date: Wed, 25 Oct 2006 17:24:41 -0400
> > > From: Daniel Jacobowitz <drow@false.org>
> > >
> > > This is the solution I came up with for that problem, adjusted to HEAD
> > > and given a more sensible packet name. I have a tested implementation
> > > of this patch for HEAD, if my remote protocol choices are acceptable.
> > > The new mechanism is completely transparent to the user.
> >
> > I'm confused: shouldn't this packet be automatically sent to a remote
> > target when I say, e.g., "handle SIGALRM nostop noprint pass"? Am I
> > missing something?
>
> Now I'm confused :-) Isn't that exactly what I said above? It's
> completely transparent; it just works.
Perhaps I'm too dumb today, but ``completely transparent'' does not
tell me that there's any connection between `handle' and `set remote
pass-signals', especially since an interactive command can hardly be
described as ``transparent to the user''.
> > Then this should be mentioned in the manual, both where the new packet
> > and command are described, and where the "handle" command is
> > described.
>
> Can you expand on this?
>
> Honestly, I have no idea what to say. It's just a performance
> optimization; it shouldn't affect the user experience at all.
We are talking about 2 user commands which are related. That relation
should be mentioned in the manual. Without that, a user could turn
off the new packet and not understand that this could do harm when the
inferior uses signals.
Here's another way to look at the issue: suppose this patch is already
in GDB, and suppose you are J. Random Hacker who experiences the
problem that originally caused you to write the patch--how would you
know to toggle `set remote pass-signals' to try to see if that is the
cause of your trouble? I think, if the description of `handle' has an
xref to the description of `set remote pass-signals', you'd find that
info much quicker and more reliably.
If this is still unclear, I'll fix it myself once it's in CVS, and
post the patch here in the hope that it'd be clear then.
next prev parent reply other threads:[~2006-10-26 15:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-25 21:24 Daniel Jacobowitz
2006-10-25 21:33 ` Mark Kettenis
2006-10-25 22:56 ` David Daney
2006-10-26 1:40 ` Daniel Jacobowitz
2006-10-26 7:02 ` Eli Zaretskii
2006-10-26 6:57 ` Eli Zaretskii
2006-10-26 12:18 ` Daniel Jacobowitz
2006-10-26 15:01 ` Eli Zaretskii [this message]
2006-10-26 15:10 ` Daniel Jacobowitz
2006-10-26 15:18 ` Eli Zaretskii
2006-10-26 15:22 ` Daniel Jacobowitz
2006-10-26 15:27 ` Mark Kettenis
2006-10-26 15:37 ` Daniel Jacobowitz
2006-10-26 17:54 ` Mark Kettenis
2006-10-26 21:11 ` Jim Blandy
2006-10-26 21:16 ` Daniel Jacobowitz
2006-10-26 21:28 ` Jim Blandy
2006-10-26 21:37 ` 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=E1Gd6jO-0005ct-3M@fencepost.gnu.org \
--to=eliz@gnu.org \
--cc=ddaney@avtrex.com \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
/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