binutils-gdb/gdb/python
Pedro Alves bcabf4207e Make array object extern
Compiling python.c in C++ mode, we get:

  ...src/gdb/python/python.c: At global scope:
  ...src/gdb/python/python.c:106:31: error: storage size of ‘GdbMethods’ isn’t known
   static PyMethodDef GdbMethods[];
				 ^

Fix it by making the affected array objects extern.

gdb/ChangeLog:
2015-02-27  Pedro Alves  <palves@redhat.com>

	* python/python.c (GdbMethods): Rename to ...
	(python_GdbMethods): ... this and make extern.
	(GdbModuleDef): Rename to ...
	(python_GdbModuleDef): ... this and make extern.
2015-02-27 17:25:45 +00:00
..
lib/gdb Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-arch.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-auto-load.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-block.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-bpevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-breakpoint.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-cmd.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-continueevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-event.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-event.h Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-events.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-evtregistry.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-evts.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-exitedevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-finishbreakpoint.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-frame.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-framefilter.c framefilter quit: Use RETURN_MASK_ERROR 2015-02-11 14:50:09 +01:00
py-function.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-gdb-readline.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-inferior.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-infevents.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-infthread.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-lazy-string.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-linetable.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-newobjfileevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-objfile.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-param.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-prettyprint.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-progspace.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-signalevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-stopevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-stopevent.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-symbol.c C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
py-symtab.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-threadevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-type.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-utils.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-value.c Fix Python 3 build error on 32-bit hosts 2015-02-04 20:31:17 +01:00
py-varobj.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-xmethods.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
python-config.py
python-internal.h Fix Python 3 build error on 32-bit hosts 2015-02-04 20:31:17 +01:00
python.c Make array object extern 2015-02-27 17:25:45 +00:00
python.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00