From 1ba38e79f8026dd68a5857bcfea05365a58a0237 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 18 Nov 1998 00:22:45 +0000 Subject: Wed Nov 11 15:47:00 1998 Michael Snyder * 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). --- gdb/procfs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/procfs.c') diff --git a/gdb/procfs.c b/gdb/procfs.c index 2d24d9c..6e56e6c 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -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 */ } /* -- cgit v1.1