From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32216 invoked by alias); 27 Sep 2005 14:32:01 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32190 invoked by uid 22791); 27 Sep 2005 14:31:57 -0000 Received: from dumbledore.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.11) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 27 Sep 2005 14:31:57 +0000 Received: (qmail 25281 invoked from network); 27 Sep 2005 14:31:55 -0000 Received: from unknown (HELO ?192.168.0.4?) (mitchell@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Sep 2005 14:31:55 -0000 Message-ID: <433957E1.9010203@codesourcery.com> Date: Tue, 27 Sep 2005 14:32:00 -0000 From: Mark Mitchell User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Ian Lance Taylor CC: Daniel Jacobowitz , Bob Rossi , GDB Subject: Re: CVS link error References: <20050927002836.GA10821@white> <20050927024207.GA22531@nevyn.them.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-09/txt/msg00211.txt.bz2 Ian Lance Taylor wrote: > Daniel Jacobowitz writes: > > >>On Mon, Sep 26, 2005 at 05:31:52PM -0700, Ian Lance Taylor wrote: >> >>>I think this is happening because expandargv in libiberty/argv.c now >>>calls xmalloc_failed. That is provided by libiberty/xmalloc.c but not >>>by gdb/utils.c. >>> >>>Is there any reason for gdb/utils.c to continue to define xmalloc and >>>friends? >> >>Yes. GDB's versions don't do the same thing on error. > > > Mark, gdb no longer links, probably because of the change to > libiberty/argv.c. See > http://sources.redhat.com/ml/gdb/2005-09/msg00203.html > > Perhaps expandargv should be moved to a different file, or perhaps it > should not call xmalloc_failed. I'll do something to fix it ASAP. I tested a binutils build and a GCC build, but didn't think to test every program in src. Apologies, -- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304