diff options
author | Tom Tromey <tom@tromey.com> | 2019-03-30 11:29:17 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-03-30 11:36:53 -0600 |
commit | 268f4c4cd7b229f7f23ebbf6006973ebe0a05888 (patch) | |
tree | c97516c90aa5bf6ccb54c494c275339d42dc03aa /gdb/main.c | |
parent | ae2b14c73cd42b067e9687219155ed044210f0c1 (diff) | |
download | binutils-gdb-users/tromey/sort-includes.tar.gz |
the patchusers/tromey/sort-includes
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/gdb/main.c b/gdb/main.c index 97ffc3fba48..b8ffc30a2b0 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -18,36 +18,43 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "top.h" -#include "target.h" -#include "inferior.h" -#include "symfile.h" -#include "gdbcore.h" -#include "getopt.h" +#include "main.h" -#include <sys/types.h> -#include <sys/stat.h> +/* Standard C includes. */ #include <ctype.h> -#include "event-loop.h" -#include "ui-out.h" +#include <signal.h> +#include <sys/stat.h> +#include <sys/types.h> -#include "interps.h" -#include "main.h" -#include "source.h" -#include "cli/cli-cmds.h" -#include "objfiles.h" -#include "auto-load.h" -#include "maint.h" +/* Standard C++ includes. */ +#include <vector> +/* Local non-gdb includes. */ #include "filenames.h" +#include "getopt.h" + +/* Local subdirectory includes. */ +#include "cli/cli-cmds.h" +#include "cli/cli-style.h" #include "common/filestuff.h" -#include <signal.h> +#include "common/pathstuff.h" +#include "common/signals-state-save-restore.h" + +/* Local includes. */ +#include "auto-load.h" +#include "event-loop.h" #include "event-top.h" +#include "gdbcore.h" +#include "inferior.h" #include "infrun.h" -#include "common/signals-state-save-restore.h" -#include <vector> -#include "common/pathstuff.h" -#include "cli/cli-style.h" +#include "interps.h" +#include "maint.h" +#include "objfiles.h" +#include "source.h" +#include "symfile.h" +#include "target.h" +#include "top.h" +#include "ui-out.h" /* The selected interpreter. This will be used as a set command variable, so it should always be malloc'ed - since |