Fix crashes due to python GIL released too early
[deliverable/binutils-gdb.git] / gdb / python / python.h
index e6bfcca13c6d76230e147069c0ffe3d2cbbc17a0..10cd90d00e1759d5d699c31b5ac7b7e503d03fbb 100644 (file)
@@ -1,6 +1,6 @@
 /* Python/gdb header for generic use in gdb
 
-   Copyright (C) 2008-2015 Free Software Foundation, Inc.
+   Copyright (C) 2008-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_PYTHON_H
-#define GDB_PYTHON_H
+#ifndef PYTHON_PYTHON_H
+#define PYTHON_PYTHON_H
 
 #include "extension.h"
 
 /* This is all that python exports to gdb.  */
 extern const struct extension_language_defn extension_language_python;
 
-#endif /* GDB_PYTHON_H */
+/* Command element for the 'python' command.  */
+extern cmd_list_element *python_cmd_element;
+
+#endif /* PYTHON_PYTHON_H */
This page took 0.031947 seconds and 4 git commands to generate.