This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up read_psymtabs_with_fullname
- From: Doug Evans <dje at google dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Thu, 4 Apr 2013 15:09:05 -0700
- Subject: Re: [patch] Speed up read_psymtabs_with_fullname
- References: <yjt2a9pg4jgj dot fsf at ruffy2 dot mtv dot corp dot google dot com> <20130403152647 dot GB20343 at host2 dot jankratochvil dot net> <20828 dot 31305 dot 514444 dot 375841 at ruffy2 dot mtv dot corp dot google dot com>
On Wed, Apr 3, 2013 at 11:51 AM, Doug Evans <dje@google.com> wrote:
> Jan Kratochvil writes:
> > I agree with the patch. Sorry I performance regressed it. I would even
> > prefer to check it in 7.6 as you say it may have visible performance problem.
> > There were many similar changes done so it should be safe.
>
> Works for me.
>
> I committed the patch with a slight comment change,
> and I'll re-regression test it in the 7.6 branch and commit it there.
>
> Thanks.
>
> 2013-04-03 Doug Evans <dje@google.com>
>
> * psymtab.c (read_psymtabs_with_fullname): Don't call
> psymtab_to_fullname if the basenames are different.
Committed to 7.6 branch.