diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-21 13:49:06 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-22 20:35:21 -0700 |
commit | 3fabc0163acbdffd9d77d7608604f737fc981399 (patch) | |
tree | db703f348ecacb5d8334afd1fe880afb470f15ae /gdb/python/py-event.h | |
parent | 6b4d77743349028e471334da3d63df09cddfd820 (diff) | |
download | gdb-3fabc0163acbdffd9d77d7608604f737fc981399.zip gdb-3fabc0163acbdffd9d77d7608604f737fc981399.tar.gz gdb-3fabc0163acbdffd9d77d7608604f737fc981399.tar.bz2 |
Do not include py-ref.h in most files
py-ref.h can really only be included from a specific spot in
python-internal.h. The other includes are not useful, and cause
compilation errors if the includes are ever sorted. So, remove these
includes.
Arguably, py-ref.h should simply not be a separate header.
gdb/ChangeLog
2019-01-22 Tom Tromey <tom@tromey.com>
* python/py-arch.c: Do not include py-ref.h.
* python/py-bpevent.c: Do not include py-ref.h.
* python/py-cmd.c: Do not include py-ref.h.
* python/py-continueevent.c: Do not include py-ref.h.
* python/py-event.h: Do not include py-ref.h.
* python/py-evtregistry.c: Do not include py-ref.h.
* python/py-finishbreakpoint.c: Do not include py-ref.h.
* python/py-frame.c: Do not include py-ref.h.
* python/py-framefilter.c: Do not include py-ref.h.
* python/py-function.c: Do not include py-ref.h.
* python/py-infevents.c: Do not include py-ref.h.
* python/py-linetable.c: Do not include py-ref.h.
* python/py-objfile.c: Do not include py-ref.h.
* python/py-param.c: Do not include py-ref.h.
* python/py-prettyprint.c: Do not include py-ref.h.
* python/py-progspace.c: Do not include py-ref.h.
* python/py-symbol.c: Do not include py-ref.h.
* python/py-symtab.c: Do not include py-ref.h.
* python/py-type.c: Do not include py-ref.h.
* python/py-unwind.c: Do not include py-ref.h.
* python/py-utils.c: Do not include py-ref.h.
* python/py-value.c: Do not include py-ref.h.
* python/py-varobj.c: Do not include py-ref.h.
* python/py-xmethods.c: Do not include py-ref.h.
* python/python.c: Do not include py-ref.h.
* varobj.c: Do not include py-ref.h.
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r-- | gdb/python/py-event.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h index f4a9101..07b99d2 100644 --- a/gdb/python/py-event.h +++ b/gdb/python/py-event.h @@ -24,7 +24,6 @@ #include "command.h" #include "python-internal.h" #include "inferior.h" -#include "py-ref.h" /* Declare all event types. */ #define GDB_PY_DEFINE_EVENT_TYPE(name, py_name, doc, base) \ |