diff options
author | Fred Fish <fnf@specifix.com> | 1996-07-11 07:41:51 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-07-11 07:41:51 +0000 |
commit | 5410991408fb224962a53189e5f94aeec854e649 (patch) | |
tree | 7c16ab2e87ea7e2274a0193ccfbad8723a994e9a /gdb/config/mips | |
parent | 7f12eb53ca94589c030b562c362b6283f1b002e4 (diff) | |
download | gdb-5410991408fb224962a53189e5f94aeec854e649.zip gdb-5410991408fb224962a53189e5f94aeec854e649.tar.gz gdb-5410991408fb224962a53189e5f94aeec854e649.tar.bz2 |
* Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
and MMALLOC_CHECK macros, and add comment indicating how host dependent
makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
to use it but to not do heap corruption checking.
* gdbserver/Makefile.in: Ditto.
* utils.c (init_malloc): Replace warning() use with direct call of
fprintf_unfiltered, since current_target has not yet been set and thus
we cannot use warning(). If we try to use mmcheck and it fails,
suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
defined. Other small mmalloc related cleanups.
* config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
* config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
* config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
* config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
* config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
Remove obsolete defines.
* config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
* config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
* config/rs6000/rs6000.mh (MMALLOC_DISABLE):
* config/rs6000/aix4.mh (MMALLOC_DISABLE):
* config/powerpc/aix4.mh (MMALLOC_DISABLE):
* config/powerpc/aix.mh (MMALLOC_DISABLE):
* config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
* config/mips/mipsm3.mh (MMALLOC_DISABLE):
* config/mips/decstation.mh (MMALLOC_DISABLE):
* config/m88k/cxux.mh (MMALLOC_DISABLE):
* config/i386/i386mk.mh (MMALLOC_DISABLE):
* config/i386/i386m3.mh (MMALLOC_DISABLE):
* config/i386/i386gnu.mh (MMALLOC_DISABLE):
Use MMALLOC_CFLAGS instead.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r-- | gdb/config/mips/decstation.mh | 2 | ||||
-rw-r--r-- | gdb/config/mips/mipsm3.mh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/mips/decstation.mh b/gdb/config/mips/decstation.mh index dc55b5b..d7baecf 100644 --- a/gdb/config/mips/decstation.mh +++ b/gdb/config/mips/decstation.mh @@ -8,4 +8,4 @@ NATDEPFILES= infptrace.o inftarg.o corelow.o mips-nat.o fork-child.o # with a malloc(0) that returns 0. Besides, it's useless on a machine # without a real mmap(). MMALLOC = -MMALLOC_DISABLE = -DNO_MMALLOC +MMALLOC_CFLAGS = -DNO_MMALLOC diff --git a/gdb/config/mips/mipsm3.mh b/gdb/config/mips/mipsm3.mh index 77279bd..3be486f 100644 --- a/gdb/config/mips/mipsm3.mh +++ b/gdb/config/mips/mipsm3.mh @@ -8,4 +8,4 @@ NAT_FILE= ../nm-m3.h # Don't use the mmalloc library in Mach 3. MMALLOC = -MMALLOC_DISABLE = -DNO_MMALLOC +MMALLOC_CFLAGS = -DNO_MMALLOC |