aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-02-02 18:30:56 +0000
committerMark Kettenis <kettenis@gnu.org>2003-02-02 18:30:56 +0000
commit6a3fe0a431156fb3c8626e9d9c3e2de22356228c (patch)
treefcd98c2343523eb0aa95607e4283331267c22b21 /gdb/stack.c
parente7494ffb7117d0f6291ab03434a7d326a60c4154 (diff)
downloadgdb-6a3fe0a431156fb3c8626e9d9c3e2de22356228c.zip
gdb-6a3fe0a431156fb3c8626e9d9c3e2de22356228c.tar.gz
gdb-6a3fe0a431156fb3c8626e9d9c3e2de22356228c.tar.bz2
* stack.c (print_frame_info): Restore call to annotate_frame_begin
lost in the previous patch.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index e167b6e..6b242b2 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -203,6 +203,8 @@ print_frame_info (struct frame_info *fi, int level, int source, int args)
struct cleanup *uiout_cleanup
= make_cleanup_ui_out_tuple_begin_end (uiout, "frame");
+ annotate_frame_begin (level == -1 ? 0 : level, get_frame_pc (fi));
+
/* Do this regardless of SOURCE because we don't have any source
to list for this frame. */
if (level >= 0)
@@ -216,7 +218,7 @@ print_frame_info (struct frame_info *fi, int level, int source, int args)
ui_out_field_core_addr (uiout, "addr", fi->pc);
annotate_frame_address_end ();
}
-
+
if (get_frame_type (fi) == DUMMY_FRAME)
{
annotate_function_call ();