From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 407 invoked by alias); 12 Aug 2012 05:10:36 -0000 Received: (qmail 394 invoked by uid 22791); 12 Aug 2012 05:10:33 -0000 X-SWARE-Spam-Status: No, hits=-8.6 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 12 Aug 2012 05:10:19 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9BF831B4001; Sun, 12 Aug 2012 05:10:18 +0000 (UTC) From: Mike Frysinger To: Doug Evans Subject: Re: [PATCH] gdb: improve usage strings Date: Sun, 12 Aug 2012 05:10:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.5.0; KDE/4.6.5; x86_64; ; ) Cc: Eli Zaretskii , gdb-patches@sourceware.org References: <1344704080-24677-1-git-send-email-vapier@gentoo.org> <201208111336.41052.vapier@gentoo.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3011710.cxo9X8ZRS4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201208120110.18886.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00348.txt.bz2 --nextPart3011710.cxo9X8ZRS4 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1964 On Sunday 12 August 2012 01:06:16 Doug Evans wrote: > On Sat, Aug 11, 2012 at 10:36 AM, Mike Frysinger wrot= e: > > On Saturday 11 August 2012 13:16:18 Eli Zaretskii wrote: > >> > From: Mike Frysinger > >> > Date: Sat, 11 Aug 2012 12:54:40 -0400 > >> >=20 > >> > c =3D add_com ("signal", class_run, signal_command, _("\ > >> >=20 > >> > -Continue program giving it signal specified by the argument.\n\ > >> > -An argument of \"0\" means continue program without giving it a > >> > signal.")); > >> > +Continue program by sending it the specified signal.\n\ > >>=20 > >> This "by sending it" is AFAIU inaccurate: we don't continue program > >> _by_ sending it the signal, we continue the program _and_ send it the > >> signal. I actually don't see anything wrong with the original > >> wording. > >=20 > > ok, but your response shows what i was trying to fix: > > - adding "the" before "program" > > - changing "giving" to "sending" > >=20 > > the "by" change was incidental > >=20 > > so i'll change it to: > > Continue program and send it the specified signal. >=20 > fwiw, I'm not comfortable with that wording. > To the naive user it's not clear (IMO) that the program is resumed > with the specified signal, i.e., I can imagine the user wondering if > there's a gap between when the target is resumed and when the signal > is delivered. fwiw, i wondered the same thing when pondering the wording :) > Do we have a target where there can be a delay? (e.g, the figurative > equivalent of "continue &; kill SIGNAL)? thinking about it a bit more (in my head vs reading code), i assume (on lin= ux=20 at least) we use PTRACE_CONT which allows for simultaneous resumption and=20 signal delivery. at least, as simultaneous as possible. > Given that, I like something along the lines of "Continue program by > sending it the specified signal." what if i added the word "simultaneously" ? -mike --nextPart3011710.cxo9X8ZRS4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJQJzq6AAoJEEFjO5/oN/WBlOsQAMkEsaV27Cf3JIyI8pcZVBq1 sp7zVteL5UWm5oOJzkyiJrT500G+ImqpTyyFXZNjap1V6kP0d33gZQY6Lyy361k0 4W7pgv+0/oC4LovoWJ1xOiPukqZV4SEyfBrHBV+7vUFHZLtYMJx3tUqcii2O3Kx+ oirauDwcIm/s7ZEgNeVl0UAjj8W8lklfRJlCVEvHFOblg5RigrglOwhr9Fnk6kwc MREGzeeeJ2+NA0IR+YEEVEUkrypP+KIREynrWFN59I2CHgNoWOgsxABhJq1vQuN0 0tsVY/1g/9t9LoW9IzcAuKkRidQPdY4YuwujZpV0Ne4wTNxmppJOCkzM3K9LNHCB 65haHaZGChqHgG6+RIuWXZ7RTCpqYD7iZvGurZMsX9snizQV3SMePemVXS4y67a6 l8VdBLRETRnhVBJ1fumySadgPEeTnYw3iE20OEWSzDF2oe01FoN/EywxlNZgN1sx jN/y2mGIBY6JinnaPB7Z63n8Ho5aMrhuqn6mA99Xa6ByjU7eWKp9/9m3XSCOB6tw DOAOqN/c8rVZr2zsPfaOOesGV9oam480s7DsWraGBfQS0O5DCLFWKyP0SuSZ0yfc 2rmkcsVvnFkgF6sPfz0sMVJq2LMv2F+pmp0/t0C1tknBYppealmjC9MfDqSLiMTX ehdqVK9W61u4QEfZWng1 =jpTv -----END PGP SIGNATURE----- --nextPart3011710.cxo9X8ZRS4--