summaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c49
1 files changed, 28 insertions, 21 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 1c95e068842..669a667b72d 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -23,38 +23,45 @@
destroying objfile structures. */
#include "defs.h"
-#include "bfd.h" /* Binary File Description */
-#include "symtab.h"
-#include "symfile.h"
#include "objfiles.h"
-#include "gdb-stabs.h"
-#include "target.h"
-#include "bcache.h"
-#include "expression.h"
-#include "parser-defs.h"
-#include <sys/types.h>
-#include <sys/stat.h>
+/* Standard C includes. */
#include <fcntl.h>
-#include "gdb_obstack.h"
+#include <sys/stat.h>
+#include <sys/types.h>
+
+/* Standard C++ includes. */
+#include <vector>
+
+/* Local non-gdb includes. */
+#include "bfd.h"
#include "hashtab.h"
-#include "breakpoint.h"
-#include "block.h"
-#include "dictionary.h"
-#include "source.h"
+/* Local subdirectory includes. */
+#include "common/pathstuff.h"
+
+/* Local includes. */
#include "addrmap.h"
#include "arch-utils.h"
+#include "bcache.h"
+#include "block.h"
+#include "breakpoint.h"
+#include "btrace.h"
+#include "complaints.h"
+#include "dictionary.h"
#include "exec.h"
+#include "expression.h"
+#include "gdb-stabs.h"
+#include "gdb_bfd.h"
+#include "gdb_obstack.h"
#include "observable.h"
-#include "complaints.h"
+#include "parser-defs.h"
#include "psymtab.h"
#include "solist.h"
-#include "gdb_bfd.h"
-#include "btrace.h"
-#include "common/pathstuff.h"
-
-#include <vector>
+#include "source.h"
+#include "symfile.h"
+#include "symtab.h"
+#include "target.h"
/* Keep a registry of per-objfile data-pointers required by other GDB
modules. */