[RFA-v2/ARI fix] Remove use of abort function in common/buffer.c

Joel Brobecker brobecker@adacore.com
Tue May 22 12:18:00 GMT 2012


Hi Pierre, Hi Pedro,

Thanks for taking care of this, Pierre.

> +  /* new_buffer is non NULL otherwise
> +     xrealloc calls malloc_failure which does not return here.  */

I suggest a slightly different way of saying this:

    /* xrealloc guaranties that new_buffer cannot be null.  */

It avoids the problem with the location of the line break and any issue
with punctuation...

-- 
Joel



More information about the Gdb-patches mailing list