aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/sun4os4.mh
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sparc/sun4os4.mh')
-rw-r--r--gdb/config/sparc/sun4os4.mh6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config/sparc/sun4os4.mh b/gdb/config/sparc/sun4os4.mh
index 4047c5c..7b3709a 100644
--- a/gdb/config/sparc/sun4os4.mh
+++ b/gdb/config/sparc/sun4os4.mh
@@ -9,3 +9,9 @@ GDBSERVER_DEPFILES= low-sparc.o
# anyone who wants to use NIS, which includes at least one Cygnus customer
# (PR 3593). So leave it this way until/unless we find a resolver which can
# get names from either DNS or NIS from the same GDB binary.
+
+# SunOS 4.x has memory allocation calls in the C runtime. However
+# since free() is never called with these objects, it is safe to
+# define MMCHECK_FORCE to 1 and thus force installation of the mmalloc
+# corruption checks.
+MMALLOC_CFLAGS = -I$(MMALLOC_SRC) -DMMCHECK_FORCE=1