[binutils-gdb] gdb: LoongArch: Remove nonportable #include
Roland McGrath
roland@sourceware.org
Fri Jun 3 06:13:26 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d9ad47747aacc9326f9e880cbe6077e5c4988456
commit d9ad47747aacc9326f9e880cbe6077e5c4988456
Author: Roland McGrath <mcgrathr@google.com>
Date: Thu Jun 2 22:59:23 2022 -0700
gdb: LoongArch: Remove nonportable #include
Don't use gregset.h in *-tdep.c since it's not usable on
hosts that don't have <sys/procfs.h>. 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 @@
#include "defs.h"
#include "glibc-tdep.h"
-#include "gregset.h"
#include "inferior.h"
#include "linux-tdep.h"
#include "loongarch-tdep.h"
More information about the Gdb-cvs
mailing list