projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crashes due to python GIL released too early
[deliverable/binutils-gdb.git]
/
gdb
/
python
/
python.h
diff --git
a/gdb/python/python.h
b/gdb/python/python.h
index e6bfcca13c6d76230e147069c0ffe3d2cbbc17a0..10cd90d00e1759d5d699c31b5ac7b7e503d03fbb 100644
(file)
--- a/
gdb/python/python.h
+++ b/
gdb/python/python.h
@@
-1,6
+1,6
@@
/* Python/gdb header for generic use in gdb
/* Python/gdb header for generic use in gdb
- Copyright (C) 2008-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2008-201
9
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-17,12
+17,15
@@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
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;
#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.025217 seconds
and
4
git commands to generate.