aboutsummaryrefslogtreecommitdiff
path: root/gdb/acconfig.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1998-01-14 04:28:29 +0000
committerFred Fish <fnf@specifix.com>1998-01-14 04:28:29 +0000
commit0728afad48a51e389aa62523f581407fd2a24e52 (patch)
tree118e6bd85158e2e986d90f7e50c3b83ebddb8bb3 /gdb/acconfig.h
parent2a426d313662a66553da2eceaae7d54b2338af50 (diff)
downloadgdb-0728afad48a51e389aa62523f581407fd2a24e52.zip
gdb-0728afad48a51e389aa62523f581407fd2a24e52.tar.gz
gdb-0728afad48a51e389aa62523f581407fd2a24e52.tar.bz2
* configure.in (--with-mmalloc): Add new configure arg to use the
mmalloc package. Default is to not use it. (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not the string "2". * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef. * configure: Regenerated. * config.in: Regenerated. * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove. (MMALLOC): Set using configure. (MMALLOC_CFLAGS): Set using configure. * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather than just defining it. * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC. * utils.c (NO_MMALLOC): Use USE_MMALLOC instead. * objfiles.c: ditto. * defs.h: ditto. * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove. * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove. * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove. * gdbserver/Makefile.in (MMALLOC_*): Remove. * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove. * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
Diffstat (limited to 'gdb/acconfig.h')
-rw-r--r--gdb/acconfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/acconfig.h b/gdb/acconfig.h
index bd53ec3..3978e0d 100644
--- a/gdb/acconfig.h
+++ b/gdb/acconfig.h
@@ -36,3 +36,12 @@
/* Define if you have HPUX threads */
#undef HAVE_HPUX_THREAD_SUPPORT
+
+/* Define if you want to use the memory mapped malloc package (mmalloc). */
+#undef USE_MMALLOC
+
+/* Define if the runtime uses a routine from mmalloc before gdb has a chance
+ to initialize mmalloc, and we want to force checking to be used anyway.
+ This may cause spurious memory corruption messages if the runtime tries
+ to explicitly deallocate that memory when gdb calls exit. */
+#undef FORCE_MMCHECK