From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10254 invoked by alias); 6 Jan 2014 17:32:09 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10241 invoked by uid 89); 6 Jan 2014 17:32:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Jan 2014 17:32:08 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s06HW6ml011496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 6 Jan 2014 12:32:07 -0500 Received: from barimba.redhat.com (ovpn-113-85.phx2.redhat.com [10.3.113.85]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s06HW6lt000636 for ; Mon, 6 Jan 2014 12:32:06 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 0/3] remove overlapping allocation macros Date: Mon, 06 Jan 2014 17:32:00 -0000 Message-Id: <1389029524-19907-1-git-send-email-tromey@redhat.com> X-SW-Source: 2014-01/txt/msg00071.txt.bz2 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