Browse Source

Define MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h>

gdb-4_18-branch
Michael Tiemann 35 years ago
parent
commit
a748555bbb
  1. 8
      gdb/ChangeLog
  2. 8
      gdb/xm-sun4os4.h

8
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

8
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 (());

Loading…
Cancel
Save