From fa595c2727bbe70440238f3a15236866d189e73f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 16 Dec 2010 17:40:27 +0000 Subject: =?UTF-8?q?2010-12-16=20=20Joel=20Borggr=C3=A9n-Franck=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * python/py-value.c (value_object_type) : Add Py_TPFLAGS_BASETYPE. --- gdb/python/py-value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/py-value.c') diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 4445655..3ade512 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -1320,7 +1320,7 @@ PyTypeObject value_object_type = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_CHECKTYPES, /*tp_flags*/ + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_CHECKTYPES | Py_TPFLAGS_BASETYPE, /*tp_flags*/ "GDB value object", /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ -- cgit v1.1