summaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c33
1 files changed, 20 insertions, 13 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 9a23c8f5254..4c798eb66c0 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -17,23 +17,30 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "buildsym-legacy.h"
+#include "buildsym.h"
+
+/* Standard C++ includes. */
+#include <algorithm>
+
+/* Local non-gdb includes. */
#include "bfd.h"
-#include "gdb_obstack.h"
-#include "symtab.h"
-#include "symfile.h"
-#include "objfiles.h"
-#include "gdbtypes.h"
-#include "complaints.h"
-#include "expression.h" /* For "enum exp_opcode" used by... */
-#include "filenames.h" /* For DOSish file names. */
-#include "macrotab.h"
-#include "demangle.h" /* Needed by SYMBOL_INIT_DEMANGLED_NAME. */
+#include "demangle.h"
+#include "filenames.h"
+
+/* Local includes. */
+#include "addrmap.h"
#include "block.h"
+#include "buildsym-legacy.h"
+#include "complaints.h"
#include "cp-support.h"
#include "dictionary.h"
-#include "addrmap.h"
-#include <algorithm>
+#include "expression.h"
+#include "gdb_obstack.h"
+#include "gdbtypes.h"
+#include "macrotab.h"
+#include "objfiles.h"
+#include "symfile.h"
+#include "symtab.h"
/* For cleanup_undefined_stabs_types and finish_global_stabs (somewhat
questionable--see comment where we call them). */