aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
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/config
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/config')
-rw-r--r--gdb/config/decstation.mh6
1 files changed, 6 insertions, 0 deletions
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