3 * mmalloc.h (mmtrace): Add prototype.
8 * mvalloc.c (valloc): new.
9 * mmemalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
11 (memalign): don't put the node on the _aligned_blocks list more
16 * Makefile.in (OFILES): Make objects depend upon Makefile,
17 since Makefile sets DEFS which can definitely affect how
18 objects are to be compiled.
22 * configure.in (AC_CHECK_HEADERS): add limits.h.
23 (AC_HEADER_STDC): remove.
25 * mmalloc.h: document necessity of defining size_t before
28 * mmprivate.h: add check for limits.h, remove definition of
33 * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.
37 * configure.in: add check for stddef.h
38 * mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
42 * configure.in: add AC_HEADER_STDC check.
44 * mmalloc.h: check if STDC_HEADERS instead of __STDC__.
46 * mmprivate.h: check if STDC_HEADERS instead of __STDC__.
50 * mmprivate.h: Remove declarations (PTR, etc) that are already
51 provided by ansidecl.h, include mmalloc.h earlier in file.
55 * Makefile.in (BISON): Remove macro.
59 * Makefile.in (maintainer-clean): New target, synonym for
60 realclean. Add GNU standard maintainer-clean echos.
64 * Update all FSF addresses except those in COPYING* files
65 and shar archive of original FSF files.
69 * Makefile.in (distclean, realclean): Remove config.cache and
74 * Makefile.in (Makefile): Added config.status to dependency list.
75 (config.status): New target.
79 * mmap-sup.c: Removed munmap prototype. Some systems have a
80 slightly different prototype.
84 * Makefile.in, configure.in: Converted to use autoconf.
85 * configure: New file, generated with autoconf 2.3.
86 * config/{mh-go32, mh-irix, mh-ncr3000, mh-sunos4,
91 * Makefile.in (install-info): Name destination file correctly,
92 rather than using undefined shell variable.
96 * mmprivate.h: New file, was mmalloc.h.
98 * mmalloc.h: Remove all but declarations of mmalloc functions.
99 (ansidecl.h): Include.
100 * attach.c, et al: Include mmprivate.h instead of mmalloc.h.
104 * configure.in: Change i[34]86 to i[345]86.
108 * Makefile.in (distclean): Separate from realclean.
109 (realclean): Remove mmalloc.info.
113 * config/go32.mh: New file
114 * configure.in (host==go32): Use new fragment.
118 * mmtrace.c (tr_freehook, tr_mallochook, tr_reallochook):
119 Cast addresses put out via fprintf to unsigned long and use %lx.
123 * COPYING.LIB: New file (standard version 2 LGPL, as already cited
124 by the source files).
128 * Makefile.in (info dvi install-info): Actually make the manual.
132 * mmalloc.texi: Fix typo ("for for" -> "for").
136 * test1.c: New file which tests for bug fixed below.
137 * Makefile.in (check): Put in commands to run it (but commented out
138 because it won't work for Canadian cross).
140 * mmalloc.c (mmalloc): When extending a free block at the end of the
141 heap, check whether which block is at the end changed.
143 * Makefile.in (TAGS): make work when srcdir != objdir.
147 * attach.c, detach.c: Include <sys/types.h> before <fcntl.h>.
151 * Makefile.in: Add mostlyclean and realclean targets.
153 Wed Mar 24 01:58:12 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
155 * Makefile.in: add dvi and installcheck targets
157 Fri Mar 12 18:35:43 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
159 * configure.in: recognize *-*-solaris2* instead of *-*-solaris* (a
160 number of people want to call SunOS 4.1.2 "solaris1.0" and get it right)
164 * Makefile.in (distclean): Add.
168 * Makefile.in, attach.c, detach.c, keys.c, mmap-sup.c, mmtrace.c,
169 sbrk-sup.c: Use GNU Library General Public License, like other
174 * configure.in: Regularize list of host configs.
178 * mmalloc.texi: Add missing doubled @. Bugfix by Paul Eggert.
180 Fri Oct 23 01:50:52 1992 Stu Grossman (grossman at cygnus.com)
182 * configure.in: Handle solaris same as sysv4.
184 Thu Oct 1 23:34:20 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
186 * configure.in: use cpu-vendor-os triple instead of nested cases
190 * sbrk-sup.c (__mmalloc_brk_init): Ensure base of sbrk'd region
195 * Makefile.in: always create installation directories.
199 * mrealloc.c: Minor code format style changes for consistency.
203 * attach.c, detach.c, mcalloc.c, mmalloc.c, mmtrace.c, mrealloc.c,
204 sbrk-sup.c: Remove "(void)" casts from function calls where the
205 return value is ignored, in accordance with GNU coding standards.
209 * mmalloc.h (struct mdesc): Add FIXME comments to point out the
210 need to save some data on a per-process basis for mapped regions
212 * attach.c (reuse): Update the morecore field for reused mapped
213 regions to be correct for the current process.
215 Mon Jun 29 10:45:25 1992 Fred Fish (fnf at cygnus.com)
221 * mmalloc.h (struct mdesc): Change member "errno" to
222 "saved_errno" to avoid possible conflict with ANSI C environments,
223 where it is allowed to be a macro.
224 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
225 it is broken on ncr 3000's.
226 * config/mh-ncr3000 (RANLIB): Use RANLIB=true.
228 Fri Jun 12 21:34:21 1992 John Gilmore (gnu at cygnus.com)
230 * mmap-sup.c: Avoid ANSI C "empty translation unit" idiocy.
234 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL using
239 * sbrk-sup.c (sbrk_morecore): Fix sbrk() error return test.
243 * Makefile.in: rework CFLAGS so that they can be passed from the
244 command line. remove MINUS_G. Default CFLAGS to -g.
249 * attach.c, mcalloc.c, mfree.c, mmalloc.c, mmalloc.h, mmap-sup.c,
250 mmcheck.c, mtrace.c, mrealloc.c, mvalloc.c, sbrk-sup.c: Lint.
254 * configure.in: Recognize new ncr3000 config.
255 * config/mh-ncr3000: New config file.
256 * Makefile.in (MINUS_G): Add macro and default to -g.
260 * mmalloc.c: Minor fix to comment.
261 * mmalloc.texi: Update to match actual implementation
262 * mmalloc.h (morecore): Change prototype's 2nd arg to int.
266 * mmalloc.h (size_t, CHAR_BIT): Only redefine if not already
271 * mmalloc.h: Remove include of <stdlib.h>. This also gets rid
272 of the ugly kludge installed on 1-Apr-92.
274 Mon Apr 6 16:33:37 1992 Stu Grossman (grossman at cygnus.com)
276 * detach.c (mmalloc_detach): Arg should be PTR, not void *.
277 Fixes complaints from non __STDC__ systems.
281 * mcalloc.c, mfree.c, mmalloc.c, mrealloc.c: Minor comment
283 * mmalloc.h: Add ugly kludge to band-aid over problems with
284 bogus vendor <stdlib.h> files.
286 Sun Mar 29 12:41:31 1992 John Gilmore (gnu at cygnus.com)
288 * attach.c, mmalloc.c, mmcheck.c: Lint.
292 * attach.c (reuse): Explicitly discard return value of mmcheck.
293 * mmcheck.c (mmcheck): Document requirements for installing
294 corruption checking hooks and set up to enforce restrictions.
298 * config/mh-irix4: new file.
300 * Makefile.in: added standard targets, fixed install directories.
304 * Initial release, incorporated into gdb.