This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Avoid obstack_free in cp-namespace.c
On Mon, Feb 09, 2004 at 01:15:28PM -0800, David Carlton wrote:
> On Mon, 9 Feb 2004 16:10:10 -0500, Daniel Jacobowitz <drow@mvista.com> said:
>
> > What do you think of this change? It makes the assumption that
> > lookup_block_symbol will not allocate anything on the objfile
> > obstack, which is no longer true in a patch I'm testing. I really
> > dislike obstack_free for this exact reason.
>
> Makes sense to me.
Checked in.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer