Re: CVS link error

Ian Lance Taylor
2005-09-27T03:11:34Z

Daniel Jacobowitz <drow@false.org> 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