Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* PATCH: Fork event updates, part the ninth
@ 2002-12-15 12:07 Daniel Jacobowitz
  2002-12-16  8:35 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-12-15 12:07 UTC (permalink / raw)
  To: gdb-patches

Pulling leftovers from my working directory... this patch kills what used to
be ->to_next, which hasn't been used for some time.  Committed.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

2002-12-15  Daniel Jacobowitz  <drow@mvista.com>

	* target.c (update_current_target): Don't inherit DONT_USE.
	* target.h (struct target_ops): Remove DONT_USE.
	(target_next): Remove macro.

Index: gdb/target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.47
diff -u -p -r1.47 target.c
--- gdb/target.c	12 Dec 2002 01:39:34 -0000	1.47
+++ gdb/target.c	15 Dec 2002 18:56:17 -0000
@@ -609,7 +609,6 @@ update_current_target (void)
       INHERIT (to_get_current_exception_event, t);
       INHERIT (to_pid_to_exec_file, t);
       INHERIT (to_stratum, t);
-      INHERIT (DONT_USE, t);
       INHERIT (to_has_all_memory, t);
       INHERIT (to_has_memory, t);
       INHERIT (to_has_stack, t);
Index: gdb/target.h
===================================================================
RCS file: /cvs/src/src/gdb/target.h,v
retrieving revision 1.33
diff -u -p -r1.33 target.h
--- gdb/target.h	12 Dec 2002 01:39:34 -0000	1.33
+++ gdb/target.h	15 Dec 2002 18:56:18 -0000
@@ -295,8 +295,6 @@ struct target_ops
     struct exception_event_record *(*to_get_current_exception_event) (void);
     char *(*to_pid_to_exec_file) (int pid);
     enum strata to_stratum;
-    struct target_ops
-     *DONT_USE;			/* formerly to_next */
     int to_has_all_memory;
     int to_has_memory;
     int to_has_stack;
@@ -779,11 +777,6 @@ extern void target_load (char *arg, int 
 
 #define target_get_current_exception_event() \
      (*current_target.to_get_current_exception_event) ()
-
-/* Pointer to next target in the chain, e.g. a core file and an exec file.  */
-
-#define	target_next \
-     (current_target.to_next)
 
 /* Does the target include all of memory, or only part of it?  This
    determines whether we look up the target chain for other parts of


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-16 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-15 12:07 PATCH: Fork event updates, part the ninth Daniel Jacobowitz
2002-12-16  8:35 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox