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: [patch 2/2] Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches #2


On Tue, 04 Oct 2011 18:00:05 +0200, Tom Tromey wrote:
> Jan> gdb/
> Jan> 2011-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
> Jan> 	Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
> Jan> 	* dwarf2-frame.c (execute_stack_op): Initialize ctx->ref_addr_size.
> Jan> 	* dwarf2expr.c (execute_stack_op) <DW_OP_GNU_implicit_pointer>: Use
> Jan>	ctx-> ref_addr_size.  Handle its invalid value.
> Jan> 	* dwarf2expr.h (struct dwarf_expr_context): New field ref_addr_size.
> Jan> 	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full)
> Jan> 	(dwarf2_loc_desc_needs_frame): Initialize ctx->ref_addr_size.
> Jan> 	* dwarf2loc.h (dwarf2_per_cu_ref_addr_size): New declaration.
> Jan> 	* dwarf2read.c (decode_locdesc): Initialize ctx->ref_addr_size.
> Jan> 	(dwarf2_per_cu_ref_addr_size): New function.
> 
> Looks good to me.  Thanks for doing this.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2011-10/msg00055.html


Thanks,
Jan


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