summaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-17 17:27:45 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-17 17:27:45 +0000
commitb94829b987540248f6797e3914465516843fbcc8 (patch)
tree78c85d134421a55ae94103ad6fc303faa06a0515 /gdb/stack.c
parentf91c6006124eecbdd811d69c0fc9ff6a0416ee38 (diff)
downloadgdb-b94829b987540248f6797e3914465516843fbcc8.tar.gz
2002-12-17 Andrew Cagney <ac131313@redhat.com>
* stack.c (frame_info): Use get_frame_saved_regs. * breakpoint.c (until_break_command): Use get_frame_pc.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 5f843f27004..6ce7366e5bb 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -900,7 +900,7 @@ frame_info (char *addr_exp, int from_tty)
}
}
- if (fi->saved_regs == NULL)
+ if (get_frame_saved_regs (fi) == NULL)
FRAME_INIT_SAVED_REGS (fi);
/* Print as much information as possible on the location of all the
registers. */