diff options
Diffstat (limited to 'gdb/frame-unwind.h')
-rw-r--r-- | gdb/frame-unwind.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/frame-unwind.h b/gdb/frame-unwind.h index f82d763..aa58640 100644 --- a/gdb/frame-unwind.h +++ b/gdb/frame-unwind.h @@ -44,7 +44,9 @@ struct value; /* Given THIS frame, take a whiff of its registers (namely the PC and attributes) and if SELF is the applicable unwinder, - return non-zero. Possibly also initialize THIS_PROLOGUE_CACHE. */ + return non-zero. Possibly also initialize THIS_PROLOGUE_CACHE; but + only if returning 1. Initializing THIS_PROLOGUE_CACHE in other + cases (0 return, or exception) is invalid. */ typedef int (frame_sniffer_ftype) (const struct frame_unwind *self, struct frame_info *this_frame, |