projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b8b24b
)
gdb: LoongArch: Remove nonportable #include
author
Roland McGrath
<mcgrathr@google.com>
Fri, 3 Jun 2022 05:59:23 +0000
(22:59 -0700)
committer
Roland 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
patch
|
blob
|
history
diff --git
a/gdb/loongarch-linux-tdep.c
b/gdb/loongarch-linux-tdep.c
index f6854298569627493adcfd94a2943eea809a1710..372643761b128d9435aad15539f34cecc3659034 100644
(file)
--- 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"