diff options
author | Jim Blandy <jimb@redhat.com> | 2004-11-29 19:25:02 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 2004-11-29 19:25:02 +0000 |
commit | 6c915f36f9cae57e4a6d6e6736bffa534034a93a (patch) | |
tree | 27ec03da845d2aaf25d2cde224473c165306fa0a | |
parent | bac97a9e125285d939e7821709771d5046d265f7 (diff) | |
download | gdb-6c915f36f9cae57e4a6d6e6736bffa534034a93a.tar.gz |
* lwp-pool.h (lwp_pool_singlestep_lwp, lwp_pool_continue_lwp): Doc
fixes.
-rw-r--r-- | rda/unix/ChangeLog | 3 | ||||
-rw-r--r-- | rda/unix/lwp-pool.h | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/rda/unix/ChangeLog b/rda/unix/ChangeLog index 57761a251e5..4152f3662c7 100644 --- a/rda/unix/ChangeLog +++ b/rda/unix/ChangeLog @@ -1,5 +1,8 @@ 2004-11-29 Jim Blandy <jimb@redhat.com> + * lwp-pool.h (lwp_pool_singlestep_lwp, lwp_pool_continue_lwp): Doc + fixes. + * lwp-pool.c (wait_flags_str): Return "0" when FLAGS == 0, not the empty string. diff --git a/rda/unix/lwp-pool.h b/rda/unix/lwp-pool.h index d2d7a966753..ab6a541b067 100644 --- a/rda/unix/lwp-pool.h +++ b/rda/unix/lwp-pool.h @@ -103,18 +103,18 @@ void lwp_pool_stop_all (void); void lwp_pool_continue_all (void); -/* Continue LWP. If SIGNAL is non-zero, continue it with signal +/* Continue PID. If SIGNAL is non-zero, continue it with signal SIGNAL. Return zero on success, -1 on failure. */ int lwp_pool_continue_lwp (pid_t pid, int signal); -/* Continue LWP in SERV for one instruction, delivering SIGNAL if it +/* Continue PID in SERV for one instruction, delivering SIGNAL if it is non-zero, and stop with SIGSTOP if/when that instruction has been completed. The SERV argument is there because singlestep_lwp requires it. Inconsistency, bleah. */ -int lwp_pool_singlestep_lwp (struct gdbserv *serv, pid_t lwp, int signal); +int lwp_pool_singlestep_lwp (struct gdbserv *serv, pid_t pid, int signal); /* Under NPTL, LWP's simply disappear, without becoming a zombie or |