• Corinna Vinschen's avatar
    Cygwin: Don't change pgid to ctty pgid under debugger · 2232498c
    Corinna Vinschen authored
    _pinfo::set_ctty sets myself's pgid to the ctty pgid if the process has
    been started from a non-Cygwin process.  This isn't the right thing to
    do when started from GDB.  GDB starts the application via standard
    Windows means, not via Cygwin fork/exec, so it's treated as being
    a non-Cygwin parent.
    
    But we want the app running in it's own process group.  So skip this
    step when running under a debugger
    Signed-off-by: default avatarCorinna Vinschen <corinna-cygwin@cygwin.com>
    2232498c
pinfo.cc 42 KB