This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/3] remove overlapping allocation macros
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 13 Jan 2014 07:33:26 -0700
- Subject: Re: [PATCH 0/3] remove overlapping allocation macros
- Authentication-results: sourceware.org; auth=none
- References: <1389029524-19907-1-git-send-email-tromey at redhat dot com>
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> Right now, gdb defines some allocation macros in defs.h, specifically
Tom> XZALLOC, XMALLOC, and XCALLOC. libiberty also defines similar
Tom> allocation macros, and gdb uses both variants.
Tom> I think it's somewhat nicer if gdb uses just a single set of wrapper
Tom> macros, and so this patch series replaces all the uses of the gdb
Tom> macros with the corresponding macros from libiberty.
I'm checking this in now.
Tom