aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-02-22 17:51:24 +0000
committerPedro Alves <palves@redhat.com>2011-02-22 17:51:24 +0000
commitb7ea3126c02915e913befc54ce6bebb6446efef6 (patch)
treec226d278ca587c7bf4f039b91cd20f92df0f44f0
parentb9b35694e3906d1cdecc22a997715f920aece290 (diff)
downloadgdb-b7ea3126c02915e913befc54ce6bebb6446efef6.zip
gdb-b7ea3126c02915e913befc54ce6bebb6446efef6.tar.gz
gdb-b7ea3126c02915e913befc54ce6bebb6446efef6.tar.bz2
gdb/
* frame-unwind.h: Fix comment to mention the this frame, not the next.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/frame-unwind.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3913b54..1859bf0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-22 Pedro Alves <pedro@codesourcery.com>
+
+ * frame-unwind.h: Fix comment to mention the this frame, not the
+ next.
+
2011-02-22 Tom Tromey <tromey@redhat.com>
* symfile.c (auto_solib_limit): Remove.
diff --git a/gdb/frame-unwind.h b/gdb/frame-unwind.h
index 3fe31f0..2bd8046 100644
--- a/gdb/frame-unwind.h
+++ b/gdb/frame-unwind.h
@@ -33,8 +33,8 @@ struct value;
/* The following unwind functions assume a chain of frames forming the
sequence: (outer) prev <-> this <-> next (inner). All the
- functions are called with the next frame's `struct frame_info'
- and this frame's prologue cache.
+ functions are called with this frame's `struct frame_info' and
+ prologue cache.
THIS frame's register values can be obtained by unwinding NEXT
frame's registers (a recursive operation).