This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [RFA/commit] include alloca.h if available.


> If it is just for malloc, it sounds like the include is no longer
> necessary? Unless of course malloc.h is the only location where
> alloca is defined on mingw32.

I just checked, and from what I can tell, no alloca.h on MinGW.
So the question is: Do we want to group all includes of malloc.h
in server.h? I don't see any strong reason to believe that one
way or the other is better, so I can live with the status quo.
But I'm happy to group them all, or even move the include of
alloca.h inside the various .c file as needed (it seems odd, now
that I think of it, to include alloca.h in server.h, and yet have
the includes of malloc.h spread out in the .c files).

-- 
Joel


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