From: John Gilmore Date: Sat, 19 Sep 1992 10:21:04 +0000 (+0000) Subject: * config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e384b3b504a05625be78518296832f93d0431eb;p=binutils-gdb.git * config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE overrides, to avoid problem in xdr_bytes with malloc(0) => 0. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5475bbfea71..6723e500521 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 28fcc1eb855..2e79d8d0219 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