From 18d2988e5da8919514c76b83e2c0b56e439018bd Mon Sep 17 00:00:00 2001 From: Simon Marchi <simon.marchi@efficios.com> Date: Tue, 26 Mar 2024 15:06:46 -0400 Subject: 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> --- gdb/riscv-tdep.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/riscv-tdep.c') diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 604a19f..f86a379 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.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 "frame.h" #include "inferior.h" #include "symtab.h" @@ -49,7 +48,6 @@ #include "dwarf2/frame.h" #include "user-regs.h" #include "valprint.h" -#include "gdbsupport/common-defs.h" #include "opcode/riscv-opc.h" #include "cli/cli-decode.h" #include "observable.h" -- cgit v1.1