diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-03-26 15:06:46 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-03-26 21:13:22 -0400 |
commit | 18d2988e5da8919514c76b83e2c0b56e439018bd (patch) | |
tree | 43f477df2a417d03d27b323ca11774209dd9f5b7 /gdb/compile | |
parent | ab7daea3ad0d9a553ac0e0d37898bdda45ad2c37 (diff) | |
download | gdb-18d2988e5da8919514c76b83e2c0b56e439018bd.zip gdb-18d2988e5da8919514c76b83e2c0b56e439018bd.tar.gz gdb-18d2988e5da8919514c76b83e2c0b56e439018bd.tar.bz2 |
gdb, gdbserver, gdbsupport: remove includes of early headers
Now that defs.h, server.h and common-defs.h are included via the
`-include` option, it is no longer necessary for source files to include
them. Remove all the inclusions of these files I could find. Update
the generation scripts where relevant.
Change-Id: Ia026cff269c1b7ae7386dd3619bc9bb6a5332837
Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdb/compile')
-rw-r--r-- | gdb/compile/compile-c-support.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile-c-symbols.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile-c-types.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile-cplus-symbols.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile-cplus-types.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile-loc2c.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile-object-load.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile-object-run.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile.c | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/gdb/compile/compile-c-support.c b/gdb/compile/compile-c-support.c index 72e7bfe..a152e5a 100644 --- a/gdb/compile/compile-c-support.c +++ b/gdb/compile/compile-c-support.c @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "compile-internal.h" #include "compile-c.h" #include "compile-cplus.h" diff --git a/gdb/compile/compile-c-symbols.c b/gdb/compile/compile-c-symbols.c index 804a0a0..20e8550 100644 --- a/gdb/compile/compile-c-symbols.c +++ b/gdb/compile/compile-c-symbols.c @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "compile-internal.h" #include "compile-c.h" #include "symtab.h" diff --git a/gdb/compile/compile-c-types.c b/gdb/compile/compile-c-types.c index 1243be3..6407f12 100644 --- a/gdb/compile/compile-c-types.c +++ b/gdb/compile/compile-c-types.c @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "gdbtypes.h" #include "compile-internal.h" #include "compile-c.h" diff --git a/gdb/compile/compile-cplus-symbols.c b/gdb/compile/compile-cplus-symbols.c index c4355b8..c95c86f 100644 --- a/gdb/compile/compile-cplus-symbols.c +++ b/gdb/compile/compile-cplus-symbols.c @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "compile-internal.h" #include "compile-cplus.h" #include "gdbsupport/gdb_assert.h" diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c index c8a2551..212db68 100644 --- a/gdb/compile/compile-cplus-types.c +++ b/gdb/compile/compile-cplus-types.c @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "gdbsupport/preprocessor.h" #include "gdbtypes.h" #include "compile-internal.h" diff --git a/gdb/compile/compile-loc2c.c b/gdb/compile/compile-loc2c.c index da3a84e..fbcc3d6 100644 --- a/gdb/compile/compile-loc2c.c +++ b/gdb/compile/compile-loc2c.c @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "dwarf2.h" #include "objfiles.h" #include "dwarf2/expr.h" diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c index 33971a5..d1b5d59 100644 --- a/gdb/compile/compile-object-load.c +++ b/gdb/compile/compile-object-load.c @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "compile-object-load.h" #include "compile-internal.h" #include "command.h" diff --git a/gdb/compile/compile-object-run.c b/gdb/compile/compile-object-run.c index a3ac376..5a810d5 100644 --- a/gdb/compile/compile-object-run.c +++ b/gdb/compile/compile-object-run.c @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "compile-object-run.h" #include "value.h" #include "infcall.h" diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c index 27cff25..2d97a1b 100644 --- a/gdb/compile/compile.c +++ b/gdb/compile/compile.c @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "defs.h" #include "ui.h" #include "ui-out.h" #include "command.h" |