This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 0/2] Accelerate symbol lookups 15x
- From: Doug Evans <xdje42 at gmail dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 24 Oct 2014 00:19:36 -0700
- Subject: Re: [patch 0/2] Accelerate symbol lookups 15x
- Authentication-results: sourceware.org; auth=none
- References: <20141020214410 dot GA22011 at host2 dot jankratochvil dot net>
On Mon, Oct 20, 2014 at 2:44 PM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> Hi,
>
> this patchset has been developed+tested only on top of
> [patchv2] Fix 100x slowdown regression on DWZ files
> https://sourceware.org/ml/gdb-patches/2014-10/msg00031.html
>
> [...]
> g++ -o slow slow.C -Wall -g $(pkg-config --libs gtkmm-3.0)
> gdb ./slow -ex 'b C::m' -ex 'maintenance set per-command space' -ex 'maintenance set per-command symtab' -ex 'maintenance set per-command time' -ex r
> [...]
> (gdb) p <tab><tab>
> Display all 183904 possibilities? (y or n) n
> (gdb) p/r var
Sorry I didn't mention this sooner. I wanted to point this out since
it's a more straightforward way to expand symtabs. Instead of using
"p <tab><tab>" to expand symtabs, there is "mt expand-symtabs".