diff options
author | Corinna Vinschen <corinna-cygwin@cygwin.com> | 2019-07-25 10:40:03 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna-cygwin@cygwin.com> | 2019-07-25 10:45:52 +0200 |
commit | 2232498c712acc97a38fdc297cbe53ba74d0ec2c (patch) | |
tree | d577a7fb667feae7e57131ec4a03ad8c23e522fc /winsup/cygwin/dcrt0.cc | |
parent | a13145a30d5c5e8eaf82cdf65c857a248f9b6765 (diff) | |
download | newlib-2232498c712acc97a38fdc297cbe53ba74d0ec2c.zip newlib-2232498c712acc97a38fdc297cbe53ba74d0ec2c.tar.gz newlib-2232498c712acc97a38fdc297cbe53ba74d0ec2c.tar.bz2 |
Cygwin: Don't change pgid to ctty pgid under debugger
_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: Corinna Vinschen <corinna-cygwin@cygwin.com>
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
0 files changed, 0 insertions, 0 deletions