summaryrefslogtreecommitdiff
path: root/gdb/nds32-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nds32-tdep.c')
-rw-r--r--gdb/nds32-tdep.c42
1 files changed, 24 insertions, 18 deletions
diff --git a/gdb/nds32-tdep.c b/gdb/nds32-tdep.c
index 801b2dadcae..cb809088a7b 100644
--- a/gdb/nds32-tdep.c
+++ b/gdb/nds32-tdep.c
@@ -19,31 +19,37 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "frame.h"
-#include "frame-unwind.h"
+#include "nds32-tdep.h"
+
+/* Standard C++ includes. */
+#include <algorithm>
+
+/* Local non-gdb includes. */
+#include "dis-asm.h"
+#include "elf-bfd.h"
+#include "elf/nds32.h"
+#include "opcode/nds32.h"
+
+/* Local subdirectory includes. */
+#include "features/nds32.c"
+
+/* Local includes. */
+#include "arch-utils.h"
+#include "dwarf2-frame.h"
#include "frame-base.h"
-#include "symtab.h"
-#include "gdbtypes.h"
+#include "frame-unwind.h"
+#include "frame.h"
#include "gdbcore.h"
-#include "value.h"
-#include "reggroups.h"
+#include "gdbtypes.h"
#include "inferior.h"
#include "osabi.h"
-#include "arch-utils.h"
#include "regcache.h"
-#include "dis-asm.h"
-#include "user-regs.h"
-#include "elf-bfd.h"
-#include "dwarf2-frame.h"
+#include "reggroups.h"
#include "remote.h"
+#include "symtab.h"
#include "target-descriptions.h"
-
-#include "nds32-tdep.h"
-#include "elf/nds32.h"
-#include "opcode/nds32.h"
-#include <algorithm>
-
-#include "features/nds32.c"
+#include "user-regs.h"
+#include "value.h"
/* Simple macros for instruction analysis. */
#define CHOP_BITS(insn, n) (insn & ~__MASK (n))