improving psymtab generation memory usage
Jim Blandy
jimb@zwingli.cygnus.com
Thu Jul 19 09:48:00 GMT 2001
Daniel Berlin <dan@cgsoftware.com> writes:
> > So what I'm saying is, we should be able to cut partial symbol table
> > generation memory usage to a minimum by adding one call to
> > obstack_free in scan_partial_symbols.
>
> Sure, for psymbols, this will work fine.
> For full symbols, it won't.
> I did the full symbol elimination first, then psymbols, so i just used
> the full symbol approach scaled down.
Sure, and that seems reasonable. I'm just checking my understanding
with someone who's been down the path before.
I'm going to make my change, simply because it's small, and will at
least help somewhat until we can do more.
More information about the Gdb
mailing list