From 6fba50029c2c5b1171b67b639e974b7957706322 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 5 Apr 2003 15:19:12 +0000 Subject: [PATCH] 2003-04-05 Andrew Cagney * stack.c (print_frame_info): Use get_frame_pc. --- gdb/ChangeLog | 4 ++++ gdb/stack.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3c041cf1ffb..2adf96d58db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-04-05 Andrew Cagney + + * stack.c (print_frame_info): Use get_frame_pc. + 2003-04-04 Andrew Cagney * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set diff --git a/gdb/stack.c b/gdb/stack.c index 27fcaf6f6db..2cb9a95dc3d 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -216,7 +216,7 @@ print_frame_info (struct frame_info *fi, int level, int source, int args) if (ui_out_is_mi_like_p (uiout)) { annotate_frame_address (); - ui_out_field_core_addr (uiout, "addr", fi->pc); + ui_out_field_core_addr (uiout, "addr", get_frame_pc (fi)); annotate_frame_address_end (); } -- 2.30.2