aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
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 ();