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 1/2] DW_OP_call: Provide per_cu in the batons


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> provide per_cu in the batons as required by the patch 2/2.

Jan> 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	* dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu.
Jan> 	(dwarf_expr_tls_address): Use per_cu instead of objfile.
Jan> 	(dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE.
Jan> 	Initialize new BATON.PER_CU.  Adjust CTX->GDBARCH initialization for
Jan> 	this change.
Jan> 	(struct needs_frame_baton): New field per_cu.
Jan> 	(dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU.
Jan> 	* dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.

Ok with one nit fixed:

Jan> +  /* Set no non-NULL iff this CU is currently loaded.  When it gets freed out

s/no/to/

thanks,
Tom


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