This is the mail archive of the
mailing list for the GDB project.
Re: SEGV in dwarf2read.c -- gdb-7.2
On Thu, 03 Nov 2011 18:05:33 +0100, Michael Eager wrote:
> Can't help that. Bugs are found on the tools in use, not necessarily
> the latest release.
In such case I have to unfortunately say the bug is probably already fixed,
see the other mail.
> > I guess for performance reasons, the CU header read-in vs. load_full_comp_unit
> > is a big difference. There are already some PRs (such as 12828 (a)) where GDB
> > needlessly expands too many CUs "locking itself" by inacceptable performance.
> It seems that this would cause the CU header to be read many times, when
> it would otherwise use the cache.
It still may be more effective this way, it is difficult to decide without
benchmarking specific cases.