This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa/intercu] Preserve DIE types


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"?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]