* dwarf2expr.h (dwarf2_read_address): Add gdbarch argument.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 5 Sep 2008 11:40:53 +0000 (11:40 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 5 Sep 2008 11:40:53 +0000 (11:40 +0000)
commitf7fd47281bfa87d64a095880d752b16cd5ed4510
treea82668c3f3a848ead311b17fa6c800b2c428adf3
parent714835d5a63b86bb0e82c13d2a4840d8b5e633d3
* 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.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2expr.c
gdb/dwarf2expr.h
gdb/dwarf2loc.c