OSDN Git Service

* linux-low.c (linux_create_inferior): Call setpgid. Return
authorDaniel Jacobowitz <dan@debian.org>
Thu, 29 Aug 2002 18:50:25 +0000 (18:50 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Thu, 29 Aug 2002 18:50:25 +0000 (18:50 +0000)
commit21520042a372e406d8e45c1d4b114e66162c90c9
tree1ac181bdf2b46b65aabce85eb20fe6012258ab5c
parent941b4c1f69e3557190c5cbc0abdb4b26774bcec5
    * 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