projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: xtensa: fix linux ptrace includes
[binutils-gdb.git]
/
gdb
/
xtensa-linux-nat.c
diff --git
a/gdb/xtensa-linux-nat.c
b/gdb/xtensa-linux-nat.c
index 3934165a743464fa190fafa1361fc6fce04fae64..9340c62fe8585154e18e466887bfb3ae96f46589 100644
(file)
--- a/
gdb/xtensa-linux-nat.c
+++ b/
gdb/xtensa-linux-nat.c
@@
-1,6
+1,6
@@
/* Xtensa GNU/Linux native support.
/* Xtensa GNU/Linux native support.
- Copyright (C) 2007-201
3
Free Software Foundation, Inc.
+ Copyright (C) 2007-201
4
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-18,7
+18,7
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include
"gdb_string.h"
+#include
<string.h>
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"
@@
-36,6
+36,7
@@
#include <fcntl.h>
#include <sys/procfs.h>
#include <sys/ptrace.h>
#include <fcntl.h>
#include <sys/procfs.h>
#include <sys/ptrace.h>
+#include <asm/ptrace.h>
#include "gregset.h"
#include "xtensa-tdep.h"
#include "gregset.h"
#include "xtensa-tdep.h"