This is the mail archive of the
mailing list for the GDB project.
Re: [patch] Speed up find_pc_section
> Given this subthread:
> I don't believe OBJF_NOT_MAPPED is the right way to go.
Neither do I for the long term. I was seeing this as a temporary
work-around while the larger design issue is getting worked on.
The patch is relatively small and it's easy to get rid of that flag
once it becomes OBE.
> Given above, I don't think committing/testing the OBJF_NOT_MAPPED patch
> is the right way to go -- it's more of a hack then a solution.
Agreed. I'm curious as to what the other maintainers think of this
approach. I will probably use this patch in AdaCore's tree, but
thought that it might be useful to others as well. The complaint
is one part of it which I find to be an issue (they will drown any
other complaint that we might emit), but there there is a small
performance aspect where we skip scanning objfiles that do not need
to be scanned.
Anyway, let's see what the others think. I'll pursue this further
if there is interest.