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/symfile.c | |
parent | ae2b14c73cd42b067e9687219155ed044210f0c1 (diff) | |
download | binutils-gdb-users/tromey/sort-includes.tar.gz |
the patchusers/tromey/sort-includes
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 88 |
1 files changed, 48 insertions, 40 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index dbfc306c521..5b70cab0ad9 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -20,56 +20,64 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "arch-utils.h" -#include "bfdlink.h" -#include "symtab.h" -#include "gdbtypes.h" -#include "gdbcore.h" -#include "frame.h" -#include "target.h" -#include "value.h" #include "symfile.h" -#include "objfiles.h" -#include "source.h" -#include "gdbcmd.h" -#include "breakpoint.h" -#include "language.h" -#include "complaints.h" + +/* Standard C includes. */ +#include <ctype.h> +#include <fcntl.h> +#include <sys/stat.h> +#include <sys/types.h> + +/* Standard C++ includes. */ +#include <algorithm> +#include <chrono> + +/* Local non-gdb includes. */ +#include "bfdlink.h" #include "demangle.h" -#include "inferior.h" -#include "regcache.h" -#include "filenames.h" /* for DOSish file names */ -#include "gdb-stabs.h" -#include "gdb_obstack.h" -#include "completer.h" -#include "bcache.h" +#include "elf-bfd.h" +#include "filenames.h" #include "hashtab.h" #include "readline/readline.h" -#include "block.h" -#include "observable.h" -#include "exec.h" -#include "parser-defs.h" -#include "varobj.h" -#include "elf-bfd.h" -#include "solib.h" -#include "remote.h" -#include "stack.h" -#include "gdb_bfd.h" + +/* Local subdirectory includes. */ +#include "cli/cli-style.h" #include "cli/cli-utils.h" #include "common/byte-vector.h" +#include "common/forward-scope-exit.h" #include "common/pathstuff.h" #include "common/selftest.h" -#include "cli/cli-style.h" -#include "common/forward-scope-exit.h" - -#include <sys/types.h> -#include <fcntl.h> -#include <sys/stat.h> -#include <ctype.h> -#include <chrono> -#include <algorithm> +/* Local includes. */ +#include "arch-utils.h" +#include "bcache.h" +#include "block.h" +#include "breakpoint.h" +#include "complaints.h" +#include "completer.h" +#include "exec.h" +#include "frame.h" +#include "gdb-stabs.h" +#include "gdb_bfd.h" +#include "gdb_obstack.h" +#include "gdbcmd.h" +#include "gdbcore.h" +#include "gdbtypes.h" +#include "inferior.h" +#include "language.h" +#include "objfiles.h" +#include "observable.h" +#include "parser-defs.h" #include "psymtab.h" +#include "regcache.h" +#include "remote.h" +#include "solib.h" +#include "source.h" +#include "stack.h" +#include "symtab.h" +#include "target.h" +#include "value.h" +#include "varobj.h" int (*deprecated_ui_load_progress_hook) (const char *section, unsigned long num); |