aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1998-11-18 00:22:45 +0000
committerMichael Snyder <msnyder@vmware.com>1998-11-18 00:22:45 +0000
commit1ba38e79f8026dd68a5857bcfea05365a58a0237 (patch)
treed094b2202e4229793e4b63a16c08ba46da46834c /gdb/procfs.c
parent78dee4ee0534c35875961f40cc92e36ef5dd3cd0 (diff)
downloadgdb-1ba38e79f8026dd68a5857bcfea05365a58a0237.zip
gdb-1ba38e79f8026dd68a5857bcfea05365a58a0237.tar.gz
gdb-1ba38e79f8026dd68a5857bcfea05365a58a0237.tar.bz2
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).
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c3
1 files changed, 3 insertions, 0 deletions
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 */
}
/*