aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-29 00:51:14 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-29 00:51:14 +0000
commite87593493c718263a9874991fd6292e8828beeb8 (patch)
tree0566a7f90b13f29233f167f1019cd54e5690f4c0 /gdb/frame.h
parentdd5039a5b98d7cafc3c2fd6d9f8cf8882627adf1 (diff)
downloadgdb-e87593493c718263a9874991fd6292e8828beeb8.zip
gdb-e87593493c718263a9874991fd6292e8828beeb8.tar.gz
gdb-e87593493c718263a9874991fd6292e8828beeb8.tar.bz2
Fix comments on `struct frame_info'.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 5d98801..66ffa5c 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -77,8 +77,8 @@ struct frame_info
the frame, or zero if it was not saved on entry to this frame.
This includes special registers such as pc and fp saved in
special ways in the stack frame. The SP_REGNUM is even more
- special, the address here is the sp for the next frame, not the
- address where the sp was saved. */
+ special, the address here is the sp for the previous frame, not
+ the address where the sp was saved. */
/* Allocated by frame_saved_regs_zalloc () which is called /
initialized by FRAME_INIT_SAVED_REGS(). */
CORE_ADDR *saved_regs; /*NUM_REGS + NUM_PSEUDO_REGS*/
@@ -96,8 +96,10 @@ struct frame_info
initialized by INIT_EXTRA_FRAME_INFO */
struct frame_extra_info *extra_info;
- /* Pointers to the next and previous frame_info's in the frame cache. */
- struct frame_info *next, *prev;
+ /* Pointers to the next (down, inner) and previous (up, outer)
+ frame_info's in the frame cache. */
+ struct frame_info *next; /* down, inner */
+ struct frame_info *prev; /* up, outer */
};
/* Values for the source flag to be used in print_frame_info_base(). */