aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/stack.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3c041cf..2adf96d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-05 Andrew Cagney <cagney@redhat.com>
+
+ * stack.c (print_frame_info): Use get_frame_pc.
+
2003-04-04 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
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 ();
}