Add target_ops argument to to_terminal_ours

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target.h (struct target_ops) <to_terminal_ours>: Add argument.
	(target_terminal_ours): Add argument.
	* target.c (debug_to_terminal_ours): Add argument.
	(update_current_target): Update.
	* remote.c (remote_terminal_ours): Add 'self' argument.
	(remote_close): Update.
	* linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
	* inflow.c (terminal_ours): Add 'self' argument.
	* inferior.h (terminal_ours): Add 'self' argument.
	* go32-nat.c (go32_terminal_ours): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:30:49 -07:00
parent 2e1e1a193c
commit e3594fd196
8 changed files with 28 additions and 15 deletions

View File

@ -903,7 +903,7 @@ go32_terminal_inferior (struct target_ops *self)
}
static void
go32_terminal_ours (void)
go32_terminal_ours (struct target_ops *self)
{
/* Switch to cooked mode on the gdb terminal and save the inferior
terminal mode to be restored when it is resumed. */