From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21966 invoked by alias); 14 Sep 2008 23:09:12 -0000 Received: (qmail 21957 invoked by uid 22791); 14 Sep 2008 23:09:12 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.br.ibm.com (HELO igw2.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 14 Sep 2008 23:08:29 +0000 Received: from mailhub1.br.ibm.com (mailhub1 [9.18.232.109]) by igw2.br.ibm.com (Postfix) with ESMTP id F237517F4DA for ; Sun, 14 Sep 2008 19:52:57 -0300 (BRT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8EN8Mio2507042 for ; Sun, 14 Sep 2008 20:08:22 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m8EN8F77002166 for ; Sun, 14 Sep 2008 20:08:16 -0300 Received: from [9.8.5.193] ([9.8.5.193]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m8EN8FqJ002069; Sun, 14 Sep 2008 20:08:15 -0300 Subject: Re: RFA: fix minor memory leak in symfile.c From: Thiago Jung Bauermann To: Tom Tromey Cc: Joel Brobecker , gdb-patches@sourceware.org In-Reply-To: References: <20080913171723.GH3714@adacore.com> <20080913223455.GB19625@adacore.com> Content-Type: text/plain; charset=utf-8 Date: Sun, 14 Sep 2008 23:09:00 -0000 Message-Id: <1221433676.17278.1.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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 X-SW-Source: 2008-09/txt/msg00322.txt.bz2 El sáb, 13-09-2008 a las 16:51 -0600, Tom Tromey escribió: > I also changed a use of asprintf, because gdbint.texinfo clearly > states that this function is not to be used. (It is the only use in > gdb.) When I added that use of asprintf, I checked that libiberty provides it if the underlying OS doesn't. I thought we could use anything covered by libiberty. Maybe not? -- []'s Thiago Jung Bauermann IBM Linux Technology Center