aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-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 9388cf2..30fdf7e 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 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 ();