aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-09-07 18:49:44 +0000
committerDaniel Jacobowitz <drow@false.org>2003-09-07 18:49:44 +0000
commitbfb39158efdb1ce5a0d0cdba1ddfaef6600a9e7a (patch)
tree839609e8424709b278975008b930f3024cc01239 /gdb/linux-nat.h
parent161afb2472251a3a8c9bd2c23fed3d3a1d250704 (diff)
downloadfsf-binutils-gdb-bfb39158efdb1ce5a0d0cdba1ddfaef6600a9e7a.zip
fsf-binutils-gdb-bfb39158efdb1ce5a0d0cdba1ddfaef6600a9e7a.tar.gz
fsf-binutils-gdb-bfb39158efdb1ce5a0d0cdba1ddfaef6600a9e7a.tar.bz2
* lin-lwp.c (detach_callback): Don't call stop_wait_callback.
(stop_wait_callback): Handle !lp->signalled also. (lin_lwp_has_pending, flush_callback): New functions. (lin_lwp_wait): Call flush_callback. * linux-proc.c (linux_proc_add_line_to_sigset): New function. (linux_proc_pending_signals): New function. * linux-nat.h (linux_proc_pending_signals): Add prototype.
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index 90652aa..da62c76 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -65,6 +65,9 @@ extern int linux_proc_xfer_memory (CORE_ADDR addr, char *myaddr, int len,
int write, struct mem_attrib *attrib,
struct target_ops *target);
+/* Find process PID's pending signal set from /proc/pid/status. */
+void linux_proc_pending_signals (int pid, sigset_t *pending, sigset_t *blocked, sigset_t *ignored);
+
/* linux-nat functions for handling fork events. */
extern void linux_record_stopped_pid (int pid);
extern void linux_enable_event_reporting (ptid_t ptid);