This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
get rid of deprecated_child_ops
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 14 Jan 2011 13:48:59 +0000
- Subject: get rid of deprecated_child_ops
The last target referencing this was hpux-thread.c, which was just removed.
Applied.
--
Pedro Alves
2011-01-14 Pedro Alves <pedro@codesourcery.com>
gdb/
* target.h (deprecated_child_ops): Delete declaration.
* target.c (deprecated_child_ops): Delete definition.
---
gdb/target.c | 6 ------
gdb/target.h | 2 --
2 files changed, 8 deletions(-)
Index: src/gdb/target.c
===================================================================
--- src.orig/gdb/target.c 2011-01-13 15:07:41.000000000 +0000
+++ src/gdb/target.c 2011-01-14 13:44:11.838101000 +0000
@@ -157,12 +157,6 @@ static void debug_to_notice_signals (pti
static void debug_to_stop (ptid_t);
-/* 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 deprecated_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. */
Index: src/gdb/target.h
===================================================================
--- src.orig/gdb/target.h 2011-01-14 13:17:12.000000000 +0000
+++ src/gdb/target.h 2011-01-14 13:43:59.188101005 +0000
@@ -1633,6 +1633,4 @@ extern void update_target_permissions (v
/* Blank target vector entries are initialized to target_ignore. */
void target_ignore (void);
-extern struct target_ops deprecated_child_ops;
-
#endif /* !defined (TARGET_H) */