From: Michael Tiemann Date: Mon, 1 Jun 1992 23:17:21 +0000 (+0000) Subject: Define MALLOC_INCOMPATIBLE so we can compile files which include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a748555bbb64d206563f829eb8c976f592efba9d;p=binutils-gdb.git Define MALLOC_INCOMPATIBLE so we can compile files which include --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b1cd25e03e3..202e1f698ee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Mon Jun 1 16:16:12 1992 Michael Tiemann (tiemann@cygnus.com) + + * xm-sun4os4.h (MALLOC_INCOMPATIBLE): Define it. + +Sun May 31 06:38:27 1992 Michael Tiemann (tiemann@cygnus.com) + + * configure.in: Handle -m680[01234]0-wrs. + Fri May 29 22:16:02 1992 Michael Tiemann (tiemann@rtl.cygnus.com) * m68k-pinsn.c (print_insn_arg): Pass &EXT_FORMAT_68881 to diff --git a/gdb/xm-sun4os4.h b/gdb/xm-sun4os4.h index fb03aeffd39..b20a602eba1 100644 --- a/gdb/xm-sun4os4.h +++ b/gdb/xm-sun4os4.h @@ -40,3 +40,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define MMAP_BASE_ADDRESS 0xE0000000 /* First mapping here */ #define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */ + +/* /usr/include/malloc.h defines these w/o prototypes (and uses + char * instead of void *). */ +#define MALLOC_INCOMPATIBLE +extern char* malloc PARAMS (()); +extern char* realloc PARAMS (()); +extern int free PARAMS (()); +