This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: store.exp failure on i686-linux with newer gcc's
>>>>> "Nathan" == Nathan Froyd <froydnj@codesourcery.com> writes:
I've been thinking about this patch more and I have one more question.
Nathan> + struct gdbarch *arch = get_frame_arch (frame);
Nathan> + struct frame_id frame_id = get_frame_id (frame);
Nathan> +
Nathan> + c = allocate_piece_closure (ctx->num_pieces, ctx->pieces);
Nathan> + retval = allocate_computed_value (SYMBOL_TYPE (var),
Nathan> + &pieced_value_funcs,
Nathan> + c);
Nathan> + VALUE_FRAME_ID (retval) = frame_id;
My understanding is that we can evaluate dwarf expressions that do not
need a frame. Will this code do the right thing in that situation?
I am not sure how to construct a situation like that. Maybe someone
else knows.
Tom