1993-03-23 01:19:58 +00:00
|
|
|
# Host: Sun 4 or Sparcstation, running SunOS 4
|
1993-06-03 10:54:58 +00:00
|
|
|
XDEPFILES= ser-tcp.o
|
1993-03-23 01:19:58 +00:00
|
|
|
XM_FILE= xm-sun4os4.h
|
|
|
|
NAT_FILE= nm-sun4os4.h
|
|
|
|
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o
|
1993-05-21 18:07:23 +00:00
|
|
|
HOST_IPC=-DBSD_IPC
|
1993-08-27 17:38:42 +00:00
|
|
|
GDBSERVER_DEPFILES= low-sparc.o
|
1993-10-07 11:28:51 +00:00
|
|
|
# Setting XM_CLIBS=-lresolv would let us use the DNS, but that would screw
|
|
|
|
# anyone who wants to use NIS, which includes at least one Cygnus customer
|
|
|
|
# (PR 3593). So leave it this way until/unless we find a resolver which can
|
|
|
|
# get names from either DNS or NIS from the same GDB binary.
|
* 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.
1996-07-11 07:41:51 +00:00
|
|
|
|
|
|
|
# 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
|