aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/python/python.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 32851c9..463c57e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * python/python.c (python_GdbModuleDef): Rename GdbMethods to
+ python_GdbMethods.
+
2015-02-27 Pedro Alves <palves@redhat.com>
* dtrace-probe.c (dtrace_probe_ops): Make extern.
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,