Age | Commit message (Collapse) | Author | Files | Lines |
|
2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (FLAGS_TO_PASS): Add DESTDIR.
(install-only): Support DESTDIR.
(uninstall): Likewise.
(install-gdbtk): Likewise.
gdb/doc/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (install-info): Support DESTDIR.
(install-html): Likewise.
gdb/gdbserver/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (install-only): Create dest dir. Support DESTDIR.
(uninstall): Support DESTDIR.
mmalloc/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (install-info): Create dest dir. Support DESTDIR.
(install): Likewise.
|
|
* Makefile.in (install): Move install-info to here...
(all): ...from here.
|
|
* Makefile.in (INFO_DEPS): Define.
(all): Add install-info to the rule.
(info): Unse INFO_DEPS.
(install-info): Rewrite.
(uninstall-info): New.
(uninstall): New.
|
|
* mmap-sup.c (MAP_PRIVATE_OR_SHARED): Define.
(__mmalloc_mmap_morecore): Use.
(__mmalloc_remap_core): Use.
|
|
Run install-info program on the installed Info files.
* gdb/doc/Makefile.in (install-info): Run install-info on installed
Info files.
|
|
since the latter loses on DOS 8+3 filesystems.
|
|
by GDB's Host maintainers.
|
|
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.
|
|
mm.c, attach.c, mmap-sup.c, sbrk-sup.c: Include <unistd.h> for sbrk
and lseek declarations.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
by the source files).
|
|
|
|
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
recognized place to note things which are not yet implemented.
|
|
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.
|
|
|
|
* 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.
|
|
|
|
reality. Minor fix to comment in mmalloc.c. Remove README from .Sanitize
|
|
|
|
|
|
|