summaryrefslogtreecommitdiff
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
commit071cc0a66c7ae6c778ad634d83e2587789409be1 (patch)
treef91866d964c41c5597923b9bff778496799f8cdb
parentd3da4d356d8d2eddd5415e5279a8bc9a0cb1b5a8 (diff)
downloadgdb-071cc0a66c7ae6c778ad634d83e2587789409be1.tar.gz
* stack.c (print_frame_info): Restore call to annotate_frame_begin
lost in the previous patch.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/stack.c4
2 files changed, 8 insertions, 1 deletions
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 <kettenis@gnu.org>
+
+ * stack.c (print_frame_info): Restore call to annotate_frame_begin
+ lost in the previous patch.
+
2003-02-01 Andrew Cagney <ac131313@redhat.com>
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 ();