aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
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/config/i386
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/config/i386')
-rw-r--r--gdb/config/i386/cygwin32.mh2
-rw-r--r--gdb/config/i386/i386m3.mh4
-rw-r--r--gdb/config/i386/i386mk.mh4
-rw-r--r--gdb/config/i386/xm-windows.h2
4 files changed, 1 insertions, 11 deletions
diff --git a/gdb/config/i386/cygwin32.mh b/gdb/config/i386/cygwin32.mh
index fac1bab..f3ac44d 100644
--- a/gdb/config/i386/cygwin32.mh
+++ b/gdb/config/i386/cygwin32.mh
@@ -5,4 +5,4 @@ TERMCAP=
NATDEPFILES= win32-nat.o
NAT_FILE=../nm-empty.h
XM_CLIBS=
-MMALLOC_CFLAGS = -I$(MMALLOC_SRC) -DNO_MMCHECK
+
diff --git a/gdb/config/i386/i386m3.mh b/gdb/config/i386/i386m3.mh
index 3b996df..0a83ebf 100644
--- a/gdb/config/i386/i386m3.mh
+++ b/gdb/config/i386/i386m3.mh
@@ -5,7 +5,3 @@ NATDEPFILES= i386m3-nat.o m3-nat.o fork-child.o
NAT_CLIBS= -lmachid -lnetname -lmach
XM_FILE= xm-i386m3.h
NAT_FILE= nm-m3.h
-
-# Don't use the mmalloc library in Mach 3.
-MMALLOC =
-MMALLOC_CFLAGS = -DNO_MMALLOC
diff --git a/gdb/config/i386/i386mk.mh b/gdb/config/i386/i386mk.mh
index 3b2d524..849677c 100644
--- a/gdb/config/i386/i386mk.mh
+++ b/gdb/config/i386/i386mk.mh
@@ -2,7 +2,3 @@
XDEPFILES= os-mach3.o i386mach3-xdep.o i387-tdep.o
XM_FILE= xm-i386osf1mk.h
-
-# Don't use the mmalloc library in Mach 3.
-MMALLOC =
-MMALLOC_CFLAGS = -DNO_MMALLOC
diff --git a/gdb/config/i386/xm-windows.h b/gdb/config/i386/xm-windows.h
index 91ca4d0..96fd854 100644
--- a/gdb/config/i386/xm-windows.h
+++ b/gdb/config/i386/xm-windows.h
@@ -28,8 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define CANT_FORK
#define MALLOC_INCOMPATIBLE
-#define NO_MMALLOC
-#define NO_MMCHECK
#include <malloc.h>