summaryrefslogtreecommitdiff
path: root/gdb/darwin-nat-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/darwin-nat-info.c')
-rw-r--r--gdb/darwin-nat-info.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c
index ca3b2e87252..30999efa970 100644
--- a/gdb/darwin-nat-info.c
+++ b/gdb/darwin-nat-info.c
@@ -28,24 +28,25 @@
Tiger is no longer important. */
#include "defs.h"
-#include "symtab.h"
-#include "gdbtypes.h"
-#include "gdbcore.h"
-#include "value.h"
-#include "gdbcmd.h"
-#include "inferior.h"
+/* Standard C includes. */
+#include <mach/mach_init.h>
+#include <mach/mach_port.h>
+#include <mach/mach_vm.h>
+#include <mach/task.h>
+#include <mach/thread_act.h>
+#include <mach/thread_info.h>
+#include <mach/vm_map.h>
#include <sys/sysctl.h>
+/* Local includes. */
#include "darwin-nat.h"
-
-#include <mach/thread_info.h>
-#include <mach/thread_act.h>
-#include <mach/task.h>
-#include <mach/vm_map.h>
-#include <mach/mach_port.h>
-#include <mach/mach_init.h>
-#include <mach/mach_vm.h>
+#include "gdbcmd.h"
+#include "gdbcore.h"
+#include "gdbtypes.h"
+#include "inferior.h"
+#include "symtab.h"
+#include "value.h"
#define CHECK_ARGS(what, args) do { \
if ((NULL == args) || ((args[0] != '0') && (args[1] != 'x'))) \