aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-19 10:21:04 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-19 10:21:04 +0000
commit2e384b3b504a05625be78518296832f93d0431eb (patch)
treeaa4b8de0a43da8b1e4d15ac1d627ae7f750727d9 /gdb
parent3a1579023997764f7332abff7ae99abe80ded370 (diff)
downloadgdb-2e384b3b504a05625be78518296832f93d0431eb.zip
gdb-2e384b3b504a05625be78518296832f93d0431eb.tar.gz
gdb-2e384b3b504a05625be78518296832f93d0431eb.tar.bz2
* config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE
overrides, to avoid problem in xdr_bytes with malloc(0) => 0.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/decstation.mh6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5475bbf..6723e50 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Sat Sep 19 03:14:37 1992 John Gilmore (gnu@cygnus.com)
+
+ * config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE
+ overrides, to avoid problem in xdr_bytes with malloc(0) => 0.
+
Wed Sep 16 20:04:54 1992 K. Richard Pixley (rich@sendai.cygnus.com)
* target.h (struct target_ops): removed to_convert_to_virtual and
diff --git a/gdb/config/decstation.mh b/gdb/config/decstation.mh
index 28fcc1e..2e79d8d 100644
--- a/gdb/config/decstation.mh
+++ b/gdb/config/decstation.mh
@@ -1,3 +1,9 @@
# Host: Little-endian MIPS machine such as DECstation.
XDEPFILES= infptrace.o mips-xdep.o coredep.o
XM_FILE= xm-mips.h
+
+# We can't use MMALLOC because the DECstation RPC library can't cope
+# with a malloc(0) that returns 0. Besides, it's useless on a machine
+# without a real mmap().
+MMALLOC_LIB =
+MMALLOC_DISABLE = -DNO_MMALLOC