aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-01-08 21:09:47 +0000
committerDaniel Jacobowitz <drow@false.org>2007-01-08 21:09:47 +0000
commit3d799a954241be52d355c2cf9da71da8e90b0c6a (patch)
tree61387a43b74a21649956d6f2021ce55e28a0f8ec /gdb/linux-nat.h
parent9acbedc0c0f0d09cddb633a090ceec409f57f87a (diff)
downloadgdb-3d799a954241be52d355c2cf9da71da8e90b0c6a.zip
gdb-3d799a954241be52d355c2cf9da71da8e90b0c6a.tar.gz
gdb-3d799a954241be52d355c2cf9da71da8e90b0c6a.tar.bz2
* linux-nat.c (struct simple_pid_list): Add status.
(add_to_pid_list): Record the PID's status. (linux_record_stopped_pid): Likewise. Make static. (pull_pid_from_list): Return the saved status. (linux_nat_handle_extended): Deleted. (linux_handle_extended_wait): Combine with linux_nat_handle_extended. Make static. Handle non-SIGSTOP for a new thread's first signal. (flush_callback): Handle unexpected pending signals. (linux_nat_wait): Update calls to changed functions. * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): Remove prototypes for newly static functions. * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index d3f4f39..3e2c6f4 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -75,10 +75,7 @@ void thread_db_init (struct target_ops *);
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);
-extern ptid_t linux_handle_extended_wait (int pid, int status,
- struct target_waitstatus *ourstatus);
extern int lin_lwp_attach_lwp (ptid_t ptid, int verbose);