mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
Add target_ops argument to to_terminal_save_ours
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_terminal_save_ours>: Add argument. (target_terminal_save_ours): Add argument. * target.c (debug_to_terminal_save_ours): Add argument. (update_current_target): Update. * inflow.c (terminal_save_ours): Add 'self' argument. * inferior.h (terminal_save_ours): Add 'self' argument.
This commit is contained in:
@ -491,7 +491,7 @@ struct target_ops
|
||||
void (*to_terminal_inferior) (struct target_ops *);
|
||||
void (*to_terminal_ours_for_output) (struct target_ops *);
|
||||
void (*to_terminal_ours) (struct target_ops *);
|
||||
void (*to_terminal_save_ours) (void);
|
||||
void (*to_terminal_save_ours) (struct target_ops *);
|
||||
void (*to_terminal_info) (const char *, int);
|
||||
void (*to_kill) (struct target_ops *);
|
||||
void (*to_load) (char *, int);
|
||||
@ -1253,7 +1253,7 @@ extern void target_terminal_inferior (void);
|
||||
to take this change into account. */
|
||||
|
||||
#define target_terminal_save_ours() \
|
||||
(*current_target.to_terminal_save_ours) ()
|
||||
(*current_target.to_terminal_save_ours) (¤t_target)
|
||||
|
||||
/* Print useful information about our terminal status, if such a thing
|
||||
exists. */
|
||||
|
Reference in New Issue
Block a user