* dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
authorDaniel Jacobowitz <drow@false.org>
Sun, 13 Apr 2003 15:53:44 +0000 (15:53 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 13 Apr 2003 15:53:44 +0000 (15:53 +0000)
commit61fbb938d653fed62f0c7d893b5f8e842fa7a09f
tree93b66b0415ff276ac0d3f0ef948449e9097ffb74
parent0d53c4c49facfc7400795d0d4fc7489b296d743d
* dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
to read_reg and update its comment.  Remove regnum member.
* dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
Don't call read_reg when setting in_reg.  Call read_reg to get
the frame base if it's in a register.  Return the register number
on the stack instead of in the context.  Remove extra arguments
to read_reg.
* dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
(dwarf2_evaluate_loc_desc): Call value_from_register.  Expect
the register number on the expression stack.
(needs_frame_read_reg): Remove extra arguments.
gdb/ChangeLog
gdb/dwarf2expr.c
gdb/dwarf2expr.h
gdb/dwarf2loc.c