This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch rfc] Make GDB's xmalloc match liberties
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 13 Apr 2003 10:12:50 -0400
- Subject: Re: [patch rfc] Make GDB's xmalloc match liberties
- References: <3E9760F6.1040704@redhat.com>
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