public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: LoongArch: Remove nonportable #include
@ 2022-06-03 6:13 Roland McGrath
0 siblings, 0 replies; only message in thread
From: Roland McGrath @ 2022-06-03 6:13 UTC (permalink / raw)
To: gdb-cvs
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-03 6:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-03 6:13 [binutils-gdb] gdb: LoongArch: Remove nonportable #include Roland McGrath
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).