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/cli | |
parent | ab7daea3ad0d9a553ac0e0d37898bdda45ad2c37 (diff) | |
download | binutils-18d2988e5da8919514c76b83e2c0b56e439018bd.zip binutils-18d2988e5da8919514c76b83e2c0b56e439018bd.tar.gz binutils-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/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-decode.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-dump.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-interp.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-logging.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-option.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-script.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-setshow.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-style.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-utils.c | 1 |
10 files changed, 0 insertions, 10 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index df11f95..3afe217 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.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 "arch-utils.h" #include "readline/tilde.h" #include "completer.h" diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index bbabd40..d9a2ab4 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -15,7 +15,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 "symtab.h" #include <ctype.h> #include "gdbsupport/gdb_regex.h" diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c index 765117b..9b44c6e 100644 --- a/gdb/cli/cli-dump.c +++ b/gdb/cli/cli-dump.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 "cli/cli-decode.h" #include "cli/cli-cmds.h" #include "value.h" diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index a0bf32f..7cefc39 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.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 "cli-interp.h" #include "interps.h" #include "event-top.h" diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c index 7c337c8..2b35728 100644 --- a/gdb/cli/cli-logging.c +++ b/gdb/cli/cli-logging.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 "gdbcmd.h" #include "ui-out.h" #include "interps.h" diff --git a/gdb/cli/cli-option.c b/gdb/cli/cli-option.c index 3ef210e..0553928 100644 --- a/gdb/cli/cli-option.c +++ b/gdb/cli/cli-option.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 "cli/cli-option.h" #include "cli/cli-decode.h" #include "cli/cli-utils.h" diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index f06724a..2f73180 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.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 "value.h" #include <ctype.h> diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index b1ad11c..bcc793b 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -15,7 +15,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 "readline/tilde.h" #include "value.h" #include <ctype.h> diff --git a/gdb/cli/cli-style.c b/gdb/cli/cli-style.c index 2fccc72..5928998 100644 --- a/gdb/cli/cli-style.c +++ b/gdb/cli/cli-style.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 "cli/cli-cmds.h" #include "cli/cli-decode.h" #include "cli/cli-setshow.h" diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c index c3206c4..45b3084 100644 --- a/gdb/cli/cli-utils.c +++ b/gdb/cli/cli-utils.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 "cli/cli-utils.h" #include "value.h" |