public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] remove overlapping allocation macros
@ 2014-01-06 17:32 Tom Tromey
  2014-01-06 17:32 ` [PATCH 2/3] replace XMALLOC with XNEW Tom Tromey
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Tom Tromey @ 2014-01-06 17:32 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-13 14:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-06 17:32 [PATCH 0/3] remove overlapping allocation macros Tom Tromey
2014-01-06 17:32 ` [PATCH 2/3] replace XMALLOC with XNEW Tom Tromey
2014-01-06 17:32 ` [PATCH 1/3] replace XZALLOC with XCNEW Tom Tromey
2014-01-06 17:32 ` [PATCH 3/3] replace XCALLOC with XCNEWVEC or XCNEW Tom Tromey
2014-01-06 18:14 ` [PATCH 0/3] remove overlapping allocation macros Doug Evans
2014-01-06 18:46 ` Pedro Alves
2014-01-06 21:12   ` Tom Tromey
2014-01-13 14:33 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).