This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Another get_frame_pc()
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 05 Apr 2003 10:19:51 -0500
- Subject: [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 ();
}