From e76be52777c1ebda9b5191c4056f36e6a9f707bb Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 7 Apr 2002 22:30:16 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 8 ++++++++ gdb/config/pa/hpux1020.mh | 6 +++++- gdb/config/pa/hpux11.mh | 6 +++++- gdb/config/pa/hpux11w.mh | 6 +++++- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c66f6832d0d..e9409902ed0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2002-04-07 Andrew Cagney + + 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. + 2002-04-07 Andrew Cagney * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER 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