This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [rfc] Delete macro MALLOC_INCOMPATIBLE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]