* target.c (update_current_target): Don't inherit DONT_USE.
* target.h (struct target_ops): Remove DONT_USE. (target_next): Remove macro.
This commit is contained in:
parent
a3edc55b09
commit
81e5617914
3 changed files with 6 additions and 8 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue