This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] dwarf2read.c (load_partial_dies): Change condition to assert.
On 04/07/2012 03:13 PM, Doug Evans wrote:
I think we need to be careful with terminology here (gdb sometimes
doesn't make this easy though).
There's per_cu and there's per_cu->cu.
per_cu (i.e. struct dwarf2_per_cu_data) does not get flushed or aged.
per_cu->cu (i.e. struct dwarf2_cu) does.
In your case did a struct dwarf2_per_cu_data disappear, or was it per_cu->cu?
Probably the per_cu->cu. The terminology and the many uses of
the same or similar names make remembering the details difficult.
I have no doubt there are bugs in this area, btw.
Yup.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077