diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-04-05 15:19:12 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-04-05 15:19:12 +0000 |
commit | 5888f35947a61510e747a15a31c47b2201ccc2f6 (patch) | |
tree | 0033361ce2d3572ff434dc0e4eee291e6ceb0618 /gdb/stack.c | |
parent | 090e588e9a2438046173920a3192fbeaf44dd203 (diff) | |
download | gdb-5888f35947a61510e747a15a31c47b2201ccc2f6.tar.gz |
2003-04-05 Andrew Cagney <cagney@redhat.com>
* stack.c (print_frame_info): Use get_frame_pc.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 27fcaf6f6db..2cb9a95dc3d 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 (); } |