summaryrefslogtreecommitdiff
path: root/gdb/dwarf-index-write.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-write.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-users/tromey/sort-includes.tar.gz
Diffstat (limited to 'gdb/dwarf-index-write.c')
-rw-r--r--gdb/dwarf-index-write.c25
1 files changed, 16 insertions, 9 deletions
diff --git a/gdb/dwarf-index-write.c b/gdb/dwarf-index-write.c
index 01c1256bcb6..9260094c663 100644
--- a/gdb/dwarf-index-write.c
+++ b/gdb/dwarf-index-write.c
@@ -18,29 +18,36 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "dwarf-index-write.h"
-#include "addrmap.h"
+/* Standard C++ includes. */
+#include <algorithm>
+#include <cmath>
+#include <set>
+#include <unordered_map>
+#include <unordered_set>
+
+/* Local non-gdb includes. */
+#include "dwarf2.h"
+#include "gdb/gdb-index.h"
+
+/* Local subdirectory includes. */
#include "cli/cli-decode.h"
#include "common/byte-vector.h"
#include "common/filestuff.h"
#include "common/gdb_unlinker.h"
#include "common/pathstuff.h"
#include "common/scoped_fd.h"
+
+/* Local includes. */
+#include "addrmap.h"
#include "complaints.h"
#include "dwarf-index-common.h"
-#include "dwarf2.h"
#include "dwarf2read.h"
-#include "gdb/gdb-index.h"
#include "gdbcmd.h"
#include "objfiles.h"
#include "psympriv.h"
-#include <algorithm>
-#include <cmath>
-#include <set>
-#include <unordered_map>
-#include <unordered_set>
-
/* Ensure only legit values are used. */
#define DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE(cu_index, value) \
do { \