diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-09 01:40:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-09 01:40:25 +0000 |
commit | 8b36eed86d2784688816eb8bf25bf50b188e2c23 (patch) | |
tree | 420fe9c2a3b4086dcadf43cc960542b4bc2491d1 /gdb/f-valprint.c | |
parent | aeeccc89cabdc8a3f88dd4b7192af4cd78ec7571 (diff) | |
download | gdb-8b36eed86d2784688816eb8bf25bf50b188e2c23.zip gdb-8b36eed86d2784688816eb8bf25bf50b188e2c23.tar.gz gdb-8b36eed86d2784688816eb8bf25bf50b188e2c23.tar.bz2 |
2002-12-08 Andrew Cagney <ac131313@redhat.com>
* blockframe.c: Use get_frame_base instead of directly accessing
the `struct frame_info' member frame.
* f-valprint.c, std-regs.c, rs6000-tdep.c: Ditto.
* stack.c, dummy-frame.c, breakpoint.c: Ditto.
Diffstat (limited to 'gdb/f-valprint.c')
-rw-r--r-- | gdb/f-valprint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 7c57e0d..bd0b7bc 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -74,7 +74,7 @@ f77_get_dynamic_lowerbound (struct type *type, int *lower_bound) switch (TYPE_ARRAY_LOWER_BOUND_TYPE (type)) { case BOUND_BY_VALUE_ON_STACK: - current_frame_addr = deprecated_selected_frame->frame; + current_frame_addr = get_frame_base (deprecated_selected_frame); if (current_frame_addr > 0) { *lower_bound = @@ -98,7 +98,7 @@ f77_get_dynamic_lowerbound (struct type *type, int *lower_bound) break; case BOUND_BY_REF_ON_STACK: - current_frame_addr = deprecated_selected_frame->frame; + current_frame_addr = get_frame_base (deprecated_selected_frame); if (current_frame_addr > 0) { ptr_to_lower_bound = @@ -132,7 +132,7 @@ f77_get_dynamic_upperbound (struct type *type, int *upper_bound) switch (TYPE_ARRAY_UPPER_BOUND_TYPE (type)) { case BOUND_BY_VALUE_ON_STACK: - current_frame_addr = deprecated_selected_frame->frame; + current_frame_addr = get_frame_base (deprecated_selected_frame); if (current_frame_addr > 0) { *upper_bound = @@ -161,7 +161,7 @@ f77_get_dynamic_upperbound (struct type *type, int *upper_bound) break; case BOUND_BY_REF_ON_STACK: - current_frame_addr = deprecated_selected_frame->frame; + current_frame_addr = get_frame_base (deprecated_selected_frame); if (current_frame_addr > 0) { ptr_to_upper_bound = |