2003-04-05 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 5 Apr 2003 15:19:12 +0000 (15:19 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 5 Apr 2003 15:19:12 +0000 (15:19 +0000)
* stack.c (print_frame_info): Use get_frame_pc.

gdb/ChangeLog
gdb/stack.c

index 3c041cf1ffbb243f6ce8f58ad57da0a5d85f130d..2adf96d58dbbe77cf54d76e5b106e0e50ae312d8 100644 (file)
@@ -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
index 27fcaf6f6dba782489e7385d8dfa7be921552b20..2cb9a95dc3dcd45535ffe942fdf0ea466b4566b0 100644 (file)
@@ -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 ();
         }