This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: CVS link error
Ian Lance Taylor wrote:
> 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.
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