From d9ad47747aacc9326f9e880cbe6077e5c4988456 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 2 Jun 2022 22:59:23 -0700 Subject: [PATCH] gdb: LoongArch: Remove nonportable #include Don't use gregset.h in *-tdep.c since it's not usable on hosts that don't have . It's not needed by this file, and should only be needed by *-nat.c files. --- gdb/loongarch-linux-tdep.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gdb/loongarch-linux-tdep.c b/gdb/loongarch-linux-tdep.c index f6854298569..372643761b1 100644 --- a/gdb/loongarch-linux-tdep.c +++ b/gdb/loongarch-linux-tdep.c @@ -20,7 +20,6 @@ #include "defs.h" #include "glibc-tdep.h" -#include "gregset.h" #include "inferior.h" #include "linux-tdep.h" #include "loongarch-tdep.h" -- 2.30.2