summaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-30 11:29:17 -0600
committerTom Tromey <tom@tromey.com>2019-03-30 11:36:53 -0600
commit268f4c4cd7b229f7f23ebbf6006973ebe0a05888 (patch)
treec97516c90aa5bf6ccb54c494c275339d42dc03aa /gdb/objfiles.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-users/tromey/sort-includes.tar.gz
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. */