summaryrefslogtreecommitdiff
path: root/gdb/xtensa-linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-30 11:29:17 -0600
committerTom Tromey <tom@tromey.com>2019-03-30 11:36:53 -0600
commit268f4c4cd7b229f7f23ebbf6006973ebe0a05888 (patch)
treec97516c90aa5bf6ccb54c494c275339d42dc03aa /gdb/xtensa-linux-nat.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-268f4c4cd7b229f7f23ebbf6006973ebe0a05888.tar.gz
Diffstat (limited to 'gdb/xtensa-linux-nat.c')
-rw-r--r--gdb/xtensa-linux-nat.c27
1 files changed, 16 insertions, 11 deletions
diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c
index 13904069b3a..a48f0ec397d 100644
--- a/gdb/xtensa-linux-nat.c
+++ b/gdb/xtensa-linux-nat.c
@@ -18,23 +18,28 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "frame.h"
-#include "inferior.h"
-#include "gdbcore.h"
-#include "regcache.h"
-#include "target.h"
-#include "linux-nat.h"
-#include <sys/types.h>
+
+/* Standard C includes. */
+#include <asm/ptrace.h>
+#include <fcntl.h>
#include <signal.h>
-#include <sys/user.h>
#include <sys/ioctl.h>
-#include "common/gdb_wait.h"
-#include <fcntl.h>
#include <sys/procfs.h>
+#include <sys/types.h>
+#include <sys/user.h>
+
+/* Local subdirectory includes. */
+#include "common/gdb_wait.h"
#include "nat/gdb_ptrace.h"
-#include <asm/ptrace.h>
+/* Local includes. */
+#include "frame.h"
+#include "gdbcore.h"
#include "gregset.h"
+#include "inferior.h"
+#include "linux-nat.h"
+#include "regcache.h"
+#include "target.h"
#include "xtensa-tdep.h"
/* Defines ps_err_e, struct ps_prochandle. */