From: Daniel Jacobowitz Date: Sun, 15 Dec 2002 19:00:33 +0000 (+0000) Subject: * target.c (update_current_target): Don't inherit DONT_USE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81e5617914246146055f6a235f52c6332f74d7f6;p=binutils-gdb.git * target.c (update_current_target): Don't inherit DONT_USE. * target.h (struct target_ops): Remove DONT_USE. (target_next): Remove macro. --- 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. */