diff options
author | Pedro Alves <palves@redhat.com> | 2010-11-25 13:10:07 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-11-25 13:10:07 +0000 |
commit | 5038964414cb7f8350b1b89bd95ef78125effb33 (patch) | |
tree | fd1248d281ccd6ef531e25372644e79eba1ab678 /gdb/defs.h | |
parent | d9a88323fe1c249d1b2338ad58fbe9ebcbe80fd3 (diff) | |
download | gdb-5038964414cb7f8350b1b89bd95ef78125effb33.zip gdb-5038964414cb7f8350b1b89bd95ef78125effb33.tar.gz gdb-5038964414cb7f8350b1b89bd95ef78125effb33.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1240,8 +1240,4 @@ void dummy_obstack_deallocate (void *object, void *data); extern void initialize_progspace (void); extern void initialize_inferiors (void); -#ifndef HAVE_PYTHON -typedef int PyObject; -#endif - #endif /* #ifndef DEFS_H */ |