Fix Python 3 build: rename GdbMethods
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 27 Feb 2015 22:40:36 +0000 (17:40 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 27 Feb 2015 23:02:40 +0000 (18:02 -0500)
Rename forgotten GdbMethods to python_GdbMethods.

gdb/ChangeLog:

* python/python.c (python_GdbModuleDef): Rename GdbMethods to
python_GdbMethods.

gdb/ChangeLog
gdb/python/python.c

index 32851c9..463c57e 100644 (file)
@@ -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.
index a13638f..c3ffbae 100644 (file)
@@ -2050,7 +2050,7 @@ struct PyModuleDef python_GdbModuleDef =
   "_gdb",
   NULL,
   -1,
-  GdbMethods,
+  python_GdbMethods,
   NULL,
   NULL,
   NULL,