2010-12-16 Joel Borggrén-Franck <joel.borggren.franck@gmail.com>
authorTom Tromey <tromey@redhat.com>
Thu, 16 Dec 2010 17:40:27 +0000 (17:40 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 16 Dec 2010 17:40:27 +0000 (17:40 +0000)
* python/py-value.c (value_object_type) <tp_flags>: Add
Py_TPFLAGS_BASETYPE.

gdb/ChangeLog
gdb/python/py-value.c

index 324bad05ff99aff25a6d16a5b2402e1e4f2aa3d1..406840c5e8959f8b1f280b6f9d8e145595ccccf2 100644 (file)
@@ -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.
index 4445655638c22794b5d3863415fec63faadafbac..3ade512d18a2bdb1de82ec449e8576bfb3cfb84b 100644 (file)
@@ -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 */
This page took 0.029265 seconds and 4 git commands to generate.