Fix comments on `struct frame_info'.
This commit is contained in:
parent
dd5039a5b9
commit
e87593493c
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-08-28 Andrew Cagney <cagney@toribio.toronto.redhat.com>
|
||||||
|
|
||||||
|
* frame.h (struct frame_info): Fix documentation on fields
|
||||||
|
saved_regs, next and prev.
|
||||||
|
|
||||||
2001-08-23 Mark Kettenis <kettenis@gnu.org>
|
2001-08-23 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
|
* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
|
||||||
|
|
10
gdb/frame.h
10
gdb/frame.h
|
@ -77,8 +77,8 @@ struct frame_info
|
||||||
the frame, or zero if it was not saved on entry to this frame.
|
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
|
This includes special registers such as pc and fp saved in
|
||||||
special ways in the stack frame. The SP_REGNUM is even more
|
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
|
special, the address here is the sp for the previous frame, not
|
||||||
address where the sp was saved. */
|
the address where the sp was saved. */
|
||||||
/* Allocated by frame_saved_regs_zalloc () which is called /
|
/* Allocated by frame_saved_regs_zalloc () which is called /
|
||||||
initialized by FRAME_INIT_SAVED_REGS(). */
|
initialized by FRAME_INIT_SAVED_REGS(). */
|
||||||
CORE_ADDR *saved_regs; /*NUM_REGS + NUM_PSEUDO_REGS*/
|
CORE_ADDR *saved_regs; /*NUM_REGS + NUM_PSEUDO_REGS*/
|
||||||
|
@ -96,8 +96,10 @@ struct frame_info
|
||||||
initialized by INIT_EXTRA_FRAME_INFO */
|
initialized by INIT_EXTRA_FRAME_INFO */
|
||||||
struct frame_extra_info *extra_info;
|
struct frame_extra_info *extra_info;
|
||||||
|
|
||||||
/* Pointers to the next and previous frame_info's in the frame cache. */
|
/* Pointers to the next (down, inner) and previous (up, outer)
|
||||||
struct frame_info *next, *prev;
|
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(). */
|
/* Values for the source flag to be used in print_frame_info_base(). */
|
||||||
|
|
Loading…
Reference in a new issue