summaryrefslogtreecommitdiff
path: root/gdb/fbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/fbsd-nat.c')
-rw-r--r--gdb/fbsd-nat.c42
1 files changed, 25 insertions, 17 deletions
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index d4f4c8cf359..cd08d921f44 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -18,33 +18,41 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "common/byte-vector.h"
-#include "gdbcore.h"
-#include "inferior.h"
-#include "regcache.h"
-#include "regset.h"
-#include "gdbcmd.h"
-#include "gdbthread.h"
-#include "common/gdb_wait.h"
-#include "inf-ptrace.h"
-#include <sys/types.h>
+#include "fbsd-nat.h"
+
+/* Standard C includes. */
+#if defined(HAVE_KINFO_GETFILE) || defined(HAVE_KINFO_GETVMMAP)
+#include <libutil.h>
+#endif
#include <sys/procfs.h>
#include <sys/ptrace.h>
#include <sys/signal.h>
#include <sys/sysctl.h>
+#include <sys/types.h>
#include <sys/user.h>
-#if defined(HAVE_KINFO_GETFILE) || defined(HAVE_KINFO_GETVMMAP)
-#include <libutil.h>
-#endif
+
+/* Standard C++ includes. */
+#include <list>
+
+/* Local non-gdb includes. */
+#include "elf-bfd.h"
+
+/* Local subdirectory includes. */
+#include "common/byte-vector.h"
#if !defined(HAVE_KINFO_GETVMMAP)
#include "common/filestuff.h"
#endif
+#include "common/gdb_wait.h"
-#include "elf-bfd.h"
-#include "fbsd-nat.h"
+/* Local includes. */
#include "fbsd-tdep.h"
-
-#include <list>
+#include "gdbcmd.h"
+#include "gdbcore.h"
+#include "gdbthread.h"
+#include "inf-ptrace.h"
+#include "inferior.h"
+#include "regcache.h"
+#include "regset.h"
/* Return the name of a file that can be opened to get the symbols for
the child process identified by PID. */