Age | Commit message (Collapse) | Author | Files | Lines |
|
when starting a compile in the mmalloc directory.
|
|
if MMAP_ANONYMOUS is available.
|
|
brk value.
* mmcheck.c (mmcheckf): Renamed from mmcheck and new FORCE argument
added. Replaced hack that always allowed checking routines to be
installed and enforce restriction that they have to be installed
prior to allocating any memory on the used heap or the FORCE argument
has to be non-NULL.
(mmcheck): New function that calls mmcheckf with FORCE set to zero,
for backwards compatibility.
* mmalloc.c (malloc): Store result in local variable before
returning it. Makes debugging much easier at negligible cost.
* mmalloc.h (mmcheckf): Declare.
* attach.c (reuse): Call mmcheckf rather than mmcheck.
* mmap-sup.c (__mmalloc_mmap_morecore): Improve to allow mmap
to select a base mapping address if none is otherwise given.
(mmalloc_findbase): New function that user can call to find
an available mapping address of a given size.
|
|
Use autoconf-set values.
(docdir): Removed.
* configure.in (AC_PREREQ): autoconf 2.5 or higher.
* configure: Rebuilt.
|
|
|
|
Sigh. It's one of those days.
|
|
* mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
|
|
* mmalloc.h: check if STDC_HEADERS instead of __STDC__.
* mmprivate.h: check if STDC_HEADERS instead of __STDC__.
This change is necessary to build under AIX 3.2.5 w/ cc after Stan's
Oct 24 change. I'm not convinced that changing mmalloc.h in this way
is such a good thing--if a directory that doesn't use autoconf (or one
that DOES use autoconf but doesn't put all the defines on the command
line), and it includes mmalloc.h, the right thing won't happen.
I believe gdb is the only directory which uses mmalloc, though, so
it should be OK.
|
|
provided by ansidecl.h, include mmalloc.h earlier in file.
|
|
* configure: New file, generated with autoconf 2.3.
* config/{mh-go32, mh-irix, mh-ncr3000, mh-sunos4,
mh-sysv4}: Removed.
|
|
(mmalloc.h): Include.
* mmalloc.h: Remove all but declarations of mmalloc functions.
(ansidecl.h): Include.
* attach.c, et al: Include mmprivate.h instead of mmalloc.h.
|
|
|
|
|
|
|
|
|
|
|
|
need to save some data on a per-process basis for mapped regions
that are shared.
* attach.c (reuse): Update the morecore field for reused mapped
regions to be correct for the current process.
|
|
|
|
|
|
/usr/ucb/install.
|
|
|
|
|
|
|
|
|
|
even when __STDC__ is defined. This also causes the ugly malloc/realloc/etc
kludge to go away.
|
|
Fixes complaints from non __STDC__ systems.
|
|
Fixup some comments in mcalloc, mfree, mmalloc, and mrealloc.
|
|
hooks and set up to enforce the requirements. However, we still allow
unconditional installation until some complications are resolved.
|
|
|
|
|