aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1996-11-09 09:19:55 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1996-11-09 09:19:55 +0000
commitb78512db0373544e36a93e2d0f7a00d19d77eda7 (patch)
treed7b265cb971e1c6fda2b8e23340df1aab2548c35
parent074d813d38a8c811d8ca2d346ce0266ac4331cb2 (diff)
downloadfsf-binutils-gdb-b78512db0373544e36a93e2d0f7a00d19d77eda7.zip
fsf-binutils-gdb-b78512db0373544e36a93e2d0f7a00d19d77eda7.tar.gz
fsf-binutils-gdb-b78512db0373544e36a93e2d0f7a00d19d77eda7.tar.bz2
* config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
-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