summaryrefslogtreecommitdiff
path: root/mmalloc
Commit message (Collapse)AuthorAgeFilesLines
* * mmalloc/Makefile.in (install-info): Make sure $(infodir) exists.Eli Zaretskii2000-05-172-0/+10
| | | | | | Run install-info program on the installed Info files. * gdb/doc/Makefile.in (install-info): Run install-info on installed Info files.
* * Makefile.in (install): Append "n", not ".n" to libmmalloc.a,Eli Zaretskii2000-03-202-3/+8
| | | | since the latter loses on DOS 8+3 filesystems.
* Add MAINTAINERS file to mmalloc directory - part of GDB and maintainedAndrew Cagney2000-02-282-0/+9
| | | | by GDB's Host maintainers.
* * build fix for cygwinFrank Ch. Eigler2000-02-195-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.
* From 2000-02-17 RodneyBrown@pmsc.com:Andrew Cagney2000-02-187-49/+100
| | | | | mm.c, attach.c, mmap-sup.c, sbrk-sup.c: Include <unistd.h> for sbrk and lseek declarations.
* import gdb-2000-02-04 snapshotJason Molenda2000-02-056-45/+138
|
* Remove pregenerated info fileStan Shebs1999-05-041-219/+0
|
* Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1999-04-1625-0/+5513
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-0/+219
|
* Initial creation of sourceware repositoryStan Shebs1999-04-1626-4833/+0
|
* * Makefile.in (mm.o): New target that combines all the functionsFred Fish1996-12-282-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.
* * configure configure.in: Don't default CC to cc. It causes problemsStu Grossman1996-09-051-0/+9
| | | | when starting a compile in the mmalloc directory.
* * mmap-sup.c (mmalloc_findbase): Change to not require /dev/zeroFred Fish1996-07-131-0/+5
| | | | if MMAP_ANONYMOUS is available.
* * detach.c (mmalloc_detach): Fix bug in computation of negativeFred Fish1996-07-113-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.
* * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):Jason Molenda1996-06-251-0/+21
| | | | | | | Use autoconf-set values. (docdir): Removed. * configure.in (AC_PREREQ): autoconf 2.5 or higher. * configure: Rebuilt.
* * mmalloc.h (mmtrace): Add prototype.Fred Fish1996-03-301-0/+30
|
* * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.Jason Molenda1995-11-053-6/+17
| | | | Sigh. It's one of those days.
* * configure.in: add check for stddef.hJason Molenda1995-11-054-1/+36
| | | | * mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
* * configure.in: add AC_HEADER_STDC check.Jason Molenda1995-11-055-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.
* * mmprivate.h: Remove declarations (PTR, etc) that are alreadyStan Shebs1995-10-242-0/+386
| | | | provided by ansidecl.h, include mmalloc.h earlier in file.
* * Makefile.in, configure.in: Converted to use autoconf.J.T. Conklin1995-05-042-1/+13
| | | | | | * configure: New file, generated with autoconf 2.3. * config/{mh-go32, mh-irix, mh-ncr3000, mh-sunos4, mh-sysv4}: Removed.
* * mmprivate.h: New file, was mmalloc.h.Stan Shebs1994-10-282-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.
* * COPYING.LIB: New file (standard version 2 LGPL, as already citedJim Kingdon1993-11-172-0/+482
| | | | by the source files).
* * mmalloc.texi: Fix typo ("for for" -> "for").Jim Kingdon1993-11-011-0/+11
|
* Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitlyFred Fish1993-08-021-1/+0
| | | | added to the list by Sanitize, unless Sanitize knows it needs to keep it.
* Add .Sanitize to Things-to-lose list.Fred Fish1993-07-301-0/+1
|
* Add test1.c to Things-to-lose list.Fred Fish1993-07-301-0/+1
|
* * Makefile.in (TAGS): make work when srcdir != objdir.Jim Kingdon1993-07-162-26/+44
|
* * attach.c, detach.c: Include <sys/types.h> before <fcntl.h>.Jim Kingdon1993-07-151-0/+12
|
* added things-to-lose sectionsK. Richard Pixley1993-05-271-0/+4
|
* Add list of things explicitly sanitize away, and description of each.Fred Fish1993-05-041-0/+4
|
* consistent use of -solaris2*David D. Zuhn1993-03-131-0/+27
|
* recording file deathK. Richard Pixley1992-12-082-2001/+0
|
* use canonical tripleDavid D. Zuhn1992-10-022-9/+32
|
* Go ahead and make the TODO file part of the distribution, so we have aFred Fish1992-06-301-0/+1
| | | | recognized place to note things which are not yet implemented.
* * mmalloc.h (struct mdesc): Add FIXME comments to point out theFred Fish1992-06-302-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.
* * mmtrace.c: Lint.Fred Fish1992-06-292-0/+176
|
* Avoid ANSI C "empty translation unit" idiocy.John Gilmore1992-06-131-0/+4
|
* * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL usingFred Fish1992-06-101-0/+9
| | | | /usr/ucb/install.
* pass CFLAGS, remove MINUS_G, default CFLAGS to -gK. Richard Pixley1992-04-211-0/+11
|
* * TODO: New file.Fred Fish1992-04-172-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.
* Recognize new ncr3000 config. Add MINUS_G macro, default to -g.Fred Fish1992-04-111-0/+8
|
* Remove obsolete README file, and update mmalloc.texi to closer reflectFred Fish1992-04-081-1/+0
| | | | reality. Minor fix to comment in mmalloc.c. Remove README from .Sanitize
* Fix prototype for pointer to function to get more core.Fred Fish1992-04-081-0/+4
|
* Only redefine size_t and CHAR_BIT if they are not already defined.Fred Fish1992-04-082-3/+11
|
* keep mmalloc.texiRoland Pesch1992-04-071-0/+1
|
* Converted from Fred's original README; no changes in substance.Roland Pesch1992-04-071-0/+272
|
* Get rid of the other half of the ugly kludge as well...Fred Fish1992-04-071-5/+0
|
* Get rid of include of <stdlib.h>, which is not guaranteed to be presentFred Fish1992-04-072-17/+5
| | | | | even when __STDC__ is defined. This also causes the ugly malloc/realloc/etc kludge to go away.
* * detach.c (mmalloc_detach): Arg should be PTR, not void *.Stu Grossman1992-04-061-0/+5
| | | | Fixes complaints from non __STDC__ systems.