aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/config/m68k/sun3os4.mh6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config/m68k/sun3os4.mh b/gdb/config/m68k/sun3os4.mh
index 5d1bf52..3f63541 100644
--- a/gdb/config/m68k/sun3os4.mh
+++ b/gdb/config/m68k/sun3os4.mh
@@ -4,3 +4,9 @@ XM_FILE= xm-sun3os4.h
NAT_FILE= nm-sun3.h
NATDEPFILES= fork-child.o inftarg.o infptrace.o corelow.o sun3-nat.o
GDBSERVER_DEPFILES= low-sun3.o
+
+# 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