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/source.c | |
parent | ae2b14c73cd42b067e9687219155ed044210f0c1 (diff) | |
download | binutils-gdb-users/tromey/sort-includes.tar.gz |
the patchusers/tromey/sort-includes
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 53 |
1 files changed, 31 insertions, 22 deletions
diff --git a/gdb/source.c b/gdb/source.c index f99215f9810..1e187489909 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -17,35 +17,44 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "arch-utils.h" -#include "symtab.h" -#include "expression.h" -#include "language.h" -#include "command.h" #include "source.h" -#include "gdbcmd.h" -#include "frame.h" -#include "value.h" -#include "common/filestuff.h" -#include <sys/types.h> +/* Standard C includes. */ #include <fcntl.h> -#include "gdbcore.h" -#include "gdb_regex.h" -#include "symfile.h" -#include "objfiles.h" -#include "annotate.h" -#include "gdbtypes.h" -#include "linespec.h" -#include "filenames.h" /* for DOSish file names */ -#include "completer.h" -#include "ui-out.h" +#include <sys/types.h> + +/* Standard C++ includes. */ +#include <algorithm> + +/* Local non-gdb includes. */ +#include "filenames.h" #include "readline/readline.h" + +/* Local subdirectory includes. */ #include "common/enum-flags.h" -#include "common/scoped_fd.h" -#include <algorithm> +#include "common/filestuff.h" #include "common/pathstuff.h" +#include "common/scoped_fd.h" + +/* Local includes. */ +#include "annotate.h" +#include "arch-utils.h" +#include "command.h" +#include "completer.h" +#include "expression.h" +#include "frame.h" +#include "gdb_regex.h" +#include "gdbcmd.h" +#include "gdbcore.h" +#include "gdbtypes.h" +#include "language.h" +#include "linespec.h" +#include "objfiles.h" #include "source-cache.h" +#include "symfile.h" +#include "symtab.h" +#include "ui-out.h" +#include "value.h" #define OPEN_MODE (O_RDONLY | O_BINARY) #define FDOPEN_MODE FOPEN_RB |