aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r--gdb/python/python-internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index bdc960ed208..b24b9314994 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -616,7 +616,9 @@ class gdbpy_initialize_file
There is no error return in this case. This function is only called
when GDB is already shutting down. The function should make a best
- effort to clean up, and then return. */
+ effort to clean up, and then return.
+
+ The GIL will be held while calling the finalizers. */
using gdbpy_finalize_file_ftype = void (*) (void);