From 2e384b3b504a05625be78518296832f93d0431eb Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sat, 19 Sep 1992 10:21:04 +0000 Subject: [PATCH] * config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE overrides, to avoid problem in xdr_bytes with malloc(0) => 0. --- gdb/ChangeLog | 5 +++++ gdb/config/decstation.mh | 6 ++++++ 2 files changed, 11 insertions(+) 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 -- 2.30.2