aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-12 16:43:39 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-12 16:43:39 +0000
commitc7bb205ca90c54c3a99aa42dc9aa21872347690b (patch)
tree447feec94255ded23ab10c90e9bec70a72567769 /gdb/ax-gdb.c
parentea06eb3dd8f0780ee5ffa63354e60533990a890a (diff)
downloadgdb-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/ax-gdb.c')
-rw-r--r--gdb/ax-gdb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index 779aec3..b00806f 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -461,7 +461,8 @@ gen_frame_args_address (struct agent_expr *ax)
int frame_reg;
LONGEST frame_offset;
- 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);
gen_offset (ax, frame_offset);
}
@@ -475,7 +476,8 @@ gen_frame_locals_address (struct agent_expr *ax)
int frame_reg;
LONGEST frame_offset;
- 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);
gen_offset (ax, frame_offset);
}