aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/target.c1
-rw-r--r--gdb/target.h7
3 files changed, 6 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d1fc6e0..390ce96 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2002-12-15 Mark Kettenis <kettenis@gnu.org>
* 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 25ed830..e19ad6d 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 afe1fc5..8c6dce1 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. */