aboutsummaryrefslogtreecommitdiff
path: root/mmalloc
AgeCommit message (Collapse)AuthorFilesLines
2002-04-07From 2002-03-05 Scott Pakin <pakin@uiuc.edu>Andrew Cagney2-6/+23
* mmap-sup.c (MAP_PRIVATE_OR_SHARED): Define. (__mmalloc_mmap_morecore): Use. (__mmalloc_remap_core): Use.
2000-05-17 * mmalloc/Makefile.in (install-info): Make sure $(infodir) exists.Eli Zaretskii2-0/+10
Run install-info program on the installed Info files. * gdb/doc/Makefile.in (install-info): Run install-info on installed Info files.
2000-03-20 * Makefile.in (install): Append "n", not ".n" to libmmalloc.a,Eli Zaretskii2-3/+8
since the latter loses on DOS 8+3 filesystems.
2000-02-28Add MAINTAINERS file to mmalloc directory - part of GDB and maintainedAndrew Cagney2-0/+9
by GDB's Host maintainers.
2000-02-19* build fix for cygwinFrank Ch. Eigler5-0/+59
2000-02-18 Frank Ch. Eigler <fche@redhat.com> From Jason "crash" Molenda <jsm@cygnus.com>: * configure.in: Check for getpagesize declaration. * mvmalloc.c, mmap-sup.c: Conditionally declare getpagesize. * configure: Regenerated.
2000-02-18From 2000-02-17 RodneyBrown@pmsc.com:Andrew Cagney7-49/+100
mm.c, attach.c, mmap-sup.c, sbrk-sup.c: Include <unistd.h> for sbrk and lseek declarations.
2000-02-05import gdb-2000-02-04 snapshotJason Molenda6-45/+138
1999-05-04Remove pregenerated info fileStan Shebs1-219/+0
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs25-0/+5513
1999-04-16Initial creation of sourceware repositoryStan Shebs1-0/+219
1999-04-16Initial creation of sourceware repositoryStan Shebs26-4833/+0
1996-12-28 * Makefile.in (mm.o): New target that combines all the functionsFred Fish2-0/+38
into a single object module. This avoids client programs picking up part of the allocation routines from mmalloc and part from libc, which can lead to undefined behavior. (CFILES): Add mm.c (TARGETOBJS): Define to be either the individual objects or the single combined object. (TARGETLIB): Create the archive using TARGETOBJS. * mm.c: New file that simply #includes the other source C files.
1996-09-05 * configure configure.in: Don't default CC to cc. It causes problemsStu Grossman1-0/+9
when starting a compile in the mmalloc directory.
1996-07-13 * mmap-sup.c (mmalloc_findbase): Change to not require /dev/zeroFred Fish1-0/+5
if MMAP_ANONYMOUS is available.
1996-07-11 * detach.c (mmalloc_detach): Fix bug in computation of negativeFred Fish3-1/+219
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.
1996-06-25 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):Jason Molenda1-0/+21
Use autoconf-set values. (docdir): Removed. * configure.in (AC_PREREQ): autoconf 2.5 or higher. * configure: Rebuilt.
1996-03-30 * mmalloc.h (mmtrace): Add prototype.Fred Fish1-0/+30
1995-11-05 * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.Jason Molenda3-6/+17
Sigh. It's one of those days.
1995-11-05 * configure.in: add check for stddef.hJason Molenda4-1/+36
* mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
1995-11-05 * configure.in: add AC_HEADER_STDC check.Jason Molenda5-369/+1070
* 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.
1995-10-24 * mmprivate.h: Remove declarations (PTR, etc) that are alreadyStan Shebs2-0/+386
provided by ansidecl.h, include mmalloc.h earlier in file.
1995-05-04* Makefile.in, configure.in: Converted to use autoconf.J.T. Conklin2-1/+13
* configure: New file, generated with autoconf 2.3. * config/{mh-go32, mh-irix, mh-ncr3000, mh-sunos4, mh-sysv4}: Removed.
1994-10-28 * mmprivate.h: New file, was mmalloc.h.Stan Shebs2-5/+40
(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.
1993-11-17 * COPYING.LIB: New file (standard version 2 LGPL, as already citedJim Kingdon2-0/+482
by the source files).
1993-11-01 * mmalloc.texi: Fix typo ("for for" -> "for").Jim Kingdon1-0/+11
1993-08-02Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitlyFred Fish1-1/+0
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-07-30Add .Sanitize to Things-to-lose list.Fred Fish1-0/+1
1993-07-30Add test1.c to Things-to-lose list.Fred Fish1-0/+1
1993-07-16* Makefile.in (TAGS): make work when srcdir != objdir.Jim Kingdon2-26/+44
1993-07-15* attach.c, detach.c: Include <sys/types.h> before <fcntl.h>.Jim Kingdon1-0/+12
1993-05-27added things-to-lose sectionsK. Richard Pixley1-0/+4
1993-05-04Add list of things explicitly sanitize away, and description of each.Fred Fish1-0/+4
1993-03-13consistent use of -solaris2*David D. Zuhn1-0/+27
1992-12-08recording file deathK. Richard Pixley2-2001/+0
1992-10-02use canonical tripleDavid D. Zuhn2-9/+32
1992-06-30Go ahead and make the TODO file part of the distribution, so we have aFred Fish1-0/+1
recognized place to note things which are not yet implemented.
1992-06-30 * mmalloc.h (struct mdesc): Add FIXME comments to point out theFred Fish2-6/+22
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.
1992-06-29 * mmtrace.c: Lint.Fred Fish2-0/+176
1992-06-13Avoid ANSI C "empty translation unit" idiocy.John Gilmore1-0/+4
1992-06-10 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL usingFred Fish1-0/+9
/usr/ucb/install.
1992-04-21pass CFLAGS, remove MINUS_G, default CFLAGS to -gK. Richard Pixley1-0/+11
1992-04-17 * TODO: New file.Fred Fish2-0/+84
* attach.c, mcalloc.c, mfree.c, mmalloc.c, mmalloc.h, mmap-sup.c, mmcheck.c, mtrace.c, mrealloc.c, mvalloc.c, sbrk-sup.c: Lint.
1992-04-11Recognize new ncr3000 config. Add MINUS_G macro, default to -g.Fred Fish1-0/+8
1992-04-08Remove obsolete README file, and update mmalloc.texi to closer reflectFred Fish1-1/+0
reality. Minor fix to comment in mmalloc.c. Remove README from .Sanitize
1992-04-08Fix prototype for pointer to function to get more core.Fred Fish1-0/+4
1992-04-08Only redefine size_t and CHAR_BIT if they are not already defined.Fred Fish2-3/+11
1992-04-07keep mmalloc.texiRoland Pesch1-0/+1
1992-04-07Converted from Fred's original README; no changes in substance.Roland Pesch1-0/+272
1992-04-07Get rid of the other half of the ugly kludge as well...Fred Fish1-5/+0
1992-04-07Get rid of include of <stdlib.h>, which is not guaranteed to be presentFred Fish2-17/+5
even when __STDC__ is defined. This also causes the ugly malloc/realloc/etc kludge to go away.