* config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
authorPeter Schauer <Peter.Schauer@mytum.de>
Sat, 9 Nov 1996 09:19:55 +0000 (09:19 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Sat, 9 Nov 1996 09:19:55 +0000 (09:19 +0000)
gdb/config/m68k/sun3os4.mh

index 5d1bf5236654375056f17341b6f1b8878d3704c4..3f63541462ef988b06ea34415efc0025e08b7f6d 100644 (file)
@@ -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