aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/nm-linux.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-18 23:33:31 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-18 23:33:31 +0000
commitae087d0195ddbd57e4e065c617076c6236237837 (patch)
tree10853c798b5dbe5edab759ea32f617476a6bcb82 /gdb/config/nm-linux.h
parent931e13a666718cee753747c6fa61b413db1ca6e2 (diff)
downloadfsf-binutils-gdb-ae087d0195ddbd57e4e065c617076c6236237837.zip
fsf-binutils-gdb-ae087d0195ddbd57e4e065c617076c6236237837.tar.gz
fsf-binutils-gdb-ae087d0195ddbd57e4e065c617076c6236237837.tar.bz2
* config/nm-linux.h (linux_record_stopped_pid): New prototype.
* lin-lwp.c (child_wait): Call linux_record_stopped_pid. (lin_lwp_wait): Likewise. Update comments. * linux-nat.c (struct simple_pid_list, add_to_pid_list) (pull_pid_from_list, linux_record_stopped_pid): New.
Diffstat (limited to 'gdb/config/nm-linux.h')
-rw-r--r--gdb/config/nm-linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h
index 7e0a076..6890cca 100644
--- a/gdb/config/nm-linux.h
+++ b/gdb/config/nm-linux.h
@@ -78,6 +78,8 @@ extern int linux_proc_xfer_memory (CORE_ADDR addr, char *myaddr, int len,
int write, struct mem_attrib *attrib,
struct target_ops *target);
+extern void linux_record_stopped_pid (int pid);
+
#define CHILD_INSERT_FORK_CATCHPOINT
#define CHILD_INSERT_VFORK_CATCHPOINT
#define CHILD_INSERT_EXEC_CATCHPOINT