summaryrefslogtreecommitdiff
path: root/gdb/dwarf-index-cache.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/dwarf-index-cache.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-users/tromey/sort-includes.tar.gz
Diffstat (limited to 'gdb/dwarf-index-cache.c')
-rw-r--r--gdb/dwarf-index-cache.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/gdb/dwarf-index-cache.c b/gdb/dwarf-index-cache.c
index 445f8b199e6..0553c7e58ce 100644
--- a/gdb/dwarf-index-cache.c
+++ b/gdb/dwarf-index-cache.c
@@ -20,17 +20,24 @@
#include "defs.h"
#include "dwarf-index-cache.h"
-#include "build-id.h"
+/* Standard C includes. */
+#include <stdlib.h>
+
+/* Standard C++ includes. */
+#include <string>
+
+/* Local subdirectory includes. */
#include "cli/cli-cmds.h"
-#include "command.h"
-#include "common/scoped_mmap.h"
#include "common/pathstuff.h"
+#include "common/scoped_mmap.h"
+#include "common/selftest.h"
+
+/* Local includes. */
+#include "build-id.h"
+#include "command.h"
#include "dwarf-index-write.h"
#include "dwarf2read.h"
#include "objfiles.h"
-#include "common/selftest.h"
-#include <string>
-#include <stdlib.h>
/* When set to 1, show debug messages about the index cache. */
static int debug_index_cache = 0;