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:
Tom Tromey
2013-12-17 21:31:01 -07:00
parent e3594fd196
commit ae3bd4315d
5 changed files with 18 additions and 8 deletions

View File

@ -245,7 +245,7 @@ terminal_init_inferior_with_pgrp (int pgrp)
and gdb must be able to restore it correctly. */
void
terminal_save_ours (void)
terminal_save_ours (struct target_ops *self)
{
if (gdb_has_a_terminal ())
{