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/tui | |
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/tui')
-rw-r--r-- | gdb/tui/tui-command.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-data.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-disasm.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-file.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-hooks.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-interp.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-io.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-layout.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-location.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-regs.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-source.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-status.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-win.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-wingeneral.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-winsource.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui.c | 1 |
16 files changed, 0 insertions, 16 deletions
diff --git a/gdb/tui/tui-command.c b/gdb/tui/tui-command.c index 2587dfe..59e5955 100644 --- a/gdb/tui/tui-command.c +++ b/gdb/tui/tui-command.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 "tui/tui.h" #include "tui/tui-data.h" #include "tui/tui-win.h" diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index 03395d2..462771c 100644 --- a/gdb/tui/tui-data.c +++ b/gdb/tui/tui-data.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 "symtab.h" #include "tui/tui.h" #include "tui/tui-data.h" diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c index 5dc27c3..07ca376 100644 --- a/gdb/tui/tui-disasm.c +++ b/gdb/tui/tui-disasm.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 "symtab.h" #include "breakpoint.h" diff --git a/gdb/tui/tui-file.c b/gdb/tui/tui-file.c index 1cf8404..a0d72a0 100644 --- a/gdb/tui/tui-file.c +++ b/gdb/tui/tui-file.c @@ -16,7 +16,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 "tui/tui-file.h" #include "tui/tui-io.h" #include "tui/tui-command.h" diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c index 289a259..cf48e70 100644 --- a/gdb/tui/tui-hooks.c +++ b/gdb/tui/tui-hooks.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 "symtab.h" #include "inferior.h" #include "command.h" diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c index b16da31..a75708b 100644 --- a/gdb/tui/tui-interp.c +++ b/gdb/tui/tui-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/cli-interp.h" #include "interps.h" #include "ui.h" diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c index ba07e3d..34e85de 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.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 "target.h" #include "gdbsupport/event-loop.h" #include "event-top.h" diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index a96ca85..143254b 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.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 "command.h" #include "symtab.h" diff --git a/gdb/tui/tui-location.c b/gdb/tui/tui-location.c index 831ab14..7e8f769 100644 --- a/gdb/tui/tui-location.c +++ b/gdb/tui/tui-location.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 "tui/tui.h" #include "tui/tui-status.h" #include "tui/tui-data.h" diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 05211eb..88e1c5a 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.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 "tui/tui.h" #include "tui/tui-data.h" diff --git a/gdb/tui/tui-source.c b/gdb/tui/tui-source.c index fa956b2..5c17aba 100644 --- a/gdb/tui/tui-source.c +++ b/gdb/tui/tui-source.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 <math.h> #include <ctype.h> #include "symtab.h" diff --git a/gdb/tui/tui-status.c b/gdb/tui/tui-status.c index aac391d..c7750af 100644 --- a/gdb/tui/tui-status.c +++ b/gdb/tui/tui-status.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 "symtab.h" #include "breakpoint.h" #include "frame.h" diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index a2982eb..ced7e25 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -24,7 +24,6 @@ Author: Susan B. Macchia */ -#include "defs.h" #include "command.h" #include "symtab.h" #include "breakpoint.h" diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index 4263b9c..c14ac5a 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.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 "tui/tui.h" #include "tui/tui-data.h" #include "tui/tui-io.h" diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c index 6b8716c..4dbbe92 100644 --- a/gdb/tui/tui-winsource.c +++ b/gdb/tui/tui-winsource.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 <ctype.h> #include "symtab.h" #include "frame.h" diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index dea6ffb..19f0960 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.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 "gdbcmd.h" #include "tui/tui.h" #include "tui/tui-hooks.h" |