This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch rfc] Make GDB's xmalloc match liberties


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]