This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] Improve comment in linux-low.c:handle_extended_wait
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Sat, 13 Dec 2008 13:30:41 -0800 (PST)
- Subject: [RFA] Improve comment in linux-low.c:handle_extended_wait
Hi.
This is a minor cleanup to a comment.
What "it" is isn't clear.
Ok to check in?
2008-12-13 Doug Evans <dje@google.com>
* linux-low.c (handle_extended_wait): Improve comment.
Index: linux-low.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/linux-low.c,v
retrieving revision 1.84
diff -u -p -r1.84 linux-low.c
--- linux-low.c 12 Dec 2008 23:14:28 -0000 1.84
+++ linux-low.c 13 Dec 2008 21:28:12 -0000
@@ -180,7 +180,8 @@ handle_extended_wait (struct process_inf
/* Normally we will get the pending SIGSTOP. But in some cases
we might get another signal delivered to the group first.
- If we do, be sure not to lose it. */
+ If we do get another signal, be sure not to lose the SIGSTOP:
+ when we later get it we'll want to resume. */
if (WSTOPSIG (status) == SIGSTOP)
{
if (stopping_threads)