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: [RFA/Python] Fix procfs.c build failure on 32bit solaris (_FILE_OFFSET_BITS)


> 2010-11-23  Pedro Alves  <pedro@codesourcery.com>
> 
> 	gdb/
> 	* breakpoint.h: No longer include python.h or python-internal.h.
> 	(struct breakpoint_object): Forward declare.
> 	* defs.h (PyObject) [!HAVE_PYTHON]: Don't define.
> 	* varobj.c (PyObject) [!HAVE_PYTHON]: Define.
> 	* python/py-breakpoint.c (build_bp_list): Cast py_bp_object to
> 	PyObject pointer.
> 	(gdbpy_breakpoint_created): Remove casts around py_bp_object
> 	accesses.

Thanks, Pedro! I confirm that this fixes the problem. 
Can we check it in? (review needed?)

-- 
Joel


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