aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-07-06 23:56:13 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-31 04:53:22 -0400
commitf9bfc01578acfde8de7c5c1172732fb2a76caa95 (patch)
treeb937032c1e3a0dfd58ed59d80c23615bac59888a
parentcd3ee89d386d37b5b4db34427f5e1dd9e0f63ad2 (diff)
downloadgdb-f9bfc01578acfde8de7c5c1172732fb2a76caa95.zip
gdb-f9bfc01578acfde8de7c5c1172732fb2a76caa95.tar.gz
gdb-f9bfc01578acfde8de7c5c1172732fb2a76caa95.tar.bz2
sim: drop unused targ-vals.h includes
This is used in a few places where it's not needed. Drop the include to avoid the build-time generated header file as we move to drop it.
-rw-r--r--sim/common/sim-io.c1
-rw-r--r--sim/common/sim-syscall.c1
-rw-r--r--sim/common/syscall.c1
-rw-r--r--sim/m32r/traps.c1
-rw-r--r--sim/msp430/msp430-sim.c1
-rw-r--r--sim/riscv/sim-main.c2
6 files changed, 0 insertions, 7 deletions
diff --git a/sim/common/sim-io.c b/sim/common/sim-io.c
index a5a7ff1..7bb504c 100644
--- a/sim/common/sim-io.c
+++ b/sim/common/sim-io.c
@@ -25,7 +25,6 @@
#include "sim-main.h"
#include "sim-io.h"
#include "sim/callback.h"
-#include "targ-vals.h"
#include <errno.h>
#if HAVE_FCNTL_H
diff --git a/sim/common/sim-syscall.c b/sim/common/sim-syscall.c
index f24d761..1e83db2 100644
--- a/sim/common/sim-syscall.c
+++ b/sim/common/sim-syscall.c
@@ -25,7 +25,6 @@
#include "sim-main.h"
#include "sim-syscall.h"
#include "sim/callback.h"
-#include "targ-vals.h"
/* Read/write functions for system call interface. */
diff --git a/sim/common/syscall.c b/sim/common/syscall.c
index 6efddcf..e353d86 100644
--- a/sim/common/syscall.c
+++ b/sim/common/syscall.c
@@ -41,7 +41,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "sim/callback.h"
-#include "targ-vals.h"
#ifndef ENOSYS
#define ENOSYS EINVAL
diff --git a/sim/m32r/traps.c b/sim/m32r/traps.c
index 2d7738b..0373cc7 100644
--- a/sim/m32r/traps.c
+++ b/sim/m32r/traps.c
@@ -26,7 +26,6 @@
#include "sim-syscall.h"
#include "sim/callback.h"
#include "syscall.h"
-#include "targ-vals.h"
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/sim/msp430/msp430-sim.c b/sim/msp430/msp430-sim.c
index c9bb9c7..6f1c14f 100644
--- a/sim/msp430/msp430-sim.c
+++ b/sim/msp430/msp430-sim.c
@@ -32,7 +32,6 @@
#include "sim-main.h"
#include "sim-signal.h"
#include "sim-syscall.h"
-#include "targ-vals.h"
static sim_cia
msp430_pc_fetch (SIM_CPU *cpu)
diff --git a/sim/riscv/sim-main.c b/sim/riscv/sim-main.c
index 0faf939..d2d4cdd 100644
--- a/sim/riscv/sim-main.c
+++ b/sim/riscv/sim-main.c
@@ -34,8 +34,6 @@
#include "opcode/riscv.h"
#include "gdb/sim-riscv.h"
-
-#include "targ-vals.h"
#define TRACE_REG(cpu, reg) \
TRACE_REGISTER (cpu, "wrote %s = %#" PRIxTW, riscv_gpr_names_abi[reg], \