mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-04 04:08:50 +08:00
Add target_ops argument to to_terminal_ours_for_output
2014-02-19 Pedro Alves <palves@redhat.com> Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_terminal_ours_for_output>: Add argument. (target_terminal_ours_for_output): Add argument. * target.c (debug_to_terminal_ours_for_output): Add argument. (update_current_target): Update. * inflow.c (terminal_ours_for_output): Add 'self' argument. * inferior.h (terminal_ours_for_output): Add 'self' argument. * go32-nat.c (go32_terminal_ours): Add 'self' argument.
This commit is contained in:
@ -136,7 +136,7 @@ static void debug_to_terminal_init (struct target_ops *self);
|
||||
|
||||
static void debug_to_terminal_inferior (struct target_ops *self);
|
||||
|
||||
static void debug_to_terminal_ours_for_output (void);
|
||||
static void debug_to_terminal_ours_for_output (struct target_ops *self);
|
||||
|
||||
static void debug_to_terminal_save_ours (void);
|
||||
|
||||
@ -775,7 +775,7 @@ update_current_target (void)
|
||||
(void (*) (struct target_ops *))
|
||||
target_ignore);
|
||||
de_fault (to_terminal_ours_for_output,
|
||||
(void (*) (void))
|
||||
(void (*) (struct target_ops *))
|
||||
target_ignore);
|
||||
de_fault (to_terminal_ours,
|
||||
(void (*) (void))
|
||||
@ -4815,9 +4815,9 @@ debug_to_terminal_inferior (struct target_ops *self)
|
||||
}
|
||||
|
||||
static void
|
||||
debug_to_terminal_ours_for_output (void)
|
||||
debug_to_terminal_ours_for_output (struct target_ops *self)
|
||||
{
|
||||
debug_target.to_terminal_ours_for_output ();
|
||||
debug_target.to_terminal_ours_for_output (&debug_target);
|
||||
|
||||
fprintf_unfiltered (gdb_stdlog, "target_terminal_ours_for_output ()\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user