This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] Delete macro MALLOC_INCOMPATIBLE
- To: Andrew Cagney <ac131313 at cygnus dot com>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Re: [rfc] Delete macro MALLOC_INCOMPATIBLE
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Mon, 19 Mar 2001 17:32:59 -0700
- References: <3AB69BC0.E3617E2E@cygnus.com>
On Mar 19, 6:52pm, Andrew Cagney wrote:
> The attatched patch deletes the macro ``MALLOC_INCOMPATIBLE''. The host
> systems:
>
> SunOS-4
> hpux x.y
> Windows
>
> were defining it. I'm pretty sure it is ok for HP/UX since that system
> always defined malloc, free and realloc to ISO-C standards. I'm not so
> sure about SunOS or Windows.
>
> Is anyone else able to comment on those systems? If SunOS turns out to
> have ``char *malloc()'' then that should be handled by configure.in and
> xm-*.h.
You forgot to attach the patch, but the following appears in stdlib.h
on SunOS 4.1.4:
extern char * malloc(/* size_t size */);
Kevin