aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-05 15:19:12 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-05 15:19:12 +0000
commit6fba50029c2c5b1171b67b639e974b7957706322 (patch)
tree7e34402b63337dbe545f80360a07a7bb2a654ace /gdb/stack.c
parentf1f02ee4e40571a709bcd9e8f1e97555ff506005 (diff)
downloadgdb-6fba50029c2c5b1171b67b639e974b7957706322.zip
gdb-6fba50029c2c5b1171b67b639e974b7957706322.tar.gz
gdb-6fba50029c2c5b1171b67b639e974b7957706322.tar.bz2
2003-04-05 Andrew Cagney <cagney@redhat.com>
* stack.c (print_frame_info): 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 27fcaf6..2cb9a95 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 ();
}