From 006defbaa8bdec6f565cac25b2a35251629c1c57 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 7 Apr 2002 22:34:31 +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 049bfb4def9..7e01d7e8581 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 Elena Zannoni * sh-tdep.c (sh_fp_frame_init_saved_regs, 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 -- 2.30.2