This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 03/12] Iterate over 'struct varobj_item' instead of PyObject


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> 2014-05-22  Pedro Alves  <pedro@codesourcery.com>
Yao> 	    Yao Qi  <yao@codesourcery.com>
Yao> 	* python/py-varobj.c (py_varobj_iter_next): Return NULL if
Yao> 	gdb_python_initialized is false.  Move some code from varobj.c.
Yao> 	* varobj-iter.h (struct varobj_item): Moved from varobj.c.
Yao> 	* varobj.c: Move "varobj-iter.h" inclusion earlier.
Yao> 	(struct varobj_item): Moved to varobj-iter.h".
Yao> 	(varobj_clear_saved_item): New function.
Yao> 	(update_dynamic_varobj_children): Move python-related code to
Yao> 	py-varobj.c.
Yao> 	(free_variable): Call varobj_clear_saved_item and
Yao> 	varobj_iter_delete.

Thanks, this is ok.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]