This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Another get_frame_pc()


Just FYI,

Andrew
2003-04-05  Andrew Cagney  <cagney at redhat dot com>

	* stack.c (print_frame_info): Use get_frame_pc.

Index: stack.c
===================================================================
RCS file: /cvs/src/src/gdb/stack.c,v
retrieving revision 1.72
diff -u -r1.72 stack.c
--- stack.c	1 Apr 2003 19:11:01 -0000	1.72
+++ stack.c	5 Apr 2003 15:16:59 -0000
@@ -216,7 +216,7 @@
       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 ();
         }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]