summaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-09 18:14:10 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-09 18:14:10 +0000
commitf8a399cb0a3b5e525e11021f21d43477932bfd83 (patch)
tree156a354c8d97a592b6bd640e3bd2e8761dd70c3a /gdb/frame.h
parent294f26740527fb63bb0d35546da2be8ef3a28a75 (diff)
downloadgdb-f8a399cb0a3b5e525e11021f21d43477932bfd83.tar.gz
2002-11-09 Andrew Cagney <ac131313@redhat.com>
* frame.c (get_prev_frame): Test prev_p to identify a previously unwound frame. Initialize prev_p. * frame.h (struct frame_info): Add field prev_p. Expand prev/next comment.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 8fd92444586..7b4cca7a1a4 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -140,10 +140,11 @@ struct frame_info
frame_register_unwind_ftype *register_unwind;
void *register_unwind_cache;
- /* 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 */
+ /* Pointers to the next (down, inner, younger) and previous (up,
+ outer, older) frame_info's in the frame cache. */
+ struct frame_info *next; /* down, inner, younger */
+ int prev_p;
+ struct frame_info *prev; /* up, outer, older */
};
/* Values for the source flag to be used in print_frame_info_base(). */