gdb: LoongArch: Remove nonportable #include
authorRoland McGrath <mcgrathr@google.com>
Fri, 3 Jun 2022 05:59:23 +0000 (22:59 -0700)
committerRoland McGrath <mcgrathr@google.com>
Fri, 3 Jun 2022 05:59:23 +0000 (22:59 -0700)
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.

gdb/loongarch-linux-tdep.c

index f6854298569627493adcfd94a2943eea809a1710..372643761b128d9435aad15539f34cecc3659034 100644 (file)
@@ -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"