summaryrefslogtreecommitdiff
path: root/util/statetrace/arch
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-04-15 10:44:06 -0700
committerNathan Binkert <nate@binkert.org>2011-04-15 10:44:06 -0700
commit39a055645f77e0fa7bf49406635dba6bd65e361f (patch)
treea7df44358c75ff2de6e6f1549755f72cddb7d735 /util/statetrace/arch
parent50fda09ac79b2dc1aa31fbced8d19b23d683fbab (diff)
downloadgem5-39a055645f77e0fa7bf49406635dba6bd65e361f.tar.xz
includes: sort all includes
Diffstat (limited to 'util/statetrace/arch')
-rw-r--r--util/statetrace/arch/amd64/tracechild.cc9
-rw-r--r--util/statetrace/arch/amd64/tracechild.hh5
-rw-r--r--util/statetrace/arch/arm/tracechild.cc7
-rw-r--r--util/statetrace/arch/arm/tracechild.hh7
-rw-r--r--util/statetrace/arch/i686/tracechild.cc5
-rw-r--r--util/statetrace/arch/i686/tracechild.hh5
-rw-r--r--util/statetrace/arch/sparc/tracechild.cc5
-rw-r--r--util/statetrace/arch/sparc/tracechild.hh7
8 files changed, 29 insertions, 21 deletions
diff --git a/util/statetrace/arch/amd64/tracechild.cc b/util/statetrace/arch/amd64/tracechild.cc
index 5d3b660ab..1aec5ec97 100644
--- a/util/statetrace/arch/amd64/tracechild.cc
+++ b/util/statetrace/arch/amd64/tracechild.cc
@@ -28,12 +28,13 @@
* Authors: Gabe Black
*/
-#include <iostream>
-#include <iomanip>
-#include <errno.h>
#include <sys/ptrace.h>
#include <stdint.h>
-#include <string.h>
+
+#include <cerrno>
+#include <cstring>
+#include <iomanip>
+#include <iostream>
#include "arch/amd64/tracechild.hh"
diff --git a/util/statetrace/arch/amd64/tracechild.hh b/util/statetrace/arch/amd64/tracechild.hh
index 6f28bc0bd..7adbec59e 100644
--- a/util/statetrace/arch/amd64/tracechild.hh
+++ b/util/statetrace/arch/amd64/tracechild.hh
@@ -31,9 +31,10 @@
#ifndef REGSTATE_AMD64_HH
#define REGSTATE_AMD64_HH
-#include <sys/user.h>
-#include <sys/types.h>
#include <sys/ptrace.h>
+#include <sys/types.h>
+#include <sys/user.h>
+
#include <cassert>
#include <string>
diff --git a/util/statetrace/arch/arm/tracechild.cc b/util/statetrace/arch/arm/tracechild.cc
index 97b8d06ec..5dde3d567 100644
--- a/util/statetrace/arch/arm/tracechild.cc
+++ b/util/statetrace/arch/arm/tracechild.cc
@@ -41,11 +41,12 @@
* Gabe Black
*/
-#include <iostream>
-#include <errno.h>
#include <stdint.h>
-#include <cstring>
+
+#include <cerrno>
#include <cstdio>
+#include <cstring>
+#include <iostream>
#include "arch/arm/tracechild.hh"
diff --git a/util/statetrace/arch/arm/tracechild.hh b/util/statetrace/arch/arm/tracechild.hh
index f4e8ca694..9a4dc1921 100644
--- a/util/statetrace/arch/arm/tracechild.hh
+++ b/util/statetrace/arch/arm/tracechild.hh
@@ -44,12 +44,13 @@
#ifndef TRACECHILD_ARM_HH
#define TRACECHILD_ARM_HH
+#include <sys/ptrace.h>
+#include <sys/user.h>
+
#include <cassert>
#include <string>
-#include <sys/user.h>
-#include <sys/ptrace.h>
-#include "base/tracechild.hh"
+#include "base/tracechild.hh"
class ARMTraceChild : public TraceChild
{
diff --git a/util/statetrace/arch/i686/tracechild.cc b/util/statetrace/arch/i686/tracechild.cc
index f9e37442e..44508c1a0 100644
--- a/util/statetrace/arch/i686/tracechild.cc
+++ b/util/statetrace/arch/i686/tracechild.cc
@@ -28,11 +28,12 @@
* Authors: Gabe Black
*/
-#include <iostream>
-#include <errno.h>
#include <sys/ptrace.h>
#include <stdint.h>
+#include <cerrno>
+#include <iostream>
+
#include "arch/i686/tracechild.hh"
using namespace std;
diff --git a/util/statetrace/arch/i686/tracechild.hh b/util/statetrace/arch/i686/tracechild.hh
index 1c1a36593..60bc5ed8d 100644
--- a/util/statetrace/arch/i686/tracechild.hh
+++ b/util/statetrace/arch/i686/tracechild.hh
@@ -31,9 +31,10 @@
#ifndef REGSTATE_I686_HH
#define REGSTATE_I686_HH
-#include <sys/user.h>
-#include <sys/types.h>
#include <sys/ptrace.h>
+#include <sys/types.h>
+#include <sys/user.h>
+
#include <cassert>
#include <string>
diff --git a/util/statetrace/arch/sparc/tracechild.cc b/util/statetrace/arch/sparc/tracechild.cc
index b18739e24..fad4a00d7 100644
--- a/util/statetrace/arch/sparc/tracechild.cc
+++ b/util/statetrace/arch/sparc/tracechild.cc
@@ -28,11 +28,12 @@
* Authors: Gabe Black
*/
-#include <iostream>
-#include <errno.h>
#include <sys/ptrace.h>
#include <stdint.h>
+#include <cerrno>
+#include <iostream>
+
#include "arch/sparc/tracechild.hh"
using namespace std;
diff --git a/util/statetrace/arch/sparc/tracechild.hh b/util/statetrace/arch/sparc/tracechild.hh
index 27670604a..30f7f26bd 100644
--- a/util/statetrace/arch/sparc/tracechild.hh
+++ b/util/statetrace/arch/sparc/tracechild.hh
@@ -32,12 +32,13 @@
#define TRACECHILD_SPARC_HH
#include <asm-sparc64/reg.h>
+#include <sys/ptrace.h>
+#include <sys/types.h>
+#include <stdint.h>
+
#include <cassert>
#include <ostream>
-#include <stdint.h>
#include <string>
-#include <sys/ptrace.h>
-#include <sys/types.h>
#include "base/tracechild.hh"