From: Eli Zaretskii <eliz@gnu.org>
To: Doug Evans <xdje42@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] New command: queue-signal
Date: Tue, 09 Sep 2014 14:34:00 -0000 [thread overview]
Message-ID: <834mwgc163.fsf@gnu.org> (raw)
In-Reply-To: <m37g1ft34v.fsf@sspiff.org>
> From: Doug Evans <xdje42@gmail.com>
> Date: Sun, 07 Sep 2014 16:36:00 -0700
>
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -3,6 +3,11 @@
>
> *** Changes since GDB 7.8
>
> +* New commands
> +
> +queue-signal signal-name-or-number
> + Queue a signal to be delivered to the thread when it is resumed.
> +
This part is OK.
> +@kindex queue-signal
> +@item queue-signal @var{signal}
> +Queue signal @var{signal} to be delivered immediately to the current thread
You don't need the first "signal"; the second alone is enough.
> +The handling of the signal must be set to pass the signal to the program,
> +otherwise gdb will discard it when resuming the thread. The handling of
^^^
@value{GDBN}
> +signals from @value{GDBN} is done with the @code{handle} command
^^^^^^^
"is controlled" is better. For bonus points, make this sentence use
active tense ("you can control ...").
> +Alternatively, if @var{signal} is zero, any currently queued signal is
> +discarded and when execution resumes no signal will be delivered.
Only to/for the current thread, right? The text sounds much more
general than that, so I wonder.
> + c = add_com ("queue-signal", class_run, queue_signal_command, _("\
> +Queue a signal to be delivered to the program when it is resumed.\n\
^^^^^^^^^^^
I suggest to say "the current thread" here.
The documentation parts are OK with these fixed.
Thanks.
next prev parent reply other threads:[~2014-09-09 14:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-07 23:36 Doug Evans
2014-09-09 14:34 ` Eli Zaretskii [this message]
2014-09-13 23:58 ` Doug Evans
2014-09-14 2:42 ` Eli Zaretskii
2014-09-14 4:50 ` Doug Evans
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=834mwgc163.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=xdje42@gmail.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