* linux-low.c (linux_create_inferior): Call setpgid. Return
authorDaniel Jacobowitz <drow@false.org>
Thu, 29 Aug 2002 18:50:25 +0000 (18:50 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 29 Aug 2002 18:50:25 +0000 (18:50 +0000)
commita9fa9f7daf3fdb5a1cc0149156ac8d497893cf0f
treea7aca92dbeec50d8e44abc5bc83432371681279b
parente551c2572e97cf7ab0a431f5a1f25207d9a4d179
    * linux-low.c (linux_create_inferior): Call setpgid.  Return
        the new PID.
        (unstopped_p, linux_signal_pid): Remove.
        (linux_target_ops): Remove linux_signal_pid.
        * remote-utils.c (putpkt, input_interrupt): Use signal_pid
        global instead of target method.
        * target.h (struct target_ops): Remove signal_pid.  Update comment
        for create_inferior.
        * server.c (signal_pid): New variable.
        (create_inferior): Set signal_pid.  Block SIGTTOU and SIGTTIN in
        gdbserver.  Set the child to be the foreground process group.
        (attach_inferior): Set signal_pid.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.c
gdb/gdbserver/target.h