aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorRoland McGrath <mcgrathr@google.com>2022-06-02 22:59:23 -0700
committerRoland McGrath <mcgrathr@google.com>2022-06-02 22:59:23 -0700
commitd9ad47747aacc9326f9e880cbe6077e5c4988456 (patch)
tree245b1298048f83968b210ff06b8956c24137d096 /gdb
parent6b8b24bb688e53e251bbe2f3f9ddc44bca122bde (diff)
downloadgdb-d9ad47747aacc9326f9e880cbe6077e5c4988456.zip
gdb-d9ad47747aacc9326f9e880cbe6077e5c4988456.tar.gz
gdb-d9ad47747aacc9326f9e880cbe6077e5c4988456.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/loongarch-linux-tdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/loongarch-linux-tdep.c b/gdb/loongarch-linux-tdep.c
index f685429..3726437 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"