Mirror of the gdb mailing list
 help / color / mirror / Atom feed
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:18:00 -0000	[thread overview]
Message-ID: <E1Gd703-0007iG-IJ@fencepost.gnu.org> (raw)
In-Reply-To: <20061026151006.GA2954@nevyn.them.org> (message from Daniel 	Jacobowitz on Thu, 26 Oct 2006 11:10:06 -0400)

> Date: Thu, 26 Oct 2006 11:10:06 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sourceware.org, ddaney@avtrex.com
> 
> It's transparent because you should never, ever have to use "set
> remote pass-signals".  If the target reports that it supports
> QPassSignals, it will be used automatically.  If it doesn't report it,
> then forcing it on isn't going to work, unless the remote target is
> buggy (supports the packet but claims not to).  Disabling it is,
> again, not useful unless the remote target is buggy (supports the
> packet but mishandles it).

This sounds like a good reason not to have the command at all.

If we decide not to install that part of the patch, my request is a
moot point, but as long as the command is described in the manual,
please add the mutual cross-references between it and `handle'.

> This is one of the reasons I mentioned in another message yesterday
> that I was thinking of removing or moving to "maint" the various "set
> remote" packet controls - they're confusing.  Best would probably be to
> both move and rename them: "set remote pass-signals-packet" would
> become "maint set remote QPassSignals", with a clear correspondence to
> the packet it controls.  It's a design feature of the remote protocol
> that everything is autonegotiated, so (just as currently), these would
> all default to an "auto" setting.
> 
> WDYT?

Sounds convincing to me, assuming that auto-negotiated settings never
lie about the support and seldom have bugs that make them not useful.
I'm not in a position to say whether this is true, since I don't have
enough experience with debugging remote targets.


  reply	other threads:[~2006-10-26 15:18 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
2006-10-26 15:10       ` Daniel Jacobowitz
2006-10-26 15:18         ` Eli Zaretskii [this message]
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=E1Gd703-0007iG-IJ@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