[commit] dwarf2read.c (load_partial_dies): Change condition to assert.

Michael Eager eager@eagerm.com
Sat Apr 7 20:40:00 GMT 2012


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



More information about the Gdb-patches mailing list