aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-29 13:54:33 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-29 13:54:33 +0000
commit5ac10fd160d73209c54cfed7905a582fe000a2fe (patch)
treed11f45b0d57d4fe0f8bef5459eb8a09ad611aeef /gdb/linux-nat.c
parent981beeee7037a384a72623b5c1d39a4108bb4d81 (diff)
downloadgdb-5ac10fd160d73209c54cfed7905a582fe000a2fe.zip
gdb-5ac10fd160d73209c54cfed7905a582fe000a2fe.tar.gz
gdb-5ac10fd160d73209c54cfed7905a582fe000a2fe.tar.bz2
2004-09-29 Andrew Cagney <cagney@gnu.org>
* target.h (child_ops): Declare. * inftarg.c (child_ops): Move from here ... * target.c (child_ops): ... to here. * wince.c (child_ops): Delete extern declaration. * win32-nat.c (child_ops): Delete extern declaration. * linux-nat.c (child_ops): Delete extern declaration. * hpux-thread.c (child_ops): Delete extern declaration.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 8ecabda..fa14bb6 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -83,8 +83,6 @@
static int debug_linux_nat;
-extern struct target_ops child_ops;
-
static int linux_parent_pid;
struct simple_pid_list
@@ -599,9 +597,6 @@ ptid_t trap_ptid;
/* This module's target-specific operations. */
static struct target_ops linux_nat_ops;
-/* The standard child operations. */
-extern struct target_ops child_ops;
-
/* Since we cannot wait (in linux_nat_wait) for the initial process and
any cloned processes with a single call to waitpid, we have to use
the WNOHANG flag and call waitpid in a loop. To optimize