aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-02-09 14:59:06 +0000
committerPedro Alves <palves@redhat.com>2015-02-27 17:25:45 +0000
commitbcabf4207e7ba20f09e15141c6c3241862ac4aee (patch)
treeea68f77b498cc69730ff6867de4977f6898d7947 /gdb/ChangeLog
parent928dbe07562fa842a990d1c3aa65e12343426e68 (diff)
downloadgdb-bcabf4207e7ba20f09e15141c6c3241862ac4aee.zip
gdb-bcabf4207e7ba20f09e15141c6c3241862ac4aee.tar.gz
gdb-bcabf4207e7ba20f09e15141c6c3241862ac4aee.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 291e89d..19ecc01 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,12 @@
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 Pedro Alves <palves@redhat.com>
+
* record-btrace.c (set_record_btrace_cmdlist)
(show_record_btrace_cmdlist): Remove redefinitions.