aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:30:10 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:37 -0700
commitc42bf2866f330d7844917c40cf5886333fa3ea24 (patch)
treeae1d3c80f5edd76423e0f273b1100d0b2c62fbe8 /gdb/gnu-nat.c
parentc3a5ff89630f46c52ca43ee7e73933687815ca18 (diff)
downloadgdb-c42bf2866f330d7844917c40cf5886333fa3ea24.zip
gdb-c42bf2866f330d7844917c40cf5886333fa3ea24.tar.gz
gdb-c42bf2866f330d7844917c40cf5886333fa3ea24.tar.bz2
Add target_ops argument to to_terminal_init
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_terminal_init>: Add argument. (target_terminal_init): Add argument. * target.c (debug_to_terminal_init): Add argument. (update_current_target): Update. * inflow.c (terminal_init_inferior): Add 'self' argument. * inferior.h (terminal_init_inferior): Add 'self' argument. * go32-nat.c (go32_terminal_init): Add 'self' argument. * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r--gdb/gnu-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index ac98193..88216a1 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -2257,7 +2257,7 @@ gnu_detach (struct target_ops *ops, const char *args, int from_tty)
}
static void
-gnu_terminal_init_inferior (void)
+gnu_terminal_init_inferior (struct target_ops *self)
{
gdb_assert (gnu_current_inf);
terminal_init_inferior_with_pgrp (gnu_current_inf->pid);