This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/dwarf] Support for attributes pointing to a different CU
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 3 Oct 2004 12:28:43 -0400
- Subject: Re: [rfa/dwarf] Support for attributes pointing to a different CU
- References: <20040923045723.GA11871@nevyn.them.org> <vt2u0tobpf1.fsf@zenia.home> <20040924003412.GB10500@nevyn.them.org> <vt2d606hu4x.fsf@zenia.home>
On Tue, Sep 28, 2004 at 06:05:18PM -0500, Jim Blandy wrote:
>
> If you made your queue into a real queue, with head and tail pointers,
> and had queue_comp_unit not re-queue things that were already queued,
> then you could replace the two nested loops around load_full_comp_unit
> with a single, straightforward linked list walk, couldn't you?
Yes, it looks like that will work. Much nicer.
--
Daniel Jacobowitz