diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/python/py-value.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 324bad0..406840c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-12-16 Joel Borggrén-Franck <joel.borggren.franck@gmail.com> + + * python/py-value.c (value_object_type) <tp_flags>: Add + Py_TPFLAGS_BASETYPE. + 2010-12-16 Mike Frysinger <vapier@gentoo.org> * NEWS: Mention new sim --map-info flag. 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 */ |