This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
frame-unwind.h, update comment to match reality
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 22 Feb 2011 17:52:49 +0000
- Subject: frame-unwind.h, update comment to match reality
Daniel changed the whole unwind interfaces to take the THIS frame
instead of the NEXT frame almost 3 years ago. This comment
appears to have been left behind.
Applied.
--
Pedro Alves
2011-02-22 Pedro Alves <pedro@codesourcery.com>
gdb/
* frame-unwind.h: Fix comment to mention the this frame, not the
next.
---
gdb/frame-unwind.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: src/gdb/frame-unwind.h
===================================================================
--- src.orig/gdb/frame-unwind.h 2011-02-22 17:11:07.464708002 +0000
+++ src/gdb/frame-unwind.h 2011-02-22 17:37:23.724708003 +0000
@@ -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).