This is the mail archive of the gdb-patches@sourceware.org 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: [commit] dwarf2read.c (load_partial_dies): Change condition to assert.


On 04/07/2012 12:39 PM, Doug Evans wrote:
Hi.

There's no caller where cu->per_cu == NULL,
and I'd rather have the assert.

Per_cu data is flushed asynchronously in free_heap_comp_unit() and free_stack_comp_unit(). Are you sure that this can't happen?

--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


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