From: Mark Kettenis Date: Sun, 2 Feb 2003 18:30:56 +0000 (+0000) Subject: * stack.c (print_frame_info): Restore call to annotate_frame_begin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a3fe0a431156fb3c8626e9d9c3e2de22356228c;p=binutils-gdb.git * stack.c (print_frame_info): Restore call to annotate_frame_begin lost in the previous patch. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9388cf23722..30fdf7e4ad1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-02-02 Mark Kettenis + + * stack.c (print_frame_info): Restore call to annotate_frame_begin + lost in the previous patch. + 2003-02-01 Andrew Cagney From 2002-11-09 Jason Molenda (jason-cl@molenda.com) diff --git a/gdb/stack.c b/gdb/stack.c index e167b6e6073..6b242b2ab8a 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 ();