From: Roland McGrath Date: Fri, 3 Jun 2022 05:59:23 +0000 (-0700) Subject: gdb: LoongArch: Remove nonportable #include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9ad47747aacc9326f9e880cbe6077e5c4988456;p=binutils-gdb.git 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. --- 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"