This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Do not call xmalloc_failed in expandargv
Ian Lance Taylor wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
>
>
>>! {
>>! fprintf (stderr, "\n%sout of memory\n");
>>! xexit (1);
>>! }
>
>
> You need an argument to fprintf there, although I don't know just what
> it would be. Or just call fputs.
Doh. I changed that to use fputs, and checked it in.
Thanks!
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304