aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-02-27 17:40:36 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2015-02-27 18:02:40 -0500
commit02e62830e26a0d3c0d47d4e09209cc04354765a6 (patch)
tree75e15c5cc0303abb4cae37a294ae4221d10c8b40 /gdb/python
parentc1d11331c9d84541b5002314f8cee2f302dd5763 (diff)
downloadgdb-02e62830e26a0d3c0d47d4e09209cc04354765a6.zip
gdb-02e62830e26a0d3c0d47d4e09209cc04354765a6.tar.gz
gdb-02e62830e26a0d3c0d47d4e09209cc04354765a6.tar.bz2
Fix Python 3 build: rename GdbMethods
Rename forgotten GdbMethods to python_GdbMethods. gdb/ChangeLog: * python/python.c (python_GdbModuleDef): Rename GdbMethods to python_GdbMethods.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index a13638f..c3ffbae 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -2050,7 +2050,7 @@ struct PyModuleDef python_GdbModuleDef =
"_gdb",
NULL,
-1,
- GdbMethods,
+ python_GdbMethods,
NULL,
NULL,
NULL,