* breakpoint.h: No longer include python.h or python-internal.h.
authorPedro Alves <palves@redhat.com>
Thu, 25 Nov 2010 13:10:07 +0000 (13:10 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 25 Nov 2010 13:10:07 +0000 (13:10 +0000)
commit5038964414cb7f8350b1b89bd95ef78125effb33
treefd1248d281ccd6ef531e25372644e79eba1ab678
parentd9a88323fe1c249d1b2338ad58fbe9ebcbe80fd3
* 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.
gdb/ChangeLog
gdb/breakpoint.h
gdb/defs.h
gdb/python/py-breakpoint.c
gdb/varobj.c