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:
Tom Tromey 2013-12-17 21:30:36 -07:00
parent d2f640d43a
commit 2e1e1a193c
5 changed files with 20 additions and 8 deletions

View file

@ -353,7 +353,7 @@ terminal_inferior (struct target_ops *self)
should be called to get back to a normal state of affairs. */
void
terminal_ours_for_output (void)
terminal_ours_for_output (struct target_ops *self)
{
terminal_ours_1 (1);
}