]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/tdep] Remove includes of gdbsupport/common-defs.h
authorTom de Vries <tdevries@suse.de>
Wed, 4 Dec 2024 20:29:52 +0000 (21:29 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 4 Dec 2024 20:29:52 +0000 (21:29 +0100)
commitcf8d35f8d734ee34fcc814263273107313869944
tree3fcf79ea27726cd7f6bfa8396eee6fdbe84d4696
parent0225ef625554f270552ec5bacf5cd7039a7e8632
[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>
gdb/nat/loongarch-hw-point.c
gdb/nat/loongarch-linux-hw-point.c
gdb/nat/loongarch-linux.c