From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2144) id 193B33857BAC; Fri, 3 Jun 2022 06:13:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 193B33857BAC Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Roland McGrath To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: LoongArch: Remove nonportable #include X-Act-Checkin: binutils-gdb X-Git-Author: Roland McGrath X-Git-Refname: refs/heads/master X-Git-Oldrev: 6b8b24bb688e53e251bbe2f3f9ddc44bca122bde X-Git-Newrev: d9ad47747aacc9326f9e880cbe6077e5c4988456 Message-Id: <20220603061326.193B33857BAC@sourceware.org> Date: Fri, 3 Jun 2022 06:13:26 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2022 06:13:26 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dd9ad47747aac= c9326f9e880cbe6077e5c4988456 commit d9ad47747aacc9326f9e880cbe6077e5c4988456 Author: Roland McGrath Date: Thu Jun 2 22:59:23 2022 -0700 gdb: LoongArch: Remove nonportable #include =20 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: --- 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 @@ =20 #include "defs.h" #include "glibc-tdep.h" -#include "gregset.h" #include "inferior.h" #include "linux-tdep.h" #include "loongarch-tdep.h"