This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix Python 3 build: rename GdbMethods
- From: Simon Marchi <simark at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 27 Feb 2015 23:03:59 -0000
- Subject: [binutils-gdb] Fix Python 3 build: rename GdbMethods
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=02e62830e26a0d3c0d47d4e09209cc04354765a6
commit 02e62830e26a0d3c0d47d4e09209cc04354765a6
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Fri Feb 27 17:40:36 2015 -0500
Fix Python 3 build: rename GdbMethods
Rename forgotten GdbMethods to python_GdbMethods.
gdb/ChangeLog:
* python/python.c (python_GdbModuleDef): Rename GdbMethods to
python_GdbMethods.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/python/python.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
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,