summaryrefslogtreecommitdiff
path: root/gdb/corefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r--gdb/corefile.c26
1 files changed, 17 insertions, 9 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c
index bf859fbbb8d..417f594880c 100644
--- a/gdb/corefile.c
+++ b/gdb/corefile.c
@@ -18,20 +18,28 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include <signal.h>
+
+/* Standard C includes. */
#include <fcntl.h>
-#include "inferior.h"
-#include "symtab.h"
-#include "command.h"
-#include "gdbcmd.h"
+#include <signal.h>
+#include <sys/stat.h>
+
+/* Local non-gdb includes. */
#include "bfd.h"
-#include "target.h"
-#include "gdbcore.h"
#include "dis-asm.h"
-#include <sys/stat.h>
+
+/* Local subdirectory includes. */
+#include "cli/cli-utils.h"
+
+/* Local includes. */
+#include "command.h"
#include "completer.h"
+#include "gdbcmd.h"
+#include "gdbcore.h"
+#include "inferior.h"
#include "observable.h"
-#include "cli/cli-utils.h"
+#include "symtab.h"
+#include "target.h"
/* You can have any number of hooks for `exec_file_command' command to
call. If there's only one hook, it is set in exec_file_display