This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libiberty: hashtab allocation functions with an extra argument
On Tue, Jan 14, 2003 at 07:13:40PM -0500, DJ Delorie wrote:
>
> And you can't just use a global pointer?
I suppose I can. We try hard to avoid that; there's a separate value
of the argument per objfile, and it's a long-term design goal to have
most of GDB run as a library and use no global state (re-entrancy).
I can just document the issue for now and let the next person who wants
both mmalloc and re-entrancy down the road replace the hash table
implementation. Let's drop this patch.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer