From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26362 invoked by alias); 27 Sep 2005 03:11:34 -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 26271 invoked from network); 27 Sep 2005 03:11:18 -0000 Received: from unknown (205.217.158.180) by sourceware.org with QMTP; 27 Sep 2005 03:11:18 -0000 Received: (qmail 23778 invoked by uid 10); 27 Sep 2005 03:11:17 -0000 Received: (qmail 14108 invoked by uid 500); 27 Sep 2005 03:11:10 -0000 To: Daniel Jacobowitz , mark@codesourcery.com Cc: Bob Rossi , GDB Subject: Re: CVS link error References: <20050927002836.GA10821@white> <20050927024207.GA22531@nevyn.them.org> From: Ian Lance Taylor Date: Tue, 27 Sep 2005 03:11:00 -0000 In-Reply-To: <20050927024207.GA22531@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-09/txt/msg00206.txt.bz2 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. Ian