aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-06-12 14:02:15 +0000
committerYao Qi <yao@codesourcery.com>2012-06-12 14:02:15 +0000
commit0c9070b30af40e837ae05cdbaf6f486690fffaf8 (patch)
treea4672918530bb037eb9a7a8eee5b3b282a70467b /gdb/gdbserver/server.c
parent8981c88a1e028446400c393b82fc415481cc07c3 (diff)
downloadgdb-0c9070b30af40e837ae05cdbaf6f486690fffaf8.zip
gdb-0c9070b30af40e837ae05cdbaf6f486690fffaf8.tar.gz
gdb-0c9070b30af40e837ae05cdbaf6f486690fffaf8.tar.bz2
gdb/gdbserver:
* linux-low.c (linux_set_resume_request): Simplify predicate. Add comment. * server.c (handle_v_cont): Extend comment.
Diffstat (limited to 'gdb/gdbserver/server.c')
-rw-r--r--gdb/gdbserver/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 9fd550b..96aa54b 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -1974,8 +1974,8 @@ handle_v_cont (char *own_buf)
/* `cont_thread' is still used in occasional places in the backend,
to implement single-thread scheduler-locking. Doesn't make sense
- to set it if we see a stop request, or any form of wildcard
- vCont. */
+ to set it if we see a stop request, or a wildcard action (one
+ with '-1' (all threads), or 'pPID.-1' (all threads of PID)). */
if (n == 1
&& !(ptid_equal (resume_info[0].thread, minus_one_ptid)
|| ptid_get_lwp (resume_info[0].thread) == -1)