OSDN Git Service

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

gdb/ChangeLog
gdb/stack.c

index 3c041cf..2adf96d 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 27fcaf6..2cb9a95 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 ();
         }