[PATCH 0/3] remove overlapping allocation macros
Pedro Alves
palves@redhat.com
Mon Jan 6 18:46:00 GMT 2014
On 01/06/2014 05:32 PM, Tom Tromey wrote:
> Right now, gdb defines some allocation macros in defs.h, specifically
> XZALLOC, XMALLOC, and XCALLOC. libiberty also defines similar
> allocation macros, and gdb uses both variants.
>
> I think it's somewhat nicer if gdb uses just a single set of wrapper
> macros, and so this patch series replaces all the uses of the gdb
> macros with the corresponding macros from libiberty.
>
> Let me know what you think.
>
> Tested by rebuilding on x86-64 Fedora 18
I assume an --enable-targets=all build.
and doing a cross build to
> mingw. It's possible therefore that there are some buglets remaining.
Looks fine to me.
--
Pedro Alves
More information about the Gdb-patches
mailing list