This is the mail archive of the gdb-patches@sourceware.org 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: RFC: really free pending_blocks, v2


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

>> +static struct pending_block *pending_blocks;

Pedro> Do we take care of always clearing this before starting a new symtab?

If we don't, then I think it is an existing bug, not affected by this
patch.

But, we do take care.  The various symbol readers install
really_free_pendings as a cleanup.

buildsym in general is a mess, mostly because it works using a lot of
globals.  It's never been actively bad enough to fix, though -- it came
close with the dwz work, but still managed to dodge a big cleanup.

Tom


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