aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2003-06-19 22:52:04 +0000
committerMichael Snyder <msnyder@vmware.com>2003-06-19 22:52:04 +0000
commit0274a8cedbd446865a1e5fdec8057f4a327e19aa (patch)
tree65a8a30cdbc33868844ea760ca2628bf9e87535a /gdb/linux-nat.c
parentadf5f719da64a54fa206ad15a5eebde9abbe2666 (diff)
downloadgdb-0274a8cedbd446865a1e5fdec8057f4a327e19aa.zip
gdb-0274a8cedbd446865a1e5fdec8057f4a327e19aa.tar.gz
gdb-0274a8cedbd446865a1e5fdec8057f4a327e19aa.tar.bz2
2003-06-19 Michael Snyder <msnyder@redhat.com>
* linux-nat.h: New file. * linux-nat.c: Include linux-nat.h. * lin-lwp.c: Include linux-nat.h. Move struct lwp_info def to linux-nat.h. * linux-proc.c: Include linux-nat.h. (linux_make_note_section): Iterate over lwps instead of threads. (linux_do_thread_registers): Use lwp instead of merged pid. * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): Add dependency on linux_nat_h.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index bef737b..61931c6 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -25,6 +25,8 @@
#include "gdb_wait.h"
#include <sys/ptrace.h>
+#include "linux-nat.h"
+
/* If the system headers did not provide the constants, hard-code the normal
values. */
#ifndef PTRACE_EVENT_FORK