This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multi-threaded dwarf parsing
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Simon Marchi <simon dot marchi at polymtl dot ca>, Tom Tromey <tom at tromey dot com>, gdb at sourceware dot org
- Date: Wed, 24 Feb 2016 22:22:15 +0100
- Subject: Re: Multi-threaded dwarf parsing
- Authentication-results: sourceware.org; auth=none
- References: <2c38d5c574de28faa9fc94fe4ed17d45 at simark dot ca> <56CD8EC0 dot 3010304 at redhat dot com> <87lh6a6s8s dot fsf at tromey dot com> <c4dc7b1f07fe11da024684ec2de47a7e at simark dot ca> <20160224202519 dot GA10251 at host1 dot jankratochvil dot net> <56CE1C56 dot 9010208 at redhat dot com>
On Wed, 24 Feb 2016 22:10:46 +0100, Pedro Alves wrote:
> On 02/24/2016 08:25 PM, Jan Kratochvil wrote:
> > If really your concern are psymtabs then use Tom's .gdb_index:
> > gdb/contrib/gdb-add-index.sh
>
> I think the index isn't so helpful if the big thing that takes a
> while to read/load is what you're changing in a edit/compile/debug
> cycle.
I found it useful even during edit/compile/debug cycles. If one modifies
an .h file the compilation step takes up to a few minutes anyway so that is
a non-interactive step. Moreover it is done only once, one may debug it more
times then etc.
> Sounds like something that could be sped up by reading CUs in parallel.
Yes; going to discuss it in another mail.
Jan