aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.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/target.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/target.c')
-rw-r--r--gdb/target.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 0e76e71e..ab0f814 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -159,6 +159,12 @@ static int debug_to_thread_alive (ptid_t);
static void debug_to_stop (void);
+/* NOTE: cagney/2004-09-29: Many targets reference this variable in
+ wierd and mysterious ways. Putting the variable here lets those
+ wierd and mysterious ways keep building while they are being
+ converted to the inferior inheritance structure. */
+struct target_ops child_ops;
+
/* Pointer to array of target architecture structures; the size of the
array; the current index into the array; the allocated size of the
array. */