[patch rfc] Make GDB's xmalloc match liberties

Daniel Jacobowitz drow@mvista.com
Sun Apr 13 14:12:00 GMT 2003


On Fri, Apr 11, 2003 at 08:42:30PM -0400, Andrew Cagney wrote:
> Per recent discussion, this modifies GDB's xmalloc (actually xmmalloc) 
> so that the behavior matches libiberty's.

Seems reasonable to me, on its own.  However, is it a bug that we were
calling malloc (0) in the first place via NUM_REGS?

I know that call has been discussed before but damned if I can remember
what the discussion said.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list