summaryrefslogtreecommitdiff
path: root/gdb/config/pa
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-07 22:30:16 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-07 22:30:16 +0000
commitf1ce266f44d59d3c6f425f3db739d001de14019e (patch)
treee5c42b84ec568f34c526d22dd139b74c2968b161 /gdb/config/pa
parent2aeaab17fa24f2b7578838e6fee0e856bc82aad5 (diff)
downloadgdb-f1ce266f44d59d3c6f425f3db739d001de14019e.tar.gz
I believe Jeff Law denies responsability for this one:
* config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. Work-around for PR gdb/366.
Diffstat (limited to 'gdb/config/pa')
-rw-r--r--gdb/config/pa/hpux1020.mh6
-rw-r--r--gdb/config/pa/hpux11.mh6
-rw-r--r--gdb/config/pa/hpux11w.mh6
3 files changed, 15 insertions, 3 deletions
diff --git a/gdb/config/pa/hpux1020.mh b/gdb/config/pa/hpux1020.mh
index e9c24eead23..18f542ee885 100644
--- a/gdb/config/pa/hpux1020.mh
+++ b/gdb/config/pa/hpux1020.mh
@@ -1,6 +1,10 @@
# Host: Hewlett-Packard PA-RISC machine, running HPUX 10.20
-MH_CFLAGS = -D__HP_CURSES
+# FIXME: cagney/2002-04-07: gdb/366: The -Dvfork=fork hack below is
+# stop GDB hanging on HP/UX. For some reason vfork() hangs yet fork()
+# doesn't ....
+
+MH_CFLAGS = -D__HP_CURSES -Dvfork=fork
XM_FILE= xm-hppah.h
diff --git a/gdb/config/pa/hpux11.mh b/gdb/config/pa/hpux11.mh
index a9919c4fc25..25504e030c9 100644
--- a/gdb/config/pa/hpux11.mh
+++ b/gdb/config/pa/hpux11.mh
@@ -1,6 +1,10 @@
# Host: Hewlett-Packard PA-RISC machine, running HPUX 11.00
-MH_CFLAGS = -D__HP_CURSES
+# FIXME: cagney/2002-04-07: gdb/366: The -Dvfork=fork hack below is
+# stop GDB hanging on HP/UX. For some reason vfork() hangs yet fork()
+# doesn't ....
+
+MH_CFLAGS = -D__HP_CURSES -Dvfork=fork
XM_FILE= xm-hppah.h
diff --git a/gdb/config/pa/hpux11w.mh b/gdb/config/pa/hpux11w.mh
index 279efa1cec2..b784263a4fb 100644
--- a/gdb/config/pa/hpux11w.mh
+++ b/gdb/config/pa/hpux11w.mh
@@ -1,6 +1,10 @@
# Host: Hewlett-Packard PA-RISC machine, running HPUX 11.00
-MH_CFLAGS = -D__HP_CURSES
+# FIXME: cagney/2002-04-07: gdb/366: The -Dvfork=fork hack below is
+# stop GDB hanging on HP/UX. For some reason vfork() hangs yet fork()
+# doesn't ....
+
+MH_CFLAGS = -D__HP_CURSES -Dvfork=fork
XM_FILE= xm-hppah.h