Commit graph

26 commits

Author SHA1 Message Date
Fred Fish
452ad97eb9 * mmalloc.h (mmtrace): Add prototype. 1996-03-30 05:46:57 +00:00
Jason Molenda
68bfaddafe * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.
Sigh.  It's one of those days.
1995-11-05 08:28:20 +00:00
Jason Molenda
89097c5bc5 * configure.in: add check for stddef.h
* mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
1995-11-05 08:15:15 +00:00
Jason Molenda
c93a17b7ab * configure.in: add AC_HEADER_STDC check.
* 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-11-05 03:12:15 +00:00
Stan Shebs
43b428a7bf * mmprivate.h: Remove declarations (PTR, etc) that are already
provided by ansidecl.h, include mmalloc.h earlier in file.
1995-10-24 20:21:58 +00:00
J.T. Conklin
17b05a2478 * Makefile.in, configure.in: Converted to use autoconf.
* configure: New file, generated with autoconf 2.3.
* config/{mh-go32, mh-irix, mh-ncr3000, mh-sunos4,
  mh-sysv4}: Removed.
1995-05-04 00:21:18 +00:00
Stan Shebs
18bea424b7 * mmprivate.h: New file, was mmalloc.h.
(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.
1994-10-28 23:53:29 +00:00
Jim Kingdon
58cf370c11 * mmalloc.texi: Fix typo ("for for" -> "for"). 1993-11-01 20:28:46 +00:00
Jim Kingdon
0cd1a8d2aa * Makefile.in (TAGS): make work when srcdir != objdir. 1993-07-16 22:28:12 +00:00
Jim Kingdon
1049dd2087 * attach.c, detach.c: Include <sys/types.h> before <fcntl.h>. 1993-07-15 13:01:31 +00:00
David D. Zuhn
5f8d4bcbb9 consistent use of -solaris2* 1993-03-13 03:09:19 +00:00
David D. Zuhn
d5dcef6346 use canonical triple 1992-10-02 07:13:29 +00:00
Fred Fish
bc22f7de0c * mmalloc.h (struct mdesc): Add FIXME comments to point out the
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-30 23:45:42 +00:00
Fred Fish
e33e766a1a * mmtrace.c: Lint. 1992-06-29 23:38:26 +00:00
John Gilmore
4ae6ed3a9e Avoid ANSI C "empty translation unit" idiocy. 1992-06-13 06:04:03 +00:00
Fred Fish
84d6c527c1 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL using
/usr/ucb/install.
1992-06-10 02:10:02 +00:00
K. Richard Pixley
f8a6ad66f0 pass CFLAGS, remove MINUS_G, default CFLAGS to -g 1992-04-21 04:07:29 +00:00
Fred Fish
c5b61136ef Recognize new ncr3000 config. Add MINUS_G macro, default to -g. 1992-04-11 06:01:07 +00:00
Fred Fish
1a33f7c62e Fix prototype for pointer to function to get more core. 1992-04-08 16:37:44 +00:00
Fred Fish
fa128a27ab Only redefine size_t and CHAR_BIT if they are not already defined. 1992-04-08 05:17:56 +00:00
Fred Fish
aafba48f94 Get rid of include of <stdlib.h>, which is not guaranteed to be present
even when __STDC__ is defined.  This also causes the ugly malloc/realloc/etc
kludge to go away.
1992-04-07 03:53:12 +00:00
Stu Grossman
6f2a109c2c * detach.c (mmalloc_detach): Arg should be PTR, not void *.
Fixes complaints from non __STDC__ systems.
1992-04-06 23:35:26 +00:00
Fred Fish
9640d88754 Add kludge to work around broken <stdlib.h> in gcc installation on Suns.
Fixup some comments in mcalloc, mfree, mmalloc, and mrealloc.
1992-04-01 19:49:00 +00:00
Fred Fish
01fb5bca1c Document requirements for calling mmcheck to install corruption checking
hooks and set up to enforce the requirements.  However, we still allow
unconditional installation until some complications are resolved.
1992-03-27 01:11:08 +00:00
K. Richard Pixley
00b6671ff2 added standard targets, fixed install directories 1992-03-25 07:41:41 +00:00
Fred Fish
63abb1e790 New memory malloc malloc library, based on GNU malloc. 1992-03-15 02:16:01 +00:00