aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-12-04 21:29:52 +0100
committerTom de Vries <tdevries@suse.de>2024-12-04 21:29:52 +0100
commitcf8d35f8d734ee34fcc814263273107313869944 (patch)
tree3fcf79ea27726cd7f6bfa8396eee6fdbe84d4696
parent0225ef625554f270552ec5bacf5cd7039a7e8632 (diff)
downloadbinutils-cf8d35f8d734ee34fcc814263273107313869944.zip
binutils-cf8d35f8d734ee34fcc814263273107313869944.tar.gz
binutils-cf8d35f8d734ee34fcc814263273107313869944.tar.bz2
[gdb/tdep] Remove includes of gdbsupport/common-defs.h
In commit 18d2988e5da ("gdb, gdbserver, gdbsupport: remove includes of early headers") all includes of gdbsupport/common-defs.h where removed, but commit c1cdee0e2c1 ("gdb: LoongArch: Add support for hardware watchpoint") reintroduced some. Fix this by removing them. Tested by doing this on x86_64-linux: ... $ make \ nat/loongarch-hw-point.o \ nat/loongarch-linux.o \ nat/loongarch-linux-hw-point.o CXX nat/loongarch-hw-point.o CXX nat/loongarch-linux.o CXX nat/loongarch-linux-hw-point.o ... Approved-By: Simon Marchi <simon.marchi@efficios.com>
-rw-r--r--gdb/nat/loongarch-hw-point.c1
-rw-r--r--gdb/nat/loongarch-linux-hw-point.c1
-rw-r--r--gdb/nat/loongarch-linux.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/gdb/nat/loongarch-hw-point.c b/gdb/nat/loongarch-hw-point.c
index 089f3bd..cf5ddb6 100644
--- a/gdb/nat/loongarch-hw-point.c
+++ b/gdb/nat/loongarch-hw-point.c
@@ -18,7 +18,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 "gdbsupport/common-defs.h"
#include "gdbsupport/break-common.h"
#include "gdbsupport/common-regcache.h"
#include "loongarch-hw-point.h"
diff --git a/gdb/nat/loongarch-linux-hw-point.c b/gdb/nat/loongarch-linux-hw-point.c
index fbc80fd..002553a 100644
--- a/gdb/nat/loongarch-linux-hw-point.c
+++ b/gdb/nat/loongarch-linux-hw-point.c
@@ -18,7 +18,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 "gdbsupport/common-defs.h"
#include "gdbsupport/break-common.h"
#include "gdbsupport/common-regcache.h"
#include "nat/linux-nat.h"
diff --git a/gdb/nat/loongarch-linux.c b/gdb/nat/loongarch-linux.c
index 03a0aaf..9486785 100644
--- a/gdb/nat/loongarch-linux.c
+++ b/gdb/nat/loongarch-linux.c
@@ -18,7 +18,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 "gdbsupport/common-defs.h"
#include "gdbsupport/break-common.h"
#include "nat/linux-nat.h"
#include "nat/loongarch-linux-hw-point.h"