Wed Nov 11 15:47:00 1998 Michael Snyder <msnyder@cleaver.cygnus.com>

* procfs.c (proc_set_exec_trap): don't set PR_ASYNC or PR_FORK
        in the child process for UnixWare (causes processes forked by
        the debuggee to hang).
This commit is contained in:
Michael Snyder 1998-11-18 00:22:45 +00:00
parent 78dee4ee05
commit 1ba38e79f8
2 changed files with 24 additions and 14 deletions

View file

@ -2750,6 +2750,8 @@ proc_set_exec_trap ()
modify_run_on_last_close_flag (fd, 1);
#ifndef UNIXWARE /* since this is a solaris-ism, we don't want it */
/* NOTE: revisit when doing thread support for UW */
#ifdef PR_ASYNC
{
long pr_flags;
@ -2769,6 +2771,7 @@ proc_set_exec_trap ()
#endif
}
#endif /* PR_ASYNC */
#endif /* !UNIXWARE */
}
/*