Whitespace fix in gdb.base/skip.exp
[deliverable/binutils-gdb.git] / gdb / corefile.c
index 7a99a4d79dc7dc5b966d10ff5c16eac7d287b2f6..c4735ada00ae0c2fcbcedd979a2ae1723e7ddfd6 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <fcntl.h>
 #include <signal.h>
-#include <sys/stat.h>
-
-/* Local non-gdb includes.  */
-#include "bfd.h"
-#include "cli/cli-utils.h"
+#include <fcntl.h>
+#include "inferior.h"
+#include "symtab.h"
 #include "command.h"
-#include "completer.h"
-#include "dis-asm.h"
 #include "gdbcmd.h"
+#include "bfd.h"
+#include "target.h"
 #include "gdbcore.h"
-#include "inferior.h"
+#include "dis-asm.h"
+#include <sys/stat.h>
+#include "completer.h"
 #include "observable.h"
-#include "symtab.h"
-#include "target.h"
+#include "cli/cli-utils.h"
+#include "gdbarch.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
@@ -142,9 +139,9 @@ validate_files (void)
     }
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
-char *
+const char *
 get_exec_file (int err)
 {
   if (exec_filename)
@@ -154,7 +151,6 @@ get_exec_file (int err)
 
   error (_("No executable file specified.\n\
 Use the \"file\" or \"exec-file\" command."));
-  return NULL;
 }
 \f
 
This page took 0.026895 seconds and 4 git commands to generate.