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/target-descriptions.c | |
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/target-descriptions.c')
-rw-r--r-- | gdb/target-descriptions.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 591ae3d..8aca5cf 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -19,7 +19,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 "arch-utils.h" #include "gdbcmd.h" #include "gdbtypes.h" @@ -1299,7 +1298,6 @@ public: gdb_printf (" Original: %s */\n\n", lbasename (m_filename_after_features.c_str ())); - gdb_printf ("#include \"defs.h\"\n"); gdb_printf ("#include \"osabi.h\"\n"); gdb_printf ("#include \"target-descriptions.h\"\n"); gdb_printf ("\n"); |