PR python/19293 - invalidate frame cache when unwinders change
[deliverable/binutils-gdb.git] / gdb / doc / python.texi
index 6623d8e1df89d13a00c4735d7caff4c6a0b08757..f218ad6089c51894d40d410aa6e9ecff706b9e07 100644 (file)
@@ -3838,6 +3838,15 @@ frames, as expressed by the given @var{reason} code (an integer, see the
 @code{unwind_stop_reason} method further down in this section).
 @end defun
 
+@findex gdb.invalidate_cached_frames
+@defun gdb.invalidate_cached_frames
+@value{GDBN} internally keeps a cache of the frames that have been
+unwound.  This function invalidates this cache.
+
+This function should not generally be called by ordinary Python code.
+It is documented for the sake of completeness.
+@end defun
+
 A @code{gdb.Frame} object has the following methods:
 
 @defun Frame.is_valid ()
This page took 0.024987 seconds and 4 git commands to generate.