diff options
author | Tom Tromey <tromey@redhat.com> | 2010-12-16 17:40:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-12-16 17:40:27 +0000 |
commit | fa595c2727bbe70440238f3a15236866d189e73f (patch) | |
tree | 88f022382349a5ba6db6ee69ba4add4c86474277 /gdb/python/py-value.c | |
parent | 448a92bf2b3dfca945ba69c7335d938b61447557 (diff) | |
download | gdb-fa595c2727bbe70440238f3a15236866d189e73f.zip gdb-fa595c2727bbe70440238f3a15236866d189e73f.tar.gz gdb-fa595c2727bbe70440238f3a15236866d189e73f.tar.bz2 |
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.
Diffstat (limited to 'gdb/python/py-value.c')
-rw-r--r-- | gdb/python/py-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |