]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[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)
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

index 089f3bd49a9377582d1fbe54ea4e9ef7f6880674..cf5ddb68d783eeae0ea16947bd530ea98b4415b7 100644 (file)
@@ -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"
index fbc80fdc2a1565c9ba8be38889a1605a73a0808f..002553a5b51a7195b88226a38c6488c737709635 100644 (file)
@@ -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"
index 03a0aaf9fd9629be8a3f389307837c1c2fff86a1..9486785a01c388e2342da48f4c7bb1d623db8d1b 100644 (file)
@@ -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"