This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/intercu] Preserve DIE types
- From: Jim Blandy <jimb at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 21 Sep 2004 01:25:14 -0500
- Subject: Re: [rfa/intercu] Preserve DIE types
- References: <20040921023139.GA25706@nevyn.them.org>
Daniel Jacobowitz <drow@false.org> writes:
> The only solution I could find was to cache this information, specifically
> the DIE -> type mapping.
I think that's the only correct thing to do.
> Tested on i686-pc-linux-gnu. OK?
It looks fine. Just one question: in set_die_type, why do you check
whether cu->per_cu is NULL? Under what circumstances would we be
associating types to dies in a compilation unit that is not considered
"read in"?