diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 16:43:39 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 16:43:39 +0000 |
commit | c7bb205ca90c54c3a99aa42dc9aa21872347690b (patch) | |
tree | 447feec94255ded23ab10c90e9bec70a72567769 /gdb/dwarf2loc.c | |
parent | ea06eb3dd8f0780ee5ffa63354e60533990a890a (diff) | |
download | gdb-c7bb205ca90c54c3a99aa42dc9aa21872347690b.zip gdb-c7bb205ca90c54c3a99aa42dc9aa21872347690b.tar.gz gdb-c7bb205ca90c54c3a99aa42dc9aa21872347690b.tar.bz2 |
2007-06-12 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by
gdbarch_virtual_frame_pointer.
* tracepoint.c (encode_actions): Likewise.
* dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise.
* ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index d79c1f5..79e120b 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -387,7 +387,8 @@ dwarf2_tracepoint_var_ref (struct symbol *symbol, struct agent_expr *ax, error (_("Unexpected opcode after DW_OP_fbreg for symbol \"%s\"."), SYMBOL_PRINT_NAME (symbol)); - TARGET_VIRTUAL_FRAME_POINTER (ax->scope, &frame_reg, &frame_offset); + gdbarch_virtual_frame_pointer (current_gdbarch, + ax->scope, &frame_reg, &frame_offset); ax_reg (ax, frame_reg); ax_const_l (ax, frame_offset); ax_simple (ax, aop_add); |