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: [rfc] Eliminate implicit current_gdbarch use in dwarf2_read_address


> ChangeLog:
> 
> 	* dwarf2expr.h (dwarf2_read_address): Add gdbarch argument.
> 	* dwarf2expr.c (dwarf2_read_address): Add gdbarch argument.
> 	Call gdbarch_integer_to_address directly instead of converting
> 	to value and back.  Update comment.
> 	(execute_stack_op): Update call site.
> 	* dwarf2loc.c (find_location_expression): Likewise.
> 	(locexpr_describe_location): Update
> 
> 	* dwarf2expr.h (struct dwarf_expr_context): Add gdbarch member.
> 	* dwarf2-frame.c (execute_stack_op): Initialize ctx->gdbarch.
> 	* dwarf2loc. (dwarf2_evaluate_loc_desc): Likewise.
> 	(dwarf2_loc_desc_needs_frame): Likewise.

I've checked this in as well.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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