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]

[PATCH 0/3] remove overlapping allocation macros


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 and doing a cross build to
mingw.  It's possible therefore that there are some buglets remaining.

Tom


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