aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-12-15 19:00:33 +0000
committerDaniel Jacobowitz <drow@false.org>2002-12-15 19:00:33 +0000
commit81e5617914246146055f6a235f52c6332f74d7f6 (patch)
tree870cd45d98142bd40ffd29af242b01ae6f73c307 /gdb/target.h
parenta3edc55b09c94f981318df016ee6cca060ba9ffa (diff)
downloadgdb-81e5617914246146055f6a235f52c6332f74d7f6.zip
gdb-81e5617914246146055f6a235f52c6332f74d7f6.tar.gz
gdb-81e5617914246146055f6a235f52c6332f74d7f6.tar.bz2
* target.c (update_current_target): Don't inherit DONT_USE.
* target.h (struct target_ops): Remove DONT_USE. (target_next): Remove macro.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h7
1 files changed, 0 insertions, 7 deletions
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. */