From 81e5617914246146055f6a235f52c6332f74d7f6 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 15 Dec 2002 19:00:33 +0000 Subject: [PATCH] * target.c (update_current_target): Don't inherit DONT_USE. * target.h (struct target_ops): Remove DONT_USE. (target_next): Remove macro. --- gdb/ChangeLog | 6 ++++++ gdb/target.c | 1 - gdb/target.h | 7 ------- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d1fc6e06560..390ce96cbea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-12-15 Daniel Jacobowitz + + * target.c (update_current_target): Don't inherit DONT_USE. + * target.h (struct target_ops): Remove DONT_USE. + (target_next): Remove macro. + 2002-12-15 Mark Kettenis * ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654. diff --git a/gdb/target.c b/gdb/target.c index 25ed8301649..e19ad6dbbbf 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -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); diff --git a/gdb/target.h b/gdb/target.h index afe1fc5d8ab..8c6dce17c63 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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; @@ -780,11 +778,6 @@ extern void target_load (char *arg, int from_tty); #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 memory if this target can't satisfy a request. */ -- 2.30.2