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.
- From: Michael Eager <eager at eagerm dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 07 Apr 2012 13:40:08 -0700
- Subject: Re: [commit] dwarf2read.c (load_partial_dies): Change condition to assert.
- References: <20120407193915.4B21224618E@ruffy.mtv.corp.google.com>
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