aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-12-26 23:29:26 +0000
committerFred Fish <fnf@specifix.com>1996-12-26 23:29:26 +0000
commit34191e52056ef6780b44234b0ff706daba5a3e8c (patch)
treed1bb76cec3ba640588a8b5952f7b681ab942543e /gdb
parenta7f6f9ed4d96db82b9593bd73b45fba24a306b1c (diff)
downloadgdb-34191e52056ef6780b44234b0ff706daba5a3e8c.zip
gdb-34191e52056ef6780b44234b0ff706daba5a3e8c.tar.gz
gdb-34191e52056ef6780b44234b0ff706daba5a3e8c.tar.bz2
* config/pa/hppahpux.mh (TERMCAP): Always link to libc before
libcurses, to avoid picking up broken select() from libcurses on some versions of HPUX.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/pa/hppahpux.mh5
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7c818de..0a772d3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Thu Dec 26 15:20:48 1996 Fred Fish <fnf@cygnus.com>
+
+ * config/pa/hppahpux.mh (TERMCAP): Always link to libc before
+ libcurses, to avoid picking up broken select() from libcurses
+ on some versions of HPUX.
+
Thu Dec 26 15:15:21 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* sparclet-rom.c: Remove includes of Unix system files.
diff --git a/gdb/config/pa/hppahpux.mh b/gdb/config/pa/hppahpux.mh
index 6c566a6..35e9cd7 100644
--- a/gdb/config/pa/hppahpux.mh
+++ b/gdb/config/pa/hppahpux.mh
@@ -1,6 +1,9 @@
# Host: Hewlett-Packard PA-RISC machine, running HPUX
-TERMCAP = -lcurses
+# Some versions of HPUX (10.10 for example) have a libcurses.a that contains a broken
+# select(), which if linked into gdb ahead of libc, will cause gdb to core dump on
+# startup. As a workaround, always link libc first when using libcurses.
+TERMCAP = -lc -lcurses
XM_FILE= xm-hppah.h
XDEPFILES= ser-tcp.o