Revert the header-sorting patch
authorTom Tromey <tom@tromey.com>
Sat, 6 Apr 2019 19:38:10 +0000 (13:38 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 6 Apr 2019 19:47:34 +0000 (13:47 -0600)
Andreas Schwab and John Baldwin pointed out some bugs in the header
sorting patch; and I noticed that the output was not correct when
limited to a subset of files (a bug in my script).

So, I'm reverting the patch.  I may try again after fixing the issues
pointed out.

gdb/ChangeLog
2019-04-05  Tom Tromey  <tom@tromey.com>

Revert the header-sorting patch.
* ft32-tdep.c: Revert.
* frv-tdep.c: Revert.
* frv-linux-tdep.c: Revert.
* frame.c: Revert.
* frame-unwind.c: Revert.
* frame-base.c: Revert.
* fork-child.c: Revert.
* findvar.c: Revert.
* findcmd.c: Revert.
* filesystem.c: Revert.
* filename-seen-cache.h: Revert.
* filename-seen-cache.c: Revert.
* fbsd-tdep.c: Revert.
* fbsd-nat.h: Revert.
* fbsd-nat.c: Revert.
* f-valprint.c: Revert.
* f-typeprint.c: Revert.
* f-lang.c: Revert.
* extension.h: Revert.
* extension.c: Revert.
* extension-priv.h: Revert.
* expprint.c: Revert.
* exec.h: Revert.
* exec.c: Revert.
* exceptions.c: Revert.
* event-top.c: Revert.
* event-loop.c: Revert.
* eval.c: Revert.
* elfread.c: Revert.
* dwarf2read.h: Revert.
* dwarf2read.c: Revert.
* dwarf2loc.c: Revert.
* dwarf2expr.h: Revert.
* dwarf2expr.c: Revert.
* dwarf2-frame.c: Revert.
* dwarf2-frame-tailcall.c: Revert.
* dwarf-index-write.h: Revert.
* dwarf-index-write.c: Revert.
* dwarf-index-common.c: Revert.
* dwarf-index-cache.h: Revert.
* dwarf-index-cache.c: Revert.
* dummy-frame.c: Revert.
* dtrace-probe.c: Revert.
* disasm.h: Revert.
* disasm.c: Revert.
* disasm-selftests.c: Revert.
* dictionary.c: Revert.
* dicos-tdep.c: Revert.
* demangle.c: Revert.
* dcache.h: Revert.
* dcache.c: Revert.
* darwin-nat.h: Revert.
* darwin-nat.c: Revert.
* darwin-nat-info.c: Revert.
* d-valprint.c: Revert.
* d-namespace.c: Revert.
* d-lang.c: Revert.
* ctf.c: Revert.
* csky-tdep.c: Revert.
* csky-linux-tdep.c: Revert.
* cris-tdep.c: Revert.
* cris-linux-tdep.c: Revert.
* cp-valprint.c: Revert.
* cp-support.c: Revert.
* cp-namespace.c: Revert.
* cp-abi.c: Revert.
* corelow.c: Revert.
* corefile.c: Revert.
* continuations.c: Revert.
* completer.h: Revert.
* completer.c: Revert.
* complaints.c: Revert.
* coffread.c: Revert.
* coff-pe-read.c: Revert.
* cli-out.h: Revert.
* cli-out.c: Revert.
* charset.c: Revert.
* c-varobj.c: Revert.
* c-valprint.c: Revert.
* c-typeprint.c: Revert.
* c-lang.c: Revert.
* buildsym.c: Revert.
* buildsym-legacy.c: Revert.
* build-id.h: Revert.
* build-id.c: Revert.
* btrace.c: Revert.
* bsd-uthread.c: Revert.
* breakpoint.h: Revert.
* breakpoint.c: Revert.
* break-catch-throw.c: Revert.
* break-catch-syscall.c: Revert.
* break-catch-sig.c: Revert.
* blockframe.c: Revert.
* block.c: Revert.
* bfin-tdep.c: Revert.
* bfin-linux-tdep.c: Revert.
* bfd-target.c: Revert.
* bcache.c: Revert.
* ax-general.c: Revert.
* ax-gdb.h: Revert.
* ax-gdb.c: Revert.
* avr-tdep.c: Revert.
* auxv.c: Revert.
* auto-load.c: Revert.
* arm-wince-tdep.c: Revert.
* arm-tdep.c: Revert.
* arm-symbian-tdep.c: Revert.
* arm-pikeos-tdep.c: Revert.
* arm-obsd-tdep.c: Revert.
* arm-nbsd-tdep.c: Revert.
* arm-nbsd-nat.c: Revert.
* arm-linux-tdep.c: Revert.
* arm-linux-nat.c: Revert.
* arm-fbsd-tdep.c: Revert.
* arm-fbsd-nat.c: Revert.
* arm-bsd-tdep.c: Revert.
* arch-utils.c: Revert.
* arc-tdep.c: Revert.
* arc-newlib-tdep.c: Revert.
* annotate.h: Revert.
* annotate.c: Revert.
* amd64-windows-tdep.c: Revert.
* amd64-windows-nat.c: Revert.
* amd64-tdep.c: Revert.
* amd64-sol2-tdep.c: Revert.
* amd64-obsd-tdep.c: Revert.
* amd64-obsd-nat.c: Revert.
* amd64-nbsd-tdep.c: Revert.
* amd64-nbsd-nat.c: Revert.
* amd64-nat.c: Revert.
* amd64-linux-tdep.c: Revert.
* amd64-linux-nat.c: Revert.
* amd64-fbsd-tdep.c: Revert.
* amd64-fbsd-nat.c: Revert.
* amd64-dicos-tdep.c: Revert.
* amd64-darwin-tdep.c: Revert.
* amd64-bsd-nat.c: Revert.
* alpha-tdep.c: Revert.
* alpha-obsd-tdep.c: Revert.
* alpha-nbsd-tdep.c: Revert.
* alpha-mdebug-tdep.c: Revert.
* alpha-linux-tdep.c: Revert.
* alpha-linux-nat.c: Revert.
* alpha-bsd-tdep.c: Revert.
* alpha-bsd-nat.c: Revert.
* aix-thread.c: Revert.
* agent.c: Revert.
* addrmap.c: Revert.
* ada-varobj.c: Revert.
* ada-valprint.c: Revert.
* ada-typeprint.c: Revert.
* ada-tasks.c: Revert.
* ada-lang.c: Revert.
* aarch64-tdep.c: Revert.
* aarch64-ravenscar-thread.c: Revert.
* aarch64-newlib-tdep.c: Revert.
* aarch64-linux-tdep.c: Revert.
* aarch64-linux-nat.c: Revert.
* aarch64-fbsd-tdep.c: Revert.
* aarch64-fbsd-nat.c: Revert.
* aarch32-linux-nat.c: Revert.

162 files changed:
gdb/ChangeLog
gdb/aarch32-linux-nat.c
gdb/aarch64-fbsd-nat.c
gdb/aarch64-fbsd-tdep.c
gdb/aarch64-linux-nat.c
gdb/aarch64-linux-tdep.c
gdb/aarch64-newlib-tdep.c
gdb/aarch64-ravenscar-thread.c
gdb/aarch64-tdep.c
gdb/ada-lang.c
gdb/ada-tasks.c
gdb/ada-typeprint.c
gdb/ada-valprint.c
gdb/ada-varobj.c
gdb/addrmap.c
gdb/agent.c
gdb/aix-thread.c
gdb/alpha-bsd-nat.c
gdb/alpha-bsd-tdep.c
gdb/alpha-linux-nat.c
gdb/alpha-linux-tdep.c
gdb/alpha-mdebug-tdep.c
gdb/alpha-nbsd-tdep.c
gdb/alpha-obsd-tdep.c
gdb/alpha-tdep.c
gdb/amd64-bsd-nat.c
gdb/amd64-darwin-tdep.c
gdb/amd64-dicos-tdep.c
gdb/amd64-fbsd-nat.c
gdb/amd64-fbsd-tdep.c
gdb/amd64-linux-nat.c
gdb/amd64-linux-tdep.c
gdb/amd64-nat.c
gdb/amd64-nbsd-nat.c
gdb/amd64-nbsd-tdep.c
gdb/amd64-obsd-nat.c
gdb/amd64-obsd-tdep.c
gdb/amd64-sol2-tdep.c
gdb/amd64-tdep.c
gdb/amd64-windows-nat.c
gdb/amd64-windows-tdep.c
gdb/annotate.c
gdb/annotate.h
gdb/arc-newlib-tdep.c
gdb/arc-tdep.c
gdb/arch-utils.c
gdb/arm-bsd-tdep.c
gdb/arm-fbsd-nat.c
gdb/arm-fbsd-tdep.c
gdb/arm-linux-nat.c
gdb/arm-linux-tdep.c
gdb/arm-nbsd-nat.c
gdb/arm-nbsd-tdep.c
gdb/arm-obsd-tdep.c
gdb/arm-pikeos-tdep.c
gdb/arm-symbian-tdep.c
gdb/arm-tdep.c
gdb/arm-wince-tdep.c
gdb/auto-load.c
gdb/auxv.c
gdb/avr-tdep.c
gdb/ax-gdb.c
gdb/ax-gdb.h
gdb/ax-general.c
gdb/bcache.c
gdb/bfd-target.c
gdb/bfin-linux-tdep.c
gdb/bfin-tdep.c
gdb/block.c
gdb/blockframe.c
gdb/break-catch-sig.c
gdb/break-catch-syscall.c
gdb/break-catch-throw.c
gdb/breakpoint.c
gdb/breakpoint.h
gdb/bsd-uthread.c
gdb/btrace.c
gdb/build-id.c
gdb/build-id.h
gdb/buildsym-legacy.c
gdb/buildsym.c
gdb/c-lang.c
gdb/c-typeprint.c
gdb/c-valprint.c
gdb/c-varobj.c
gdb/charset.c
gdb/cli-out.c
gdb/cli-out.h
gdb/coff-pe-read.c
gdb/coffread.c
gdb/complaints.c
gdb/completer.c
gdb/completer.h
gdb/continuations.c
gdb/corefile.c
gdb/corelow.c
gdb/cp-abi.c
gdb/cp-namespace.c
gdb/cp-support.c
gdb/cp-valprint.c
gdb/cris-linux-tdep.c
gdb/cris-tdep.c
gdb/csky-linux-tdep.c
gdb/csky-tdep.c
gdb/ctf.c
gdb/d-lang.c
gdb/d-namespace.c
gdb/d-valprint.c
gdb/darwin-nat-info.c
gdb/darwin-nat.c
gdb/darwin-nat.h
gdb/dcache.c
gdb/dcache.h
gdb/demangle.c
gdb/dicos-tdep.c
gdb/dictionary.c
gdb/disasm-selftests.c
gdb/disasm.c
gdb/disasm.h
gdb/dtrace-probe.c
gdb/dummy-frame.c
gdb/dwarf-index-cache.c
gdb/dwarf-index-cache.h
gdb/dwarf-index-common.c
gdb/dwarf-index-write.c
gdb/dwarf-index-write.h
gdb/dwarf2-frame-tailcall.c
gdb/dwarf2-frame.c
gdb/dwarf2expr.c
gdb/dwarf2expr.h
gdb/dwarf2loc.c
gdb/dwarf2read.c
gdb/dwarf2read.h
gdb/elfread.c
gdb/eval.c
gdb/event-loop.c
gdb/event-top.c
gdb/exceptions.c
gdb/exec.c
gdb/exec.h
gdb/expprint.c
gdb/extension-priv.h
gdb/extension.c
gdb/extension.h
gdb/f-lang.c
gdb/f-typeprint.c
gdb/f-valprint.c
gdb/fbsd-nat.c
gdb/fbsd-nat.h
gdb/fbsd-tdep.c
gdb/filename-seen-cache.c
gdb/filename-seen-cache.h
gdb/filesystem.c
gdb/findcmd.c
gdb/findvar.c
gdb/fork-child.c
gdb/frame-base.c
gdb/frame-unwind.c
gdb/frame.c
gdb/frv-linux-tdep.c
gdb/frv-tdep.c
gdb/ft32-tdep.c

index cad57a49b6f9a9a43c995975a8e3f4b59fc89a87..7d79c8141e58bf8d1a6a7c1355f5b0b86aec2081 100644 (file)
@@ -1,3 +1,168 @@
+2019-04-05  Tom Tromey  <tom@tromey.com>
+
+       Revert the header-sorting patch.
+       * ft32-tdep.c: Revert.
+       * frv-tdep.c: Revert.
+       * frv-linux-tdep.c: Revert.
+       * frame.c: Revert.
+       * frame-unwind.c: Revert.
+       * frame-base.c: Revert.
+       * fork-child.c: Revert.
+       * findvar.c: Revert.
+       * findcmd.c: Revert.
+       * filesystem.c: Revert.
+       * filename-seen-cache.h: Revert.
+       * filename-seen-cache.c: Revert.
+       * fbsd-tdep.c: Revert.
+       * fbsd-nat.h: Revert.
+       * fbsd-nat.c: Revert.
+       * f-valprint.c: Revert.
+       * f-typeprint.c: Revert.
+       * f-lang.c: Revert.
+       * extension.h: Revert.
+       * extension.c: Revert.
+       * extension-priv.h: Revert.
+       * expprint.c: Revert.
+       * exec.h: Revert.
+       * exec.c: Revert.
+       * exceptions.c: Revert.
+       * event-top.c: Revert.
+       * event-loop.c: Revert.
+       * eval.c: Revert.
+       * elfread.c: Revert.
+       * dwarf2read.h: Revert.
+       * dwarf2read.c: Revert.
+       * dwarf2loc.c: Revert.
+       * dwarf2expr.h: Revert.
+       * dwarf2expr.c: Revert.
+       * dwarf2-frame.c: Revert.
+       * dwarf2-frame-tailcall.c: Revert.
+       * dwarf-index-write.h: Revert.
+       * dwarf-index-write.c: Revert.
+       * dwarf-index-common.c: Revert.
+       * dwarf-index-cache.h: Revert.
+       * dwarf-index-cache.c: Revert.
+       * dummy-frame.c: Revert.
+       * dtrace-probe.c: Revert.
+       * disasm.h: Revert.
+       * disasm.c: Revert.
+       * disasm-selftests.c: Revert.
+       * dictionary.c: Revert.
+       * dicos-tdep.c: Revert.
+       * demangle.c: Revert.
+       * dcache.h: Revert.
+       * dcache.c: Revert.
+       * darwin-nat.h: Revert.
+       * darwin-nat.c: Revert.
+       * darwin-nat-info.c: Revert.
+       * d-valprint.c: Revert.
+       * d-namespace.c: Revert.
+       * d-lang.c: Revert.
+       * ctf.c: Revert.
+       * csky-tdep.c: Revert.
+       * csky-linux-tdep.c: Revert.
+       * cris-tdep.c: Revert.
+       * cris-linux-tdep.c: Revert.
+       * cp-valprint.c: Revert.
+       * cp-support.c: Revert.
+       * cp-namespace.c: Revert.
+       * cp-abi.c: Revert.
+       * corelow.c: Revert.
+       * corefile.c: Revert.
+       * continuations.c: Revert.
+       * completer.h: Revert.
+       * completer.c: Revert.
+       * complaints.c: Revert.
+       * coffread.c: Revert.
+       * coff-pe-read.c: Revert.
+       * cli-out.h: Revert.
+       * cli-out.c: Revert.
+       * charset.c: Revert.
+       * c-varobj.c: Revert.
+       * c-valprint.c: Revert.
+       * c-typeprint.c: Revert.
+       * c-lang.c: Revert.
+       * buildsym.c: Revert.
+       * buildsym-legacy.c: Revert.
+       * build-id.h: Revert.
+       * build-id.c: Revert.
+       * btrace.c: Revert.
+       * bsd-uthread.c: Revert.
+       * breakpoint.h: Revert.
+       * breakpoint.c: Revert.
+       * break-catch-throw.c: Revert.
+       * break-catch-syscall.c: Revert.
+       * break-catch-sig.c: Revert.
+       * blockframe.c: Revert.
+       * block.c: Revert.
+       * bfin-tdep.c: Revert.
+       * bfin-linux-tdep.c: Revert.
+       * bfd-target.c: Revert.
+       * bcache.c: Revert.
+       * ax-general.c: Revert.
+       * ax-gdb.h: Revert.
+       * ax-gdb.c: Revert.
+       * avr-tdep.c: Revert.
+       * auxv.c: Revert.
+       * auto-load.c: Revert.
+       * arm-wince-tdep.c: Revert.
+       * arm-tdep.c: Revert.
+       * arm-symbian-tdep.c: Revert.
+       * arm-pikeos-tdep.c: Revert.
+       * arm-obsd-tdep.c: Revert.
+       * arm-nbsd-tdep.c: Revert.
+       * arm-nbsd-nat.c: Revert.
+       * arm-linux-tdep.c: Revert.
+       * arm-linux-nat.c: Revert.
+       * arm-fbsd-tdep.c: Revert.
+       * arm-fbsd-nat.c: Revert.
+       * arm-bsd-tdep.c: Revert.
+       * arch-utils.c: Revert.
+       * arc-tdep.c: Revert.
+       * arc-newlib-tdep.c: Revert.
+       * annotate.h: Revert.
+       * annotate.c: Revert.
+       * amd64-windows-tdep.c: Revert.
+       * amd64-windows-nat.c: Revert.
+       * amd64-tdep.c: Revert.
+       * amd64-sol2-tdep.c: Revert.
+       * amd64-obsd-tdep.c: Revert.
+       * amd64-obsd-nat.c: Revert.
+       * amd64-nbsd-tdep.c: Revert.
+       * amd64-nbsd-nat.c: Revert.
+       * amd64-nat.c: Revert.
+       * amd64-linux-tdep.c: Revert.
+       * amd64-linux-nat.c: Revert.
+       * amd64-fbsd-tdep.c: Revert.
+       * amd64-fbsd-nat.c: Revert.
+       * amd64-dicos-tdep.c: Revert.
+       * amd64-darwin-tdep.c: Revert.
+       * amd64-bsd-nat.c: Revert.
+       * alpha-tdep.c: Revert.
+       * alpha-obsd-tdep.c: Revert.
+       * alpha-nbsd-tdep.c: Revert.
+       * alpha-mdebug-tdep.c: Revert.
+       * alpha-linux-tdep.c: Revert.
+       * alpha-linux-nat.c: Revert.
+       * alpha-bsd-tdep.c: Revert.
+       * alpha-bsd-nat.c: Revert.
+       * aix-thread.c: Revert.
+       * agent.c: Revert.
+       * addrmap.c: Revert.
+       * ada-varobj.c: Revert.
+       * ada-valprint.c: Revert.
+       * ada-typeprint.c: Revert.
+       * ada-tasks.c: Revert.
+       * ada-lang.c: Revert.
+       * aarch64-tdep.c: Revert.
+       * aarch64-ravenscar-thread.c: Revert.
+       * aarch64-newlib-tdep.c: Revert.
+       * aarch64-linux-tdep.c: Revert.
+       * aarch64-linux-nat.c: Revert.
+       * aarch64-fbsd-tdep.c: Revert.
+       * aarch64-fbsd-nat.c: Revert.
+       * aarch32-linux-nat.c: Revert.
+
 2019-04-05  Tom Tromey  <tom@tromey.com>
 
        * ft32-tdep.c: Sort headers.
index 6471626810b08f10f4e876b0974090688aa75b05..e23dbb1bbbeaabf0f8f35d9406dd3e6657b56f81 100644 (file)
 
 #include "defs.h"
 
-/* Local non-gdb includes.  */
-#include "aarch32-linux-nat.h"
-#include "arch/arm-linux.h"
-#include "arm-linux-tdep.h"
-#include "arm-tdep.h"
 #include "regcache.h"
+#include "arm-tdep.h"
+#include "arm-linux-tdep.h"
+#include "arch/arm-linux.h"
+
+#include "aarch32-linux-nat.h"
 
 /* Supply GP registers contents, stored in REGS, to REGCACHE.  ARM_APCS_32
    is true if the 32-bit mode is in use, otherwise, it is false.  */
index cb4130a2844588d29983636fba26765a6ce2b97a..bb187a600d0c0308d207b77fbd0b83b392322233 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "target.h"
 
-/* Standard C includes.  */
-#include <machine/reg.h>
-#include <sys/ptrace.h>
 #include <sys/types.h>
+#include <sys/ptrace.h>
+#include <machine/reg.h>
 
-/* Local non-gdb includes.  */
-#include "aarch64-fbsd-tdep.h"
-#include "aarch64-tdep.h"
 #include "fbsd-nat.h"
+#include "aarch64-tdep.h"
+#include "aarch64-fbsd-tdep.h"
 #include "inf-ptrace.h"
-#include "target.h"
 
 struct aarch64_fbsd_nat_target final : public fbsd_nat_target
 {
index 63850abe5a1492d607ab20a71ee8dc07959b0cf4..c611ff350bda8f1420de9e87b95d74fa5e297251 100644 (file)
 
 #include "defs.h"
 
-/* Local non-gdb includes.  */
-#include "aarch64-fbsd-tdep.h"
-#include "aarch64-tdep.h"
-#include "fbsd-tdep.h"
 #include "gdbarch.h"
+#include "fbsd-tdep.h"
+#include "aarch64-tdep.h"
+#include "aarch64-fbsd-tdep.h"
 #include "osabi.h"
 #include "solib-svr4.h"
 #include "target.h"
-#include "trad-frame.h"
 #include "tramp-frame.h"
+#include "trad-frame.h"
 
 /* Register maps.  */
 
index b9e68801dd13dd3b586eae1d1b8eb0468aff9df8..6d43eb7070f17768f324fe950bc7a0f278d190d8 100644 (file)
 
 #include "defs.h"
 
-/* Standard C includes.  */
-#include <asm/ptrace.h>
-#include <sys/utsname.h>
-
-/* Local non-gdb includes.  */
-#include "aarch32-linux-nat.h"
-#include "aarch64-linux-tdep.h"
-#include "aarch64-tdep.h"
-#include "auxv.h"
-#include "elf/common.h"
-#include "elf/external.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gregset.h"
 #include "inferior.h"
+#include "gdbcore.h"
+#include "regcache.h"
 #include "linux-nat.h"
-#include "linux-tdep.h"
-#include "nat/aarch64-linux-hw-point.h"
+#include "target-descriptions.h"
+#include "auxv.h"
+#include "gdbcmd.h"
+#include "aarch64-tdep.h"
+#include "aarch64-linux-tdep.h"
+#include "aarch32-linux-nat.h"
 #include "nat/aarch64-linux.h"
+#include "nat/aarch64-linux-hw-point.h"
 #include "nat/aarch64-sve-linux-ptrace.h"
+
+#include "elf/external.h"
+#include "elf/common.h"
+
 #include "nat/gdb_ptrace.h"
-#include "regcache.h"
-#include "target-descriptions.h"
+#include <sys/utsname.h>
+#include <asm/ptrace.h>
+
+#include "gregset.h"
+#include "linux-tdep.h"
 
 /* Defines ps_err_e, struct ps_prochandle.  */
 #include "gdb_proc_service.h"
index 5a126b0c83c03b28da7feecbf63065c1a368897d..7f2193f2fa5781ef4ee1f78828f749efa5671f8b 100644 (file)
 
 #include "defs.h"
 
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "aarch64-linux-tdep.h"
-#include "aarch64-tdep.h"
-#include "arch-utils.h"
-#include "auxv.h"
-#include "cli/cli-utils.h"
-#include "elf/common.h"
 #include "gdbarch.h"
+#include "arch-utils.h"
 #include "glibc-tdep.h"
-#include "inferior.h"
-#include "linux-record.h"
 #include "linux-tdep.h"
+#include "aarch64-tdep.h"
+#include "aarch64-linux-tdep.h"
 #include "osabi.h"
-#include "parser-defs.h"
-#include "record-full.h"
-#include "regcache.h"
-#include "regset.h"
 #include "solib-svr4.h"
-#include "stap-probe.h"
 #include "symtab.h"
-#include "trad-frame.h"
 #include "tramp-frame.h"
+#include "trad-frame.h"
+
+#include "inferior.h"
+#include "regcache.h"
+#include "regset.h"
+
+#include "cli/cli-utils.h"
+#include "stap-probe.h"
+#include "parser-defs.h"
 #include "user-regs.h"
 #include "xml-syscall.h"
+#include <ctype.h>
+
+#include "record-full.h"
+#include "linux-record.h"
+#include "auxv.h"
+#include "elf/common.h"
 
 /* Signal frame handling.
 
index 3c1c8986bef62d48d49af1fc03764f5f66cbe877..131f099197026c2d99b709421dd78240cbbe1387 100644 (file)
@@ -20,9 +20,8 @@
 
 #include "defs.h"
 
-/* Local non-gdb includes.  */
-#include "aarch64-tdep.h"
 #include "gdbarch.h"
+#include "aarch64-tdep.h"
 #include "osabi.h"
 
 /* Implement the 'init_osabi' method of struct gdb_osabi_handler.  */
index b6709fca22e8a49ea6c0916ccdd030ff1ec8f938..3e87a4bf5b96aea5b41baaf82089653cb6007dc5 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "aarch64-ravenscar-thread.h"
-#include "aarch64-tdep.h"
 #include "gdbcore.h"
+#include "regcache.h"
+#include "aarch64-tdep.h"
 #include "inferior.h"
 #include "ravenscar-thread.h"
-#include "regcache.h"
+#include "aarch64-ravenscar-thread.h"
 
 #define NO_OFFSET -1
 
index ca0d0023126df35afe7f23e80469ae2cdfe0e129..68b6549ba9b2a421fc29ede97454cd6c0640ec29 100644 (file)
 
 #include "defs.h"
 
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "aarch64-ravenscar-thread.h"
-#include "aarch64-tdep.h"
-#include "arch-utils.h"
-#include "arch/aarch64-insn.h"
-#include "ax-gdb.h"
-#include "ax.h"
-#include "common/selftest.h"
-#include "common/vec.h"
-#include "dis-asm.h"
-#include "dwarf2-frame.h"
-#include "dwarf2.h"
-#include "elf-bfd.h"
-#include "elf/aarch64.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
 #include "frame.h"
+#include "inferior.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
-#include "gdbtypes.h"
-#include "infcall.h"
-#include "inferior.h"
-#include "language.h"
-#include "objfiles.h"
-#include "opcode/aarch64.h"
-#include "osabi.h"
-#include "prologue-value.h"
-#include "record-full.h"
-#include "record.h"
+#include "dis-asm.h"
 #include "regcache.h"
 #include "reggroups.h"
-#include "target-descriptions.h"
+#include "value.h"
+#include "arch-utils.h"
+#include "osabi.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
 #include "trad-frame.h"
+#include "objfiles.h"
+#include "dwarf2.h"
+#include "dwarf2-frame.h"
+#include "gdbtypes.h"
+#include "prologue-value.h"
+#include "target-descriptions.h"
 #include "user-regs.h"
-#include "value.h"
+#include "language.h"
+#include "infcall.h"
+#include "ax.h"
+#include "ax-gdb.h"
+#include "common/selftest.h"
+
+#include "aarch64-tdep.h"
+#include "aarch64-ravenscar-thread.h"
+
+#include "elf-bfd.h"
+#include "elf/aarch64.h"
+
+#include "common/vec.h"
+
+#include "record.h"
+#include "record-full.h"
+#include "arch/aarch64-insn.h"
+
+#include "opcode/aarch64.h"
+#include <algorithm>
 
 #define submask(x) ((1L << ((x) + 1)) - 1)
 #define bit(obj,st) (((obj) >> (st)) & 1)
index 10ae7cb75de219cac0f0d1f023bf0d90a3e8c925..51615dcd36132b9a1fdc71ebb46113d079f86920 100644 (file)
 
 
 #include "defs.h"
-
-/* Standard C includes.  */
 #include <ctype.h>
-#include <sys/stat.h>
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "ada-lang.h"
-#include "annotate.h"
-#include "arch-utils.h"
-#include "block.h"
-#include "breakpoint.h"
-#include "c-lang.h"
-#include "cli/cli-utils.h"
-#include "common/byte-vector.h"
-#include "common/function-view.h"
-#include "common/gdb_vecs.h"
-#include "common/vec.h"
-#include "completer.h"
 #include "demangle.h"
-#include "dictionary.h"
-#include "expression.h"
-#include "frame.h"
-#include "gdb_obstack.h"
 #include "gdb_regex.h"
+#include "frame.h"
+#include "symtab.h"
+#include "gdbtypes.h"
 #include "gdbcmd.h"
+#include "expression.h"
+#include "parser-defs.h"
+#include "language.h"
+#include "varobj.h"
+#include "c-lang.h"
+#include "inferior.h"
+#include "symfile.h"
+#include "objfiles.h"
+#include "breakpoint.h"
 #include "gdbcore.h"
-#include "gdbtypes.h"
 #include "hashtab.h"
+#include "gdb_obstack.h"
+#include "ada-lang.h"
+#include "completer.h"
+#include <sys/stat.h>
+#include "ui-out.h"
+#include "block.h"
 #include "infcall.h"
-#include "inferior.h"
-#include "language.h"
-#include "mi/mi-common.h"
-#include "namespace.h"
-#include "objfiles.h"
-#include "observable.h"
-#include "parser-defs.h"
-#include "psymtab.h"
+#include "dictionary.h"
+#include "annotate.h"
+#include "valprint.h"
 #include "source.h"
+#include "observable.h"
+#include "common/vec.h"
 #include "stack.h"
-#include "symfile.h"
-#include "symtab.h"
+#include "common/gdb_vecs.h"
 #include "typeprint.h"
-#include "ui-out.h"
-#include "valprint.h"
+#include "namespace.h"
+
+#include "psymtab.h"
 #include "value.h"
-#include "varobj.h"
+#include "mi/mi-common.h"
+#include "arch-utils.h"
+#include "cli/cli-utils.h"
+#include "common/function-view.h"
+#include "common/byte-vector.h"
+#include <algorithm>
 
 /* Define whether or not the C operator '/' truncates towards zero for
    differently signed operands (truncation direction is undefined in C).
index b143c67aa7c1d652b9c53c04c0cba83ff43767cf..ccabc63104080e553308be4e52bebb632998c08e 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "ada-lang.h"
+#include "observable.h"
 #include "gdbcmd.h"
+#include "target.h"
+#include "ada-lang.h"
 #include "gdbcore.h"
-#include "gdbthread.h"
 #include "inferior.h"
-#include "objfiles.h"
-#include "observable.h"
+#include "gdbthread.h"
 #include "progspace.h"
-#include "target.h"
+#include "objfiles.h"
 
 static int ada_build_task_list ();
 
index 4502b81a741f9db048865912d1219492ce3f2f71..efcd14bedc57952be228e6f0853c071f590935e6 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "ada-lang.h"
-#include "bfd.h"
-#include "c-lang.h"
-#include "cli/cli-style.h"
-#include "command.h"
-#include "demangle.h"
-#include "expression.h"
 #include "gdb_obstack.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbtypes.h"
-#include "language.h"
+#include "bfd.h"               /* Binary File Description */
 #include "symtab.h"
-#include "target-float.h"
+#include "gdbtypes.h"
+#include "expression.h"
+#include "value.h"
+#include "gdbcore.h"
 #include "target.h"
+#include "command.h"
+#include "gdbcmd.h"
+#include "language.h"
+#include "demangle.h"
+#include "c-lang.h"
+#include "cli/cli-style.h"
 #include "typeprint.h"
-#include "value.h"
+#include "target-float.h"
+#include "ada-lang.h"
+#include <ctype.h>
 
 static int print_selected_record_field_types (struct type *, struct type *,
                                              int, int,
index 3fa7d909817de69546cd0c664752747e816cb625..d4661e1f1d4c451220092ad9958a900b8b0a831a 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
 #include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "ada-lang.h"
+#include "symtab.h"
+#include "gdbtypes.h"
+#include "expression.h"
+#include "value.h"
+#include "demangle.h"
+#include "valprint.h"
+#include "language.h"
 #include "annotate.h"
+#include "ada-lang.h"
 #include "c-lang.h"
-#include "demangle.h"
-#include "expression.h"
-#include "gdbtypes.h"
 #include "infcall.h"
-#include "language.h"
 #include "objfiles.h"
-#include "symtab.h"
 #include "target-float.h"
-#include "valprint.h"
-#include "value.h"
 
 static int print_field_values (struct type *, const gdb_byte *,
                               int,
index 3f375c8f04ae66caccae0d0f92cc8062a7a61bb4..a4d553d378625a707041a597d9a13ec022218cee 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "ada-lang.h"
+#include "varobj.h"
 #include "language.h"
 #include "valprint.h"
-#include "varobj.h"
 
 /* Implementation principle used in this unit:
 
index d49076b5ae7c43d3c9cefed4f3e514df85da25e8..6c3ed6945fbe49a811d297ac1950ab27d46172cc 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "addrmap.h"
-#include "gdb_obstack.h"
 #include "splay-tree.h"
+#include "gdb_obstack.h"
+#include "addrmap.h"
 
 \f
 /* The "abstract class".  */
index aa3e0df77802561bd3379f0783e3793d1da1f75b..8b777d0b3b703166469dea02a9204d54beeda143 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "command.h"
-#include "common/agent.h"
 #include "gdbcmd.h"
 #include "target.h"
+#include "common/agent.h"
 
 /* Enum strings for "set|show agent".  */
 
index 7646a3da6ce8f878bf9586298c8178c2ca2d5d9e..ffa3352d03992338614c3883d8ac2f268e597ed8 100644 (file)
      */
 
 #include "defs.h"
+#include "gdbthread.h"
+#include "target.h"
+#include "inferior.h"
+#include "regcache.h"
+#include "gdbcmd.h"
+#include "ppc-tdep.h"
+#include "observable.h"
+#include "objfiles.h"
 
-/* Standard C includes.  */
 #include <procinfo.h>
-#include <sched.h>
-#include <sys/pthdebug.h>
+#include <sys/types.h>
 #include <sys/ptrace.h>
 #include <sys/reg.h>
-#include <sys/types.h>
-
-/* Local non-gdb includes.  */
-#include "gdbcmd.h"
-#include "gdbthread.h"
-#include "inferior.h"
-#include "objfiles.h"
-#include "observable.h"
-#include "ppc-tdep.h"
-#include "regcache.h"
-#include "target.h"
+#include <sched.h>
+#include <sys/pthdebug.h>
 
 #if !HAVE_DECL_GETTHRDS
 extern int getthrds (pid_t, struct thrdsinfo64 *, int, tid_t *, int);
index d51660458b92e9031dcdd93b7ff2b09d8dfb773d..b12d19f3434dfcd86ca888d75a3c2e35d638b119 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "inferior.h"
+#include "regcache.h"
 
-/* Standard C includes.  */
+#include "alpha-tdep.h"
+#include "alpha-bsd-tdep.h"
+#include "inf-ptrace.h"
+
+#include <sys/types.h>
+#include <sys/ptrace.h>
 #include <machine/reg.h>
+
 #ifdef HAVE_SYS_PROCFS_H
 #include <sys/procfs.h>
 #endif
-#include <sys/ptrace.h>
-#include <sys/types.h>
-
-/* Local non-gdb includes.  */
-#include "alpha-bsd-tdep.h"
-#include "alpha-tdep.h"
-#include "inf-ptrace.h"
-#include "inferior.h"
-#include "regcache.h"
 
 #ifndef HAVE_GREGSET_T
 typedef struct reg gregset_t;
index a032f95adfff6abec56d271cbe0493cdef046052..350c197b0e1caea8ea35c6b2708f7c541bf715c8 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "regcache.h"
 
-/* Local non-gdb includes.  */
-#include "alpha-bsd-tdep.h"
 #include "alpha-tdep.h"
-#include "regcache.h"
+#include "alpha-bsd-tdep.h"
 
 /* Conviently, GDB uses the same register numbering as the
    ptrace register structure used by BSD on Alpha.  */
index 91f5b4c6fb0d0145e05b570d5b25a7b85a650244..18806971a7692af6cddddd0fb0296faee32065e6 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "target.h"
+#include "regcache.h"
+#include "linux-nat-trad.h"
 
-/* Standard C includes.  */
+#include "alpha-tdep.h"
+
+#include "nat/gdb_ptrace.h"
 #include <alpha/ptrace.h>
-#include <sys/procfs.h>
 
-/* Local non-gdb includes.  */
-#include "alpha-tdep.h"
+#include <sys/procfs.h>
 #include "gregset.h"
-#include "linux-nat-trad.h"
-#include "nat/gdb_ptrace.h"
-#include "regcache.h"
-#include "target.h"
 
 /* The address of UNIQUE for ptrace.  */
 #define ALPHA_UNIQUE_PTRACE_ADDR 65
index fbfd6b3f8d5755b78f7722bf7d0773ba8d411005..bfa611e646fedbf81fd6d91a6ba38334d1629f30 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "alpha-tdep.h"
 #include "frame.h"
-#include "linux-tdep.h"
 #include "osabi.h"
-#include "regcache.h"
-#include "regset.h"
 #include "solib-svr4.h"
 #include "symtab.h"
+#include "regset.h"
+#include "regcache.h"
+#include "linux-tdep.h"
+#include "alpha-tdep.h"
 
 /* This enum represents the signals' numbers on the Alpha
    architecture.  It just contains the signal definitions which are
index 590aa8e577264bdfda9e34ed902fa370f98137fc..caab08b1220f8cda17f5650be5e68e5630b26770 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "alpha-tdep.h"
-#include "block.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
 #include "frame.h"
-#include "gdbcore.h"
-#include "mdebugread.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
 #include "symtab.h"
+#include "gdbcore.h"
+#include "block.h"
 #include "trad-frame.h"
 
+#include "alpha-tdep.h"
+#include "mdebugread.h"
+
 /* FIXME: Some of this code should perhaps be merged with mips.  */
 
 /* *INDENT-OFF* */
index 1922fec9c13400664dd86dabd0edee6009a9a382..534b64687e35f0fa2053960d506af7767e7f208b 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "alpha-bsd-tdep.h"
-#include "alpha-tdep.h"
 #include "frame.h"
 #include "gdbcore.h"
-#include "nbsd-tdep.h"
 #include "osabi.h"
 #include "regcache.h"
 #include "regset.h"
+#include "value.h"
+
+#include "alpha-tdep.h"
+#include "alpha-bsd-tdep.h"
+#include "nbsd-tdep.h"
 #include "solib-svr4.h"
 #include "target.h"
-#include "value.h"
 
 /* Core file support.  */
 
index 0e6450f7e8f594f00596e5e8bf7efb945c74359c..d7e292603affb99476450e565e7ba5a7d4758826 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "alpha-bsd-tdep.h"
-#include "alpha-tdep.h"
 #include "frame.h"
 #include "gdbcore.h"
-#include "obsd-tdep.h"
 #include "osabi.h"
+
+#include "obsd-tdep.h"
+#include "alpha-tdep.h"
+#include "alpha-bsd-tdep.h"
 #include "solib-svr4.h"
 
 /* Signal trampolines.  */
index b47b0f0928d49e133fb0b8eeb7f2775b874ce953..af9b9b974072435df2b2476edfe8ef845e623fb1 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "alpha-tdep.h"
-#include "arch-utils.h"
-#include "block.h"
-#include "dis-asm.h"
-#include "dwarf2-frame.h"
-#include "elf-bfd.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
 #include "frame.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "dwarf2-frame.h"
+#include "inferior.h"
+#include "symtab.h"
+#include "value.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
-#include "infcall.h"
-#include "inferior.h"
-#include "linespec.h"
+#include "dis-asm.h"
+#include "symfile.h"
 #include "objfiles.h"
-#include "osabi.h"
+#include "linespec.h"
 #include "regcache.h"
 #include "reggroups.h"
-#include "symfile.h"
-#include "symtab.h"
+#include "arch-utils.h"
+#include "osabi.h"
+#include "block.h"
+#include "infcall.h"
 #include "trad-frame.h"
-#include "value.h"
+
+#include "elf-bfd.h"
+
+#include "alpha-tdep.h"
+#include <algorithm>
 
 /* Instruction decoding.  The notations for registers, immediates and
    opcodes are the same as the one used in Compaq's Alpha architecture
index 07ddb86c15560d7340d309d4e51ffe1fe554e791..35763a5b955f376cccef2ad41ad384263b897b0d 100644 (file)
@@ -18,8 +18,6 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "inferior.h"
 #include "regcache.h"
 #include "target.h"
index 5d21ba755d817092a35904e11c1a3b3d3deff83e..46867f40a38b188bc0424fda5a0c145305f018f3 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "amd64-darwin-tdep.h"
-#include "amd64-tdep.h"
-#include "common/x86-xstate.h"
-#include "dwarf2-frame.h"
 #include "frame.h"
-#include "gdbcore.h"
-#include "i386-darwin-tdep.h"
-#include "i387-tdep.h"
 #include "inferior.h"
+#include "gdbcore.h"
+#include "target.h"
+#include "symtab.h"
+#include "regcache.h"
 #include "objfiles.h"
+
+#include "i387-tdep.h"
+#include "common/x86-xstate.h"
+#include "amd64-tdep.h"
 #include "osabi.h"
-#include "regcache.h"
-#include "solib-darwin.h"
-#include "solib.h"
-#include "symtab.h"
-#include "target.h"
 #include "ui-out.h"
+#include "amd64-darwin-tdep.h"
+#include "i386-darwin-tdep.h"
+#include "solib.h"
+#include "solib-darwin.h"
+#include "dwarf2-frame.h"
 
 /* Offsets into the struct x86_thread_state64 where we'll find the saved regs.
    From <mach/i386/thread_status.h> and amd64-tdep.h.  */
index 4dbb20104c5ffdb3f4492ecccdb9d8bc1c9fb1e2..8ca838e3c83e0ae6dbf48df49bc55ce18e4cb733 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
+#include "osabi.h"
 #include "amd64-tdep.h"
 #include "common/x86-xstate.h"
 #include "dicos-tdep.h"
-#include "osabi.h"
 
 static void
 amd64_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
index 4e5291082a2d20f189069ef6e7aa0d338ef8a91e..cc676d3214f49c9c20af054e50a177bf2df4ca0e 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "inferior.h"
+#include "regcache.h"
+#include "target.h"
 
-/* Standard C includes.  */
-#include <machine/reg.h>
 #include <signal.h>
+#include <sys/types.h>
 #include <sys/ptrace.h>
 #include <sys/sysctl.h>
-#include <sys/types.h>
 #include <sys/user.h>
+#include <machine/reg.h>
 
-/* Local non-gdb includes.  */
-#include "amd64-bsd-nat.h"
-#include "amd64-nat.h"
-#include "amd64-tdep.h"
-#include "common/x86-xstate.h"
 #include "fbsd-nat.h"
-#include "inferior.h"
-#include "regcache.h"
-#include "target.h"
+#include "amd64-tdep.h"
+#include "amd64-nat.h"
+#include "amd64-bsd-nat.h"
 #include "x86-nat.h"
-
+#include "common/x86-xstate.h"
 \f
 
 class amd64_fbsd_nat_target final
index 9c5ff301ef33a25fdde9465b70df4f9f3cff5af9..7e2e9edf21de3b8fa4e43c21046db8171c9da719 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "amd64-tdep.h"
 #include "arch-utils.h"
-#include "common/x86-xstate.h"
-#include "fbsd-tdep.h"
 #include "frame.h"
 #include "gdbcore.h"
-#include "i386-fbsd-tdep.h"
-#include "osabi.h"
 #include "regcache.h"
+#include "osabi.h"
 #include "regset.h"
+#include "i386-fbsd-tdep.h"
+#include "common/x86-xstate.h"
+
+#include "amd64-tdep.h"
+#include "fbsd-tdep.h"
 #include "solib-svr4.h"
 
 /* Support for signal handlers.  */
index 853c73c15302d6f3985d063a29f594c6258bfc9b..a0bb105f5aa88a341dfbb1cd900d9b65a7364400 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
+#include "inferior.h"
+#include "regcache.h"
+#include "elf/common.h"
+#include <sys/uio.h>
+#include "nat/gdb_ptrace.h"
 #include <asm/prctl.h>
 #include <sys/reg.h>
-#include <sys/uio.h>
+#include "gregset.h"
+#include "gdb_proc_service.h"
 
-/* Local non-gdb includes.  */
-#include "amd64-linux-tdep.h"
 #include "amd64-nat.h"
 #include "amd64-tdep.h"
-#include "common/x86-xstate.h"
-#include "elf/common.h"
-#include "gdb_proc_service.h"
-#include "gregset.h"
+#include "amd64-linux-tdep.h"
 #include "i386-linux-tdep.h"
-#include "inferior.h"
-#include "nat/amd64-linux-siginfo.h"
-#include "nat/gdb_ptrace.h"
-#include "nat/linux-ptrace.h"
-#include "regcache.h"
+#include "common/x86-xstate.h"
+
 #include "x86-linux-nat.h"
+#include "nat/linux-ptrace.h"
+#include "nat/amd64-linux-siginfo.h"
 
 /* This definition comes from prctl.h.  Kernels older than 2.5.64
    do not have it.  */
index 8d27225b4ad356f72a51af365f714bf8734ba947..5475cf629f353b8445e18c9cb8d929046621fc6e 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "amd64-linux-tdep.h"
-#include "amd64-tdep.h"
 #include "arch-utils.h"
-#include "arch/amd64.h"
-#include "common/x86-xstate.h"
 #include "frame.h"
 #include "gdbcore.h"
-#include "gdbtypes.h"
-#include "glibc-tdep.h"
-#include "i386-linux-tdep.h"
-#include "linux-tdep.h"
-#include "osabi.h"
-#include "parser-defs.h"
 #include "regcache.h"
+#include "osabi.h"
+#include "symtab.h"
+#include "gdbtypes.h"
 #include "reggroups.h"
 #include "regset.h"
-#include "solib-svr4.h"
-#include "symtab.h"
-#include "target-descriptions.h"
+#include "parser-defs.h"
 #include "user-regs.h"
+#include "amd64-linux-tdep.h"
+#include "i386-linux-tdep.h"
+#include "linux-tdep.h"
+#include "common/x86-xstate.h"
+
+#include "amd64-tdep.h"
+#include "solib-svr4.h"
 #include "xml-syscall.h"
+#include "glibc-tdep.h"
+#include "arch/amd64.h"
+#include "target-descriptions.h"
 
 /* The syscall's XML filename for i386.  */
 #define XML_SYSCALL_FILENAME_AMD64 "syscalls/amd64-linux.xml"
index 1c02d35f2d789b431cfd859c202bc2d44dab4750..3dcac73d88a91e64c287a7b3394dc482727c0e09 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "amd64-nat.h"
-#include "amd64-tdep.h"
 #include "gdbarch.h"
-#include "i386-tdep.h"
 #include "regcache.h"
 
+#include "i386-tdep.h"
+#include "amd64-tdep.h"
+#include "amd64-nat.h"
+
 /* The following bits of code help with implementing debugging 32-bit
    code natively on AMD64.  The idea is to define two mappings between
    the register number as used by GDB and the register set used by the
index 3a610cbbf718ff4767591d580b029a604970225a..24e3aae7ecb79ccf737dd46a8e19bf0d538e4ff6 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "target.h"
 
-/* Local non-gdb includes.  */
+#include "nbsd-nat.h"
+#include "amd64-tdep.h"
 #include "amd64-bsd-nat.h"
 #include "amd64-nat.h"
-#include "amd64-tdep.h"
-#include "nbsd-nat.h"
-#include "target.h"
 
 /* Mapping between the general-purpose registers in NetBSD/amd64
    `struct reg' format and GDB's register cache layout for
index 99b172205458d2c6d120364fdda8c39a52cc51c8..06905d65dfda9890f743e19a15ee7799c4417913 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "amd64-tdep.h"
 #include "arch-utils.h"
-#include "common/x86-xstate.h"
 #include "frame.h"
 #include "gdbcore.h"
-#include "nbsd-tdep.h"
 #include "osabi.h"
-#include "solib-svr4.h"
 #include "symtab.h"
 
+#include "amd64-tdep.h"
+#include "common/x86-xstate.h"
+#include "nbsd-tdep.h"
+#include "solib-svr4.h"
+
 /* Support for signal handlers.  */
 
 /* Return whether THIS_FRAME corresponds to a NetBSD sigtramp
index cf6694e99c2b768b2a77389fc75ed2c0994021b2..4963c42d06cfb90da877fb833d620f716894ee2a 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "gdbcore.h"
+#include "regcache.h"
+#include "target.h"
 
-/* Local non-gdb includes.  */
+#include "amd64-tdep.h"
 #include "amd64-bsd-nat.h"
 #include "amd64-nat.h"
-#include "amd64-tdep.h"
-#include "gdbcore.h"
 #include "obsd-nat.h"
-#include "regcache.h"
-#include "target.h"
 
 /* Mapping between the general-purpose registers in OpenBSD/amd64
    `struct reg' format and GDB's register cache layout for
index 71a263f14555e92a2bb36f4ea783f64b832ee653..cd1a1c31b886b51feab3db2c8d847c5638fa9c4f 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "amd64-tdep.h"
-#include "bsd-uthread.h"
-#include "common/x86-xstate.h"
-#include "frame-unwind.h"
 #include "frame.h"
+#include "frame-unwind.h"
 #include "gdbcore.h"
-#include "i387-tdep.h"
+#include "symtab.h"
 #include "objfiles.h"
-#include "obsd-tdep.h"
 #include "osabi.h"
 #include "regcache.h"
 #include "regset.h"
-#include "solib-svr4.h"
-#include "symtab.h"
 #include "target.h"
 #include "trad-frame.h"
 
+#include "obsd-tdep.h"
+#include "amd64-tdep.h"
+#include "i387-tdep.h"
+#include "common/x86-xstate.h"
+#include "solib-svr4.h"
+#include "bsd-uthread.h"
+
 /* Support for signal handlers.  */
 
 /* Default page size.  */
index 7d691e869dd815c5c079f2ecebe75104d720aea2..56d2e22582278e87c7e9ea91c2b12a4dd8347ec4 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "amd64-tdep.h"
-#include "common/x86-xstate.h"
 #include "frame.h"
 #include "gdbcore.h"
-#include "osabi.h"
 #include "regcache.h"
+#include "osabi.h"
+#include "symtab.h"
+
 #include "sol2-tdep.h"
+#include "amd64-tdep.h"
+#include "common/x86-xstate.h"
 #include "solib-svr4.h"
-#include "symtab.h"
 
 /* Mapping between the general-purpose registers in gregset_t format
    and GDB's register cache layout.  */
index 16c3e61306b35f671f09a00e0db66be7e381c84a..d5892954d74e24bfdf558f7c74d8698e92bc52f4 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "amd64-tdep.h"
+#include "opcode/i386.h"
+#include "dis-asm.h"
 #include "arch-utils.h"
-#include "arch/amd64.h"
-#include "ax-gdb.h"
-#include "ax.h"
 #include "block.h"
-#include "common/byte-vector.h"
-#include "common/x86-xstate.h"
-#include "dis-asm.h"
-#include "disasm.h"
 #include "dummy-frame.h"
+#include "frame.h"
 #include "frame-base.h"
 #include "frame-unwind.h"
-#include "frame.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "i387-tdep.h"
 #include "inferior.h"
 #include "infrun.h"
+#include "gdbcmd.h"
+#include "gdbcore.h"
 #include "objfiles.h"
-#include "opcode/i386.h"
-#include "osabi.h"
-#include "producer.h"
 #include "regcache.h"
 #include "regset.h"
 #include "symfile.h"
+#include "disasm.h"
+#include "amd64-tdep.h"
+#include "i387-tdep.h"
+#include "common/x86-xstate.h"
+#include <algorithm>
 #include "target-descriptions.h"
+#include "arch/amd64.h"
+#include "producer.h"
+#include "ax.h"
+#include "ax-gdb.h"
+#include "common/byte-vector.h"
+#include "osabi.h"
 #include "x86-tdep.h"
 
 /* Note that the AMD64 architecture was previously known as x86-64.
index dcefa9fead8e19fe3e234104c4a956344b2201f6..378262a56e35d833722d723390d37b44bcf6243b 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <windows.h>
-
-/* Local non-gdb includes.  */
-#include "amd64-tdep.h"
 #include "windows-nat.h"
 #include "x86-nat.h"
+#include "amd64-tdep.h"
+
+#include <windows.h>
 
 #define context_offset(x) (offsetof (CONTEXT, x))
 static const int mappings[] =
index 9dfa8e4e9d8cf2ac1e04383fe53bb61f66af930d..922da9e48bcbcba08eb4fbd45c013117606bcd24 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
+#include "osabi.h"
 #include "amd64-tdep.h"
-#include "coff/i386.h"
-#include "coff/internal.h"
-#include "coff/pe.h"
 #include "common/x86-xstate.h"
-#include "frame-unwind.h"
-#include "frame.h"
-#include "gdbcore.h"
 #include "gdbtypes.h"
-#include "libcoff.h"
-#include "objfiles.h"
-#include "osabi.h"
+#include "gdbcore.h"
 #include "regcache.h"
-#include "value.h"
 #include "windows-tdep.h"
+#include "frame.h"
+#include "objfiles.h"
+#include "frame-unwind.h"
+#include "coff/internal.h"
+#include "coff/i386.h"
+#include "coff/pe.h"
+#include "libcoff.h"
+#include "value.h"
+#include <algorithm>
 
 /* The registers used to pass integer arguments during a function call.  */
 static int amd64_windows_dummy_call_integer_regs[] =
index 20df956582d839cec014692759d84e09f6cc3dcf..97cb4c8855d66d2661840f03732c57c91d20cac3 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "annotate.h"
-#include "breakpoint.h"
+#include "value.h"
+#include "target.h"
 #include "gdbtypes.h"
+#include "breakpoint.h"
+#include "observable.h"
 #include "inferior.h"
 #include "infrun.h"
-#include "observable.h"
-#include "target.h"
 #include "top.h"
-#include "value.h"
-
 \f
 
 /* Prototypes for local functions.  */
index b55dffeb072fa5b990e5d61c085ca72d929c603b..4a9e1b58f28b122b4e55f5f9941c2b1fb76d5f4e 100644 (file)
@@ -19,8 +19,8 @@
 #ifndef ANNOTATE_H
 #define ANNOTATE_H
 
-#include "gdbtypes.h"
 #include "symtab.h"
+#include "gdbtypes.h"
 
 extern void annotate_breakpoint (int);
 extern void annotate_catchpoint (int);
index c91ec3add9d8194977c282a2f74dc2194e01b23f..5fa4094def857a5c25f98d3a252778da10bd5f53 100644 (file)
@@ -20,9 +20,8 @@
 
 #include "defs.h"
 
-/* Local non-gdb includes.  */
-#include "arc-tdep.h"
 #include "gdbarch.h"
+#include "arc-tdep.h"
 #include "osabi.h"
 
 /* Implement the 'init_osabi' method of struct gdb_osabi_handler.  */
index 6b899eedd222bb4c9a0550b2c445fa924e8748b1..009af1190a543d3fcc0fe173d3cbc3747e94658c 100644 (file)
 
 /* GDB header files.  */
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "arch-utils.h"
 #include "disasm.h"
 #include "dwarf2-frame.h"
 #include "frame-base.h"
 #include "frame-unwind.h"
-#include "gdbcmd.h"
 #include "gdbcore.h"
+#include "gdbcmd.h"
 #include "objfiles.h"
 #include "prologue-value.h"
 #include "trad-frame.h"
index ab113bcc0e7d028f1eeb8b5141d708d19447185b..52a08daa3b9aa266046d1ae7335c71829664c04d 100644 (file)
 
 #include "defs.h"
 
-/* Local non-gdb includes.  */
 #include "arch-utils.h"
-#include "common/version.h"
-#include "dis-asm.h"
-#include "floatformat.h"
 #include "gdbcmd.h"
-#include "gdbcore.h"
-#include "inferior.h"
+#include "inferior.h"          /* enum CALL_DUMMY_LOCATION et al.  */
 #include "infrun.h"
-#include "language.h"
-#include "objfiles.h"
-#include "osabi.h"
 #include "regcache.h"
 #include "sim-regno.h"
-#include "symtab.h"
+#include "gdbcore.h"
+#include "osabi.h"
 #include "target-descriptions.h"
+#include "objfiles.h"
+#include "language.h"
+#include "symtab.h"
+
+#include "common/version.h"
+
+#include "floatformat.h"
+
+#include "dis-asm.h"
 
 int
 default_displaced_step_hw_singlestep (struct gdbarch *gdbarch,
index f6900426f1ba9d5e7bb0d39e6d3760f903c70ad1..13894c4b14be761d9f29fbed84eb3f9a0a92ba4f 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "arm-tdep.h"
 #include "osabi.h"
 #include "regcache.h"
 #include "regset.h"
 
+#include "arm-tdep.h"
+
 /* Core file support.  */
 
 /* Sizeof `struct reg' in <machine/reg.h>.  */
index f0b07804bb4ee54309ce37601ea3a17cc3e50abf..f85ecc17c05fb05d3650f0be5a649c6f0e89b78e 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "target.h"
 
-/* Standard C includes.  */
-#include <machine/reg.h>
-#include <sys/ptrace.h>
 #include <sys/types.h>
+#include <sys/ptrace.h>
+#include <machine/reg.h>
 
-/* Local non-gdb includes.  */
-#include "arm-fbsd-tdep.h"
-#include "arm-tdep.h"
 #include "fbsd-nat.h"
+#include "arm-tdep.h"
+#include "arm-fbsd-tdep.h"
 #include "inf-ptrace.h"
-#include "target.h"
 
 struct arm_fbsd_nat_target : public fbsd_nat_target
 {
index c79873c33e18b94e66fd79c833b8b79ee66ff472..dea3abbdd3694b8290c06cf88eceb1d695070392 100644 (file)
 
 #include "defs.h"
 
-/* Local non-gdb includes.  */
-#include "arm-fbsd-tdep.h"
+#include "elf/common.h"
 #include "arm-tdep.h"
+#include "arm-fbsd-tdep.h"
 #include "auxv.h"
-#include "elf/common.h"
 #include "fbsd-tdep.h"
 #include "gdbcore.h"
 #include "osabi.h"
index 2c2f6952133e0c861b590a229ee687e786677384..52668da9fcf058efa4ca1c4bb05e9d836a9805fc 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "inferior.h"
+#include "gdbcore.h"
+#include "regcache.h"
+#include "target.h"
+#include "linux-nat.h"
+#include "target-descriptions.h"
+#include "auxv.h"
+#include "observable.h"
+#include "gdbthread.h"
+
+#include "arm-tdep.h"
+#include "arm-linux-tdep.h"
+#include "aarch32-linux-nat.h"
 
-/* Standard C includes.  */
 #include <elf/common.h>
-#include <sys/procfs.h>
 #include <sys/user.h>
+#include "nat/gdb_ptrace.h"
 #include <sys/utsname.h>
+#include <sys/procfs.h>
 
-/* Local non-gdb includes.  */
-#include "aarch32-linux-nat.h"
-#include "arm-linux-tdep.h"
-#include "arm-tdep.h"
-#include "auxv.h"
-#include "gdbcore.h"
-#include "gdbthread.h"
-#include "inferior.h"
-#include "linux-nat.h"
-#include "linux-tdep.h"
-#include "nat/gdb_ptrace.h"
 #include "nat/linux-ptrace.h"
-#include "observable.h"
-#include "regcache.h"
-#include "target-descriptions.h"
-#include "target.h"
+#include "linux-tdep.h"
 
 /* Prototypes for supply_gregset etc.  */
 #include "gregset.h"
index 90fadbd52846362e9c77c5ab5d9bdf7579bb22a9..a5ad06434c230ed2e0af42ec5aa3694d28361b7d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "target.h"
+#include "value.h"
+#include "gdbtypes.h"
+#include "gdbcore.h"
+#include "frame.h"
+#include "regcache.h"
+#include "solib-svr4.h"
+#include "osabi.h"
+#include "regset.h"
+#include "trad-frame.h"
+#include "tramp-frame.h"
+#include "breakpoint.h"
+#include "auxv.h"
+#include "xml-syscall.h"
 
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
+#include "arch/arm.h"
 #include "arch/arm-get-next-pcs.h"
 #include "arch/arm-linux.h"
-#include "arch/arm.h"
-#include "arm-linux-tdep.h"
 #include "arm-tdep.h"
-#include "auxv.h"
-#include "breakpoint.h"
-#include "cli/cli-utils.h"
-#include "elf/common.h"
-#include "frame.h"
-#include "gdbcore.h"
-#include "gdbthread.h"
-#include "gdbtypes.h"
+#include "arm-linux-tdep.h"
+#include "linux-tdep.h"
 #include "glibc-tdep.h"
+#include "arch-utils.h"
 #include "inferior.h"
 #include "infrun.h"
-#include "linux-record.h"
-#include "linux-tdep.h"
-#include "osabi.h"
-#include "parser-defs.h"
+#include "gdbthread.h"
+#include "symfile.h"
+
 #include "record-full.h"
-#include "regcache.h"
-#include "regset.h"
-#include "solib-svr4.h"
+#include "linux-record.h"
+
+#include "cli/cli-utils.h"
 #include "stap-probe.h"
-#include "symfile.h"
-#include "target.h"
-#include "trad-frame.h"
-#include "tramp-frame.h"
+#include "parser-defs.h"
 #include "user-regs.h"
-#include "value.h"
-#include "xml-syscall.h"
-
+#include <ctype.h>
+#include "elf/common.h"
 extern int arm_apcs_32;
 
 /* Under ARM GNU/Linux the traditional way of performing a breakpoint
index 09f4f0f1c471e020935dcb0959ae0c1bff283c96..2a83553a3fe23e07e07fe64cd24e9fa206a68307 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <machine/frame.h>
-#include <machine/reg.h>
-#include <sys/ptrace.h>
-#include <sys/types.h>
-
-/* Local non-gdb includes.  */
-#include "arm-tdep.h"
 #include "gdbcore.h"
-#include "inf-ptrace.h"
 #include "inferior.h"
 #include "regcache.h"
 #include "target.h"
+#include <sys/types.h>
+#include <sys/ptrace.h>
+#include <machine/reg.h>
+#include <machine/frame.h>
+
+#include "arm-tdep.h"
+#include "inf-ptrace.h"
 
 class arm_netbsd_nat_target final : public inf_ptrace_target
 {
index 2a13badbcdd2cd1c1bc94fbef26002696da704da..6b7823009206f0686b640479c6c8e896046b9ab2 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "osabi.h"
 
-/* Local non-gdb includes.  */
 #include "arch/arm.h"
 #include "arm-tdep.h"
-#include "osabi.h"
 #include "solib-svr4.h"
 
 /* Description of the longjmp buffer.  */
index 44d9d993cb67f10921f5f4d641f5513cfa04c929..a6055ab171df6a06fac96875ffbd4e1da27f0dde 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "arm-tdep.h"
-#include "obsd-tdep.h"
 #include "osabi.h"
-#include "solib-svr4.h"
 #include "trad-frame.h"
 #include "tramp-frame.h"
 
+#include "obsd-tdep.h"
+#include "arm-tdep.h"
+#include "solib-svr4.h"
+
 /* Signal trampolines.  */
 
 static void
index 250346f502bc1afef1366dfd6c8d170d892d02a8..21add740a401b8f62d926a9d90c9c3c71e8c6c62 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "arm-tdep.h"
 #include "objfiles.h"
+#include "arm-tdep.h"
 #include "osabi.h"
 
 /* The gdbarch_register_osabi handler for ARM PikeOS; it performs
index e078655506da55a84cd823343972231b1f66360f..71521de7a9184f57f5f97784755003efe88e499e 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "elf-bfd.h"
 #include "frame.h"
 #include "objfiles.h"
 #include "osabi.h"
-#include "solib-target.h"
 #include "solib.h"
+#include "solib-target.h"
 #include "target.h"
+#include "elf-bfd.h"
 
 /* If PC is in a DLL import stub, return the address of the `real'
    function belonging to the stub.  */
index 07280cfb1b2b54e4709deadf222d57cbeac81efd..599f785b3494929cd53343f60fcf3f80e5762dbf 100644 (file)
 
 #include "defs.h"
 
-/* Standard C includes.  */
-#include <ctype.h>
+#include <ctype.h>             /* XXX for isupper ().  */
 
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
+#include "frame.h"
+#include "inferior.h"
+#include "infrun.h"
+#include "gdbcmd.h"
+#include "gdbcore.h"
+#include "dis-asm.h"           /* For register styles.  */
+#include "disasm.h"
+#include "regcache.h"
+#include "reggroups.h"
+#include "target-float.h"
+#include "value.h"
 #include "arch-utils.h"
-#include "arch/arm-get-next-pcs.h"
+#include "osabi.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "trad-frame.h"
+#include "objfiles.h"
+#include "dwarf2-frame.h"
+#include "gdbtypes.h"
+#include "prologue-value.h"
+#include "remote.h"
+#include "target-descriptions.h"
+#include "user-regs.h"
+#include "observable.h"
+
 #include "arch/arm.h"
+#include "arch/arm-get-next-pcs.h"
 #include "arm-tdep.h"
-#include "coff/internal.h"
-#include "common/vec.h"
-#include "dis-asm.h"
-#include "disasm.h"
-#include "dwarf2-frame.h"
+#include "gdb/sim-arm.h"
+
 #include "elf-bfd.h"
+#include "coff/internal.h"
 #include "elf/arm.h"
-#include "features/arm/arm-with-iwmmxt.c"
+
+#include "common/vec.h"
+
+#include "record.h"
+#include "record-full.h"
+#include <algorithm>
+
+#include "features/arm/arm-with-m.c"
 #include "features/arm/arm-with-m-fpa-layout.c"
 #include "features/arm/arm-with-m-vfp-d16.c"
-#include "features/arm/arm-with-m.c"
-#include "features/arm/arm-with-neon.c"
+#include "features/arm/arm-with-iwmmxt.c"
 #include "features/arm/arm-with-vfpv2.c"
 #include "features/arm/arm-with-vfpv3.c"
-#include "frame-base.h"
-#include "frame-unwind.h"
-#include "frame.h"
-#include "gdb/sim-arm.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbtypes.h"
-#include "inferior.h"
-#include "infrun.h"
-#include "objfiles.h"
-#include "observable.h"
-#include "osabi.h"
-#include "prologue-value.h"
-#include "record-full.h"
-#include "record.h"
-#include "regcache.h"
-#include "reggroups.h"
-#include "remote.h"
-#include "target-descriptions.h"
-#include "target-float.h"
-#include "trad-frame.h"
-#include "user-regs.h"
-#include "value.h"
+#include "features/arm/arm-with-neon.c"
 
 #if GDB_SELF_TEST
 #include "common/selftest.h"
index 0ca6c813ae28f8c11be32833690aa015024834c6..6eae60e8a7fda8ea4438914967e8e03184b0dd72 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "osabi.h"
+#include "gdbcore.h"
+#include "target.h"
+#include "frame.h"
 
-/* Local non-gdb includes.  */
 #include "arch/arm.h"
 #include "arm-tdep.h"
-#include "frame.h"
-#include "gdbcore.h"
-#include "osabi.h"
-#include "target.h"
 #include "windows-tdep.h"
 
 static const gdb_byte arm_wince_le_breakpoint[] = { 0x10, 0x00, 0x00, 0xe6 };
index fd40cbb2de294c7d6d06ed44ac1f7ea0d826b2c7..ae7a189dc04b5820000d58f6913ef3ad4a848b73 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
 #include <ctype.h>
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
 #include "auto-load.h"
+#include "progspace.h"
+#include "gdb_regex.h"
+#include "ui-out.h"
+#include "filenames.h"
+#include "command.h"
+#include "observable.h"
+#include "objfiles.h"
+#include "cli/cli-script.h"
+#include "gdbcmd.h"
 #include "cli/cli-cmds.h"
 #include "cli/cli-decode.h"
-#include "cli/cli-script.h"
 #include "cli/cli-setshow.h"
-#include "command.h"
-#include "common/filestuff.h"
-#include "common/pathstuff.h"
+#include "readline/tilde.h"
 #include "completer.h"
-#include "extension.h"
-#include "filenames.h"
 #include "fnmatch.h"
-#include "gdb/section-scripts.h"
-#include "gdb_regex.h"
-#include "gdbcmd.h"
-#include "objfiles.h"
-#include "observable.h"
-#include "progspace.h"
-#include "readline/tilde.h"
 #include "top.h"
-#include "ui-out.h"
+#include "common/filestuff.h"
+#include "extension.h"
+#include "gdb/section-scripts.h"
+#include <algorithm>
+#include "common/pathstuff.h"
 
 /* The section to look in for auto-loaded scripts (in file formats that
    support sections).
index e654abd3b3fff7285ee3e834c7ab6f07dcec3b77..13caa936651b7ee0ee889fc4ce5b714ab5933eaa 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <fcntl.h>
-#include <unistd.h>
-
-/* Local non-gdb includes.  */
-#include "auxv.h"
-#include "command.h"
-#include "common/filestuff.h"
-#include "elf/common.h"
-#include "gdbcore.h"
+#include "target.h"
 #include "gdbtypes.h"
+#include "command.h"
 #include "inferior.h"
-#include "objfiles.h"
-#include "observable.h"
-#include "target.h"
 #include "valprint.h"
+#include "gdbcore.h"
+#include "observable.h"
+#include "common/filestuff.h"
+#include "objfiles.h"
+
+#include "auxv.h"
+#include "elf/common.h"
+
+#include <unistd.h>
+#include <fcntl.h>
 
 
 /* Implement the to_xfer_partial target_ops method.  This function
index 64be41ad35fda345d22034d9d8aae8b67dc16421..6d11ee1618cca2cfee10e1de2573b85d3a5214fc 100644 (file)
    by Denis Chertykov, denisc@overta.ru */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "dis-asm.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
 #include "frame.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "trad-frame.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
 #include "gdbtypes.h"
 #include "inferior.h"
-#include "objfiles.h"
-#include "regcache.h"
 #include "symfile.h"
-#include "trad-frame.h"
+#include "arch-utils.h"
+#include "regcache.h"
+#include "dis-asm.h"
+#include "objfiles.h"
+#include <algorithm>
 
 /* AVR Background:
 
index 0783ab1fb9f525365467760096130b3e8934ed6a..778e89515b6da3dd2eb59324491831b19485cc8b 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "ax-gdb.h"
+#include "symtab.h"
+#include "symfile.h"
+#include "gdbtypes.h"
+#include "language.h"
+#include "value.h"
+#include "expression.h"
+#include "command.h"
+#include "gdbcmd.h"
+#include "frame.h"
+#include "target.h"
 #include "ax.h"
+#include "ax-gdb.h"
 #include "block.h"
+#include "regcache.h"
+#include "user-regs.h"
+#include "dictionary.h"
 #include "breakpoint.h"
-#include "c-lang.h"
-#include "cli/cli-utils.h"
-#include "command.h"
-#include "common/format.h"
+#include "tracepoint.h"
 #include "cp-support.h"
-#include "dictionary.h"
-#include "expression.h"
-#include "frame.h"
-#include "gdbcmd.h"
-#include "gdbtypes.h"
-#include "language.h"
+#include "arch-utils.h"
+#include "cli/cli-utils.h"
 #include "linespec.h"
 #include "location.h"
 #include "objfiles.h"
-#include "regcache.h"
-#include "symfile.h"
-#include "symtab.h"
-#include "target.h"
-#include "tracepoint.h"
 #include "typeprint.h"
-#include "user-regs.h"
 #include "valprint.h"
-#include "value.h"
+#include "c-lang.h"
+
+#include "common/format.h"
 
 /* To make sense of this file, you should read doc/agentexpr.texi.
    Then look at the types and enums in ax-gdb.h.  For the code itself,
index 49ea26ec46683e01c97945bd19ad7cb9c453ce05..4420b654d88358d048adf2a6587077aad29b0dba 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef AX_GDB_H
 #define AX_GDB_H
 
-#include "ax.h"
+#include "ax.h"  /* For agent_expr_up.  */
 
 struct expression;
 union exp_element;
index c8499324f462d387b5c4dad6db0b796661df80fb..f956dfc2f530948d06811ccb5d9784f7bde0c0f6 100644 (file)
    outside of GDB (test suites, the stub, etc.)  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "ax.h"
-#include "user-regs.h"
+
 #include "value.h"
+#include "user-regs.h"
 
 static void grow_expr (struct agent_expr *x, int n);
 
index 37ca7c455a81ac9127a57ebb2ccc624e2f1df16e..14a7847496226d5b9e4165226d1bd46dd373757c 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "bcache.h"
 #include "gdb_obstack.h"
+#include "bcache.h"
 
 /* The type used to hold a single bcache string.  The user data is
    stored in d.data.  Since it can be any type, it needs to have the
index 15a9e6039fb83f8b5cfd5bf0cf3938ffba75ea6b..ffe85ae3e0e648747295655474a1ae8967587816 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
+#include "target.h"
 #include "bfd-target.h"
 #include "exec.h"
 #include "gdb_bfd.h"
-#include "target.h"
 
 /* A target that wraps a BFD.  */
 
index bfdc106fb67328c7b837953cf9c8e1af6c501584..3fc6b6a6586d89997298067cbc8763afa47135ad 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "arch-utils.h"
-#include "bfin-tdep.h"
-#include "linux-tdep.h"
-#include "osabi.h"
 #include "regcache.h"
-#include "trad-frame.h"
 #include "tramp-frame.h"
+#include "trad-frame.h"
+#include "osabi.h"
 #include "xml-syscall.h"
+#include "linux-tdep.h"
+#include "bfin-tdep.h"
 
 /* From <asm/sigcontext.h>.  */
 
index 830cb1c2fd8ebf3dbb7afd87f5eb6496e55b4b89..9d3e8ebce164e41be97acc9fad903077512c6ce8 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
+#include "inferior.h"
+#include "gdbcore.h"
 #include "arch-utils.h"
-#include "bfin-tdep.h"
+#include "regcache.h"
+#include "frame.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "trad-frame.h"
 #include "dis-asm.h"
+#include "sim-regno.h"
+#include "gdb/sim-bfin.h"
 #include "dwarf2-frame.h"
+#include "symtab.h"
 #include "elf-bfd.h"
 #include "elf/bfin.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
-#include "frame.h"
-#include "gdb/sim-bfin.h"
-#include "gdbcore.h"
-#include "infcall.h"
-#include "inferior.h"
 #include "osabi.h"
-#include "regcache.h"
-#include "sim-regno.h"
-#include "symtab.h"
-#include "trad-frame.h"
+#include "infcall.h"
 #include "xml-syscall.h"
+#include "bfin-tdep.h"
 
 /* Macros used by prologue functions.  */
 #define P_LINKAGE                      0xE800
index 366141c0333c7393c3835cf17f679bcc845d55a1..63c7d9f3955a4e149eeeb8a3c574c039b41302f2 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "addrmap.h"
 #include "block.h"
-#include "cp-support.h"
+#include "symtab.h"
+#include "symfile.h"
 #include "gdb_obstack.h"
+#include "cp-support.h"
+#include "addrmap.h"
 #include "gdbtypes.h"
 #include "objfiles.h"
-#include "symfile.h"
-#include "symtab.h"
 
 /* This is used by struct block to store namespace-related info for
    C++ files, namely using declarations and the current namespace in
index 8b1acab22f40ecc50701bd2f4a06d2c2c1138513..fe7807b87a6e726e1474fe3949c1154c470633ea 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "annotate.h"
+#include "symtab.h"
 #include "bfd.h"
-#include "block.h"
-#include "command.h"
-#include "dummy-frame.h"
+#include "objfiles.h"
 #include "frame.h"
-#include "gdbcmd.h"
 #include "gdbcore.h"
+#include "value.h"
+#include "target.h"
 #include "inferior.h"
-#include "inline-frame.h"
-#include "objfiles.h"
+#include "annotate.h"
 #include "regcache.h"
-#include "symtab.h"
-#include "target.h"
-#include "value.h"
+#include "dummy-frame.h"
+#include "command.h"
+#include "gdbcmd.h"
+#include "block.h"
+#include "inline-frame.h"
 
 /* Return the innermost lexical block in execution in a specified
    stack frame.  The frame address is assumed valid.
index 14f901f07c257c9982f1e3d654e57dd5abacae07..53540ee8320b31fc2aeab2c59e2f0e62999c003c 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Standard C++ includes.  */
-#include <string>
-
-/* Local non-gdb includes.  */
-#include "annotate.h"
 #include "arch-utils.h"
+#include <ctype.h>
 #include "breakpoint.h"
-#include "cli/cli-utils.h"
-#include "completer.h"
 #include "gdbcmd.h"
 #include "inferior.h"
 #include "infrun.h"
+#include "annotate.h"
 #include "valprint.h"
+#include "cli/cli-utils.h"
+#include "completer.h"
+
+#include <string>
 
 #define INTERNAL_SIGNAL(x) ((x) == GDB_SIGNAL_TRAP || (x) == GDB_SIGNAL_INT)
 
index 1d02e9b7b3ad74992e0ee3f38e22b3c9ee37fc37..6a911fbc2a3aa470adbe3ab25b633c670d79778b 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
 #include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "annotate.h"
-#include "arch-utils.h"
 #include "breakpoint.h"
-#include "cli/cli-utils.h"
 #include "gdbcmd.h"
 #include "inferior.h"
+#include "cli/cli-utils.h"
+#include "annotate.h"
 #include "mi/mi-common.h"
-#include "observable.h"
 #include "valprint.h"
+#include "arch-utils.h"
+#include "observable.h"
 #include "xml-syscall.h"
 
 /* An instance of this type is used to represent a syscall catchpoint.
index bad882f50fdb26bcb9dd13f35bc971bee40fc03d..c8d66e0737c5329fa4a7afe0aef1e8bd3eb80d7b 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "annotate.h"
 #include "arch-utils.h"
+#include <ctype.h>
 #include "breakpoint.h"
+#include "gdbcmd.h"
+#include "inferior.h"
+#include "annotate.h"
+#include "valprint.h"
 #include "cli/cli-utils.h"
 #include "completer.h"
-#include "cp-abi.h"
-#include "cp-support.h"
 #include "gdb_obstack.h"
-#include "gdb_regex.h"
-#include "gdbcmd.h"
-#include "inferior.h"
-#include "linespec.h"
-#include "location.h"
 #include "mi/mi-common.h"
-#include "objfiles.h"
+#include "linespec.h"
 #include "probe.h"
-#include "valprint.h"
+#include "objfiles.h"
+#include "cp-abi.h"
+#include "gdb_regex.h"
+#include "cp-support.h"
+#include "location.h"
 
 /* Enums for exception-handling support.  */
 enum exception_event_kind
index ed6833565e5efa1e6e45769d31a24054fedc4e8c..7799d1c1b487419d4201ae67a4e593c105582110 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "ada-lang.h"
-#include "annotate.h"
 #include "arch-utils.h"
-#include "ax-gdb.h"
-#include "block.h"
+#include <ctype.h>
+#include "hashtab.h"
+#include "symtab.h"
+#include "frame.h"
 #include "breakpoint.h"
-#include "cli/cli-script.h"
-#include "cli/cli-style.h"
-#include "cli/cli-utils.h"
-#include "command.h"
-#include "common/format.h"
-#include "completer.h"
-#include "continuations.h"
-#include "dummy-frame.h"
+#include "tracepoint.h"
+#include "gdbtypes.h"
 #include "expression.h"
-#include "filenames.h"
-#include "frame.h"
-#include "gdb-demangle.h"
-#include "gdb_regex.h"
-#include "gdbcmd.h"
 #include "gdbcore.h"
-#include "gdbthread.h"
-#include "gdbtypes.h"
-#include "hashtab.h"
+#include "gdbcmd.h"
+#include "value.h"
+#include "command.h"
 #include "inferior.h"
 #include "infrun.h"
-#include "interps.h"
-#include "jit.h"
+#include "gdbthread.h"
+#include "target.h"
 #include "language.h"
-#include "linespec.h"
-#include "memattr.h"
-#include "mi/mi-main.h"
+#include "gdb-demangle.h"
+#include "filenames.h"
+#include "annotate.h"
+#include "symfile.h"
 #include "objfiles.h"
+#include "source.h"
+#include "linespec.h"
+#include "completer.h"
+#include "ui-out.h"
+#include "cli/cli-script.h"
+#include "block.h"
+#include "solib.h"
+#include "solist.h"
 #include "observable.h"
+#include "memattr.h"
+#include "ada-lang.h"
+#include "top.h"
+#include "valprint.h"
+#include "jit.h"
 #include "parser-defs.h"
+#include "gdb_regex.h"
 #include "probe.h"
-#include "skip.h"
-#include "solib.h"
-#include "solist.h"
-#include "source.h"
+#include "cli/cli-utils.h"
+#include "continuations.h"
 #include "stack.h"
-#include "symfile.h"
-#include "symtab.h"
-#include "target.h"
+#include "skip.h"
+#include "ax-gdb.h"
+#include "dummy-frame.h"
+#include "interps.h"
+#include "common/format.h"
 #include "thread-fsm.h"
 #include "tid-parse.h"
-#include "top.h"
-#include "tracepoint.h"
-#include "ui-out.h"
-#include "valprint.h"
-#include "value.h"
+#include "cli/cli-style.h"
+#include "mi/mi-main.h"
 
 /* readline include files */
 #include "readline/readline.h"
index 3221719b889a77a9b09f69c646524e738f042b89..a91e3e334cfd47f7faefb0f59fb486822c0f2eb6 100644 (file)
 #if !defined (BREAKPOINT_H)
 #define BREAKPOINT_H 1
 
-#include <vector>
-
-/* Local non-gdb includes.  */
+#include "frame.h"
+#include "value.h"
+#include "common/vec.h"
 #include "ax.h"
-#include "cli/cli-script.h"
 #include "command.h"
-#include "common/array-view.h"
 #include "common/break-common.h"
-#include "common/vec.h"
-#include "frame.h"
-#include "location.h"
 #include "probe.h"
-#include "value.h"
+#include "location.h"
+#include <vector>
+#include "common/array-view.h"
+#include "cli/cli-script.h"
 
 struct block;
 struct gdbpy_breakpoint_object;
index a4cc3c9c4fa3e3100f99bb74c9e13515660fd39d..af048f7a18f940c02633c228a864f8f68d46d5cd 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "bsd-uthread.h"
-#include "gdb_obstack.h"
 #include "gdbcore.h"
 #include "gdbthread.h"
 #include "inferior.h"
 #include "symfile.h"
 #include "target.h"
 
+#include "gdb_obstack.h"
+
+#include "bsd-uthread.h"
+
 static const target_info bsd_uthread_target_info = {
   "bsd-uthreads",
   N_("BSD user-level threads"),
index bb8eb26b7a2cdbee465a369d1696609bcd9badf3..12af46814a9db0586d8e1109574528f6cf610576 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "btrace.h"
-#include "cli/cli-utils.h"
-#include "common/rsp-low.h"
-#include "disasm.h"
-#include "filenames.h"
-#include "gdbcmd.h"
 #include "gdbthread.h"
 #include "inferior.h"
+#include "target.h"
 #include "record.h"
-#include "regcache.h"
-#include "source.h"
 #include "symtab.h"
-#include "target.h"
+#include "disasm.h"
+#include "source.h"
+#include "filenames.h"
 #include "xml-support.h"
+#include "regcache.h"
+#include "common/rsp-low.h"
+#include "gdbcmd.h"
+#include "cli/cli-utils.h"
 
 /* For maintenance commands.  */
 #include "record-btrace.h"
index e21ee294a70b5845a5268e38b20fb364fbd45a8b..27f29cd044234430dd8e2565c13bf260920386dd 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "bfd.h"
+#include "gdb_bfd.h"
 #include "build-id.h"
 #include "common/gdb_vecs.h"
+#include "symfile.h"
+#include "objfiles.h"
 #include "filenames.h"
-#include "gdb_bfd.h"
 #include "gdbcore.h"
-#include "objfiles.h"
-#include "symfile.h"
 
 /* See build-id.h.  */
 
index 478410b59545d2bc450339c6853a26a2029808e0..b8b033e62aae1653916313fb389fd6a401a8955a 100644 (file)
@@ -20,8 +20,8 @@
 #ifndef BUILD_ID_H
 #define BUILD_ID_H
 
-#include "common/rsp-low.h"
 #include "gdb_bfd.h"
+#include "common/rsp-low.h"
 
 /* Locate NT_GNU_BUILD_ID from ABFD and return its content.  */
 
index 7327db7693e7aeed47ea348ec0427671f4297de1..a29c1280971c17555607d52e9c6d7e6cdbc51fb8 100644 (file)
@@ -17,8 +17,6 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "buildsym-legacy.h"
 
 /* The work-in-progress of the compunit we are building.
index 50f0f42e47170d53a151abc03e77790a5b45b93a..9a23c8f52545299e664138163184334be7533bd3 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "addrmap.h"
-#include "bfd.h"
-#include "block.h"
 #include "buildsym-legacy.h"
-#include "complaints.h"
-#include "cp-support.h"
-#include "demangle.h"
-#include "dictionary.h"
-#include "expression.h"
-#include "filenames.h"
+#include "bfd.h"
 #include "gdb_obstack.h"
+#include "symtab.h"
+#include "symfile.h"
+#include "objfiles.h"
 #include "gdbtypes.h"
+#include "complaints.h"
+#include "expression.h"                /* For "enum exp_opcode" used by...  */
+#include "filenames.h"         /* For DOSish file names.  */
 #include "macrotab.h"
-#include "objfiles.h"
-#include "symfile.h"
-#include "symtab.h"
+#include "demangle.h"          /* Needed by SYMBOL_INIT_DEMANGLED_NAME.  */
+#include "block.h"
+#include "cp-support.h"
+#include "dictionary.h"
+#include "addrmap.h"
+#include <algorithm>
 
 /* For cleanup_undefined_stabs_types and finish_global_stabs (somewhat
    questionable--see comment where we call them).  */
index 0438f4bd088350edd0d3589446fbedb96276b447..36c750204dab3b1da0c5a0112377bcdd8760ada0 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
+#include "symtab.h"
+#include "gdbtypes.h"
+#include "expression.h"
+#include "parser-defs.h"
+#include "language.h"
+#include "varobj.h"
 #include "c-lang.h"
 #include "c-support.h"
+#include "valprint.h"
+#include "macroscope.h"
 #include "charset.h"
+#include "demangle.h"
 #include "cp-abi.h"
 #include "cp-support.h"
-#include "demangle.h"
-#include "expression.h"
 #include "gdb_obstack.h"
+#include <ctype.h>
 #include "gdbcore.h"
-#include "gdbtypes.h"
-#include "language.h"
-#include "macroscope.h"
-#include "parser-defs.h"
-#include "symtab.h"
-#include "valprint.h"
-#include "varobj.h"
 
 /* Given a C string type, STR_TYPE, return the corresponding target
    character set name.  */
index f8e02c279630b0e3866d28fb1c3720a388810c5f..6690ca53bcdac5e656eff63c37a54d6be0b283b0 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "bfd.h"
-#include "c-lang.h"
-#include "cli/cli-style.h"
-#include "cp-abi.h"
-#include "cp-support.h"
-#include "demangle.h"
-#include "expression.h"
 #include "gdb_obstack.h"
-#include "gdbcore.h"
-#include "gdbtypes.h"
-#include "language.h"
+#include "bfd.h"               /* Binary File Description.  */
 #include "symtab.h"
+#include "gdbtypes.h"
+#include "expression.h"
+#include "value.h"
+#include "gdbcore.h"
 #include "target.h"
+#include "language.h"
+#include "demangle.h"
+#include "c-lang.h"
+#include "cli/cli-style.h"
 #include "typeprint.h"
-#include "value.h"
+#include "cp-abi.h"
+#include "cp-support.h"
 
 /* A list of access specifiers used for printing.  */
 
index d2b07d08db28e2951eea681706b9986c59fa47fb..c4306f1488f15af88abb2f44c4b732630235effb 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "c-lang.h"
-#include "cp-abi.h"
-#include "expression.h"
+#include "symtab.h"
 #include "gdbtypes.h"
+#include "expression.h"
+#include "value.h"
+#include "valprint.h"
 #include "language.h"
-#include "objfiles.h"
-#include "symtab.h"
+#include "c-lang.h"
+#include "cp-abi.h"
 #include "target.h"
-#include "valprint.h"
-#include "value.h"
-
+#include "objfiles.h"
 \f
 
 /* A helper for c_textual_element_type.  This checks the name of the
index bcbc1537e12e1a32a528dac047a496485389669a..2d247745c04ae474bbf111e227e47c0f9d86d79a 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "gdbthread.h"
-#include "valprint.h"
 #include "value.h"
 #include "varobj.h"
+#include "gdbthread.h"
+#include "valprint.h"
 
 static void cplus_class_num_children (struct type *type, int children[3]);
 
index 505ccd35f8532a84eceeac9533b0325217c98c27..5d8a99660319d7ecec4816cdaf443ca450298d4d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "charset-list.h"
 #include "charset.h"
-#include "common/environ.h"
-#include "common/gdb_vecs.h"
+#include "gdbcmd.h"
+#include "gdb_obstack.h"
 #include "common/gdb_wait.h"
+#include "charset-list.h"
 #include "common/vec.h"
-#include "gdb_obstack.h"
-#include "gdbcmd.h"
+#include "common/environ.h"
+#include "arch-utils.h"
+#include "common/gdb_vecs.h"
+#include <ctype.h>
 
 #ifdef USE_WIN32API
 #include <windows.h>
index 4665da4ebb3f83a9695115f407125d0dc86f5068..55c8d2b3b1bb2084fdde7ecbd6b745e86619d02d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
+#include "ui-out.h"
 #include "cli-out.h"
-#include "cli/cli-style.h"
 #include "completer.h"
 #include "readline/readline.h"
-#include "ui-out.h"
+#include "cli/cli-style.h"
 
 /* These are the CLI output functions */
 
index 995d14dd4a2667a22dd76d4373d181a130d04e83..eeb555fbbecb6698ea0a3db0a4f89bb043037110 100644 (file)
 #ifndef CLI_OUT_H
 #define CLI_OUT_H
 
-#include <vector>
-
-/* Local non-gdb includes.  */
 #include "ui-out.h"
+#include <vector>
 
 class cli_ui_out : public ui_out
 {
index 06da8411ff1fa3f0b95997c01f82324ff8ca6eec..f5721382f4c7b28aaf5c752cc7fba6f1bf9f5e9c 100644 (file)
 
 #include "defs.h"
 
-/* Standard C includes.  */
-#include <ctype.h>
+#include "coff-pe-read.h"
 
-/* Local non-gdb includes.  */
 #include "bfd.h"
-#include "coff-pe-read.h"
-#include "coff/internal.h"
+#include "gdbtypes.h"
+
 #include "command.h"
-#include "common/common-utils.h"
 #include "gdbcmd.h"
-#include "gdbtypes.h"
-#include "objfiles.h"
-#include "symfile.h"
 #include "symtab.h"
+#include "symfile.h"
+#include "objfiles.h"
+#include "common/common-utils.h"
+#include "coff/internal.h"
+
+#include <ctype.h>
 
 /* Internal section information */
 
index ae0d05bddf33f96204432abc198a71f8a0d2d38c..4354741ab648948d3526768d235fad354cdf5e56 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "symtab.h"
+#include "gdbtypes.h"
+#include "demangle.h"
+#include "breakpoint.h"
 
-/* Standard C includes.  */
+#include "bfd.h"
+#include "gdb_obstack.h"
 #include <ctype.h>
 
-/* Local non-gdb includes.  */
-#include "bfd.h"
-#include "block.h"
-#include "breakpoint.h"
-#include "build-id.h"
+#include "coff/internal.h"     /* Internal format of COFF symbols in BFD */
+#include "libcoff.h"           /* FIXME secret internal data from BFD */
+#include "objfiles.h"
 #include "buildsym-legacy.h"
-#include "coff-pe-read.h"
-#include "coff/internal.h"
-#include "complaints.h"
-#include "demangle.h"
-#include "dictionary.h"
 #include "gdb-stabs.h"
-#include "gdb_obstack.h"
-#include "gdbtypes.h"
-#include "libcoff.h"
-#include "objfiles.h"
-#include "psymtab.h"
 #include "stabsread.h"
-#include "symtab.h"
+#include "complaints.h"
 #include "target.h"
+#include "block.h"
+#include "dictionary.h"
+
+#include "coff-pe-read.h"
+
+#include "psymtab.h"
+#include "build-id.h"
 
 /* Key for COFF-associated data.  */
 
index b1422076989ccce20db11d8e55c07cbd6f5930ab..c5b5471ee181a5980265fdc0d83a7fdf1819e8be 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <unordered_map>
-
-/* Local non-gdb includes.  */
-#include "command.h"
 #include "complaints.h"
+#include "command.h"
 #include "gdbcmd.h"
+#include <unordered_map>
 
 /* Map format strings to counters.  */
 
index ae7999926fd093fb06975fc2e0f166281ab9ddc3..d7cf4fd1203efd5f38ff5b363bdd68882fe84e41 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "cli/cli-decode.h"
-#include "common/gdb_signals.h"
-#include "expression.h"
-#include "filenames.h"
+#include "symtab.h"
 #include "gdbtypes.h"
+#include "expression.h"
+#include "filenames.h"         /* For DOSish file names.  */
 #include "language.h"
-#include "linespec.h"
-#include "location.h"
-#include "reggroups.h"
-#include "symtab.h"
+#include "common/gdb_signals.h"
 #include "target.h"
+#include "reggroups.h"
 #include "user-regs.h"
+#include "arch-utils.h"
+#include "location.h"
+#include <algorithm>
+#include "linespec.h"
+#include "cli/cli-decode.h"
 
 /* FIXME: This is needed because of lookup_cmd_1 ().  We should be
    calling a hook instead so we eliminate the CLI dependency.  */
index 282e954a4e8540bfd3971d90ddac2326a9ca2d23..52f8d7dff4f5bf25401faf904be7b5bf73568e1c 100644 (file)
@@ -17,8 +17,8 @@
 #if !defined (COMPLETER_H)
 #define COMPLETER_H 1
 
-#include "command.h"
 #include "common/gdb_vecs.h"
+#include "command.h"
 
 /* Types of functions in struct match_list_displayer.  */
 
index 3f565a8f810cbecd4f00b3f700d232839eda8166..1feee32ebaa7631ac0eae23196d31ca36bbeeed1 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "continuations.h"
 #include "gdbthread.h"
 #include "inferior.h"
+#include "continuations.h"
 
 struct continuation
 {
index 7a99a4d79dc7dc5b966d10ff5c16eac7d287b2f6..bf859fbbb8d8641f9c631aa510e6ed59fdfe78be 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"
 
 /* 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
index e7f164f4f27913694ec086747423c79f740d1256..7fb42970de4f87ba08c9416ac3065f4186a8de38 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>
-
-/* Local non-gdb includes.  */
 #include "arch-utils.h"
-#include "bfd.h"
-#include "command.h"
-#include "common/filestuff.h"
-#include "completer.h"
-#include "exec.h"
-#include "filenames.h"
-#include "frame.h"
-#include "gdb_bfd.h"
-#include "gdbcore.h"
-#include "gdbthread.h"
+#include <signal.h>
+#include <fcntl.h>
+#include "frame.h"             /* required by inferior.h */
 #include "inferior.h"
 #include "infrun.h"
-#include "objfiles.h"
+#include "symtab.h"
+#include "command.h"
+#include "bfd.h"
+#include "target.h"
 #include "process-stratum-target.h"
-#include "progspace.h"
-#include "readline/readline.h"
+#include "gdbcore.h"
+#include "gdbthread.h"
 #include "regcache.h"
 #include "regset.h"
-#include "solib.h"
 #include "symfile.h"
-#include "symtab.h"
-#include "target.h"
+#include "exec.h"
+#include "readline/readline.h"
+#include "solib.h"
+#include "filenames.h"
+#include "progspace.h"
+#include "objfiles.h"
+#include "gdb_bfd.h"
+#include "completer.h"
+#include "common/filestuff.h"
 
 #ifndef O_LARGEFILE
 #define O_LARGEFILE 0
index 07db7effbb991e58368b12a3d0f6620780a1102d..b858b19066821b07048f7b03e89cd327f99a000a 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "command.h"
+#include "value.h"
 #include "cp-abi.h"
+#include "command.h"
 #include "gdbcmd.h"
 #include "ui-out.h"
-#include "value.h"
-
 static struct cp_abi_ops *find_cp_abi (const char *short_name);
 
 static struct cp_abi_ops current_cp_abi = { "", NULL };
index 574ae7e9334db44799cda2510827732b6d9f5cac..5b352d1d77be8f092719c3926af170947ce313f8 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <string>
-
-/* Local non-gdb includes.  */
-#include "block.h"
-#include "buildsym.h"
-#include "command.h"
 #include "cp-support.h"
-#include "dictionary.h"
-#include "frame.h"
 #include "gdb_obstack.h"
+#include "symtab.h"
+#include "symfile.h"
+#include "block.h"
+#include "objfiles.h"
 #include "gdbtypes.h"
+#include "dictionary.h"
+#include "command.h"
+#include "frame.h"
+#include "buildsym.h"
 #include "language.h"
 #include "namespace.h"
-#include "objfiles.h"
-#include "symfile.h"
-#include "symtab.h"
+#include <string>
 
 static struct block_symbol
   cp_lookup_nested_symbol_1 (struct type *container_type,
index 9970f0ca8643fa09631d1989fe13a60257363da4..b79dd5c086fe0788eb62242484650b93ace474b9 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <signal.h>
-
-/* Local non-gdb includes.  */
-#include "block.h"
-#include "common/gdb_setjmp.h"
-#include "common/selftest.h"
-#include "complaints.h"
-#include "cp-abi.h"
 #include "cp-support.h"
 #include "demangle.h"
+#include "gdbcmd.h"
 #include "dictionary.h"
-#include "expression.h"
+#include "objfiles.h"
 #include "frame.h"
-#include "gdbcmd.h"
+#include "symtab.h"
+#include "block.h"
+#include "complaints.h"
 #include "gdbtypes.h"
+#include "expression.h"
+#include "value.h"
+#include "cp-abi.h"
 #include "namespace.h"
-#include "objfiles.h"
+#include <signal.h>
+#include "common/gdb_setjmp.h"
 #include "safe-ctype.h"
-#include "symtab.h"
-#include "value.h"
+#include "common/selftest.h"
 
 #define d_left(dc) (dc)->u.s_binary.left
 #define d_right(dc) (dc)->u.s_binary.right
index f6e7e538679471284f577bc47a9c7493618fbe9e..443c3b06dac8986e5b07774d053eb75b2d92dc25 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
+#include "gdb_obstack.h"
+#include "symtab.h"
+#include "gdbtypes.h"
+#include "expression.h"
+#include "value.h"
+#include "command.h"
+#include "gdbcmd.h"
+#include "demangle.h"
 #include "annotate.h"
 #include "c-lang.h"
-#include "command.h"
-#include "common/byte-vector.h"
+#include "target.h"
 #include "cp-abi.h"
+#include "valprint.h"
 #include "cp-support.h"
-#include "demangle.h"
-#include "expression.h"
-#include "extension.h"
-#include "gdb_obstack.h"
-#include "gdbcmd.h"
-#include "gdbtypes.h"
 #include "language.h"
-#include "symtab.h"
-#include "target.h"
+#include "extension.h"
 #include "typeprint.h"
-#include "valprint.h"
-#include "value.h"
+#include "common/byte-vector.h"
 
 /* Controls printing of vtbl's.  */
 static void
index 8f765b5060f9e0eb62d1d820e092cc167ba800e7..27681cb8b278cf62dde9d1ac0515e7ed7dcaf61e 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "cris-tdep.h"
-#include "linux-tdep.h"
 #include "osabi.h"
+#include "linux-tdep.h"
 #include "solib-svr4.h"
 #include "symtab.h"
 
+#include "cris-tdep.h"
+
 static void
 cris_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 {
index a41335ded6659246adcb3386d4df41b9197dee65..8eda05806f819f9fda0de37f55f222748b5daaff 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "cris-tdep.h"
-#include "dis-asm.h"
-#include "dwarf2-frame.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
 #include "frame.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbtypes.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "trad-frame.h"
+#include "dwarf2-frame.h"
+#include "symtab.h"
 #include "inferior.h"
-#include "objfiles.h"
+#include "gdbtypes.h"
+#include "gdbcore.h"
+#include "gdbcmd.h"
+#include "target.h"
+#include "value.h"
 #include "opcode/cris.h"
 #include "osabi.h"
+#include "arch-utils.h"
 #include "regcache.h"
+
+#include "objfiles.h"
+
+#include "solib.h"              /* Support for shared libraries.  */
 #include "solib-svr4.h"
-#include "solib.h"
-#include "symtab.h"
-#include "target.h"
-#include "trad-frame.h"
-#include "value.h"
+#include "dis-asm.h"
+
+#include "cris-tdep.h"
 
 enum cris_num_regs
 {
index 235d4dbcfb6589ecdcefd6980989fada24c80eaf..ab4af9f6f15c886e6ef172832b2ab399cbfe7053 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "csky-tdep.h"
-#include "gdbarch.h"
+#include "osabi.h"
 #include "glibc-tdep.h"
 #include "linux-tdep.h"
-#include "osabi.h"
-#include "regset.h"
+#include "gdbarch.h"
 #include "solib-svr4.h"
+#include "regset.h"
 #include "trad-frame.h"
 #include "tramp-frame.h"
+#include "csky-tdep.h"
 
 /* Functions, definitions, and data structures for C-Sky core file debug.  */
 
index cabc5e14918c00aea22d0f93d723134b75d2cb67..cd7d8c5a0b116e48fa8a66f3ef181f35c3005f80 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-#include <vector>
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "block.h"
 #include "common/gdb_assert.h"
-#include "csky-tdep.h"
-#include "dis-asm.h"
-#include "dwarf2-frame.h"
-#include "elf-bfd.h"
-#include "elf/csky.h"
-#include "floatformat.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
 #include "frame.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbtypes.h"
-#include "infcall.h"
 #include "inferior.h"
+#include "symtab.h"
+#include "value.h"
+#include "gdbcmd.h"
 #include "language.h"
+#include "gdbcore.h"
+#include "symfile.h"
 #include "objfiles.h"
-#include "opcode/csky.h"
-#include "osabi.h"
+#include "gdbtypes.h"
+#include "target.h"
+#include "arch-utils.h"
 #include "regcache.h"
+#include "osabi.h"
+#include "block.h"
 #include "reggroups.h"
-#include "regset.h"
-#include "remote.h"
-#include "sim-regno.h"
+#include "elf/csky.h"
+#include "elf-bfd.h"
 #include "symcat.h"
-#include "symfile.h"
-#include "symtab.h"
-#include "target-descriptions.h"
-#include "target.h"
+#include "sim-regno.h"
+#include "dis-asm.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
 #include "trad-frame.h"
+#include "infcall.h"
+#include "floatformat.h"
+#include "remote.h"
+#include "target-descriptions.h"
+#include "dwarf2-frame.h"
 #include "user-regs.h"
 #include "valprint.h"
-#include "value.h"
+#include "csky-tdep.h"
+#include "regset.h"
+#include "opcode/csky.h"
+#include <algorithm>
+#include <vector>
 
 /* Control debugging information emitted in this file.  */
 static int csky_debug = 0;
index 6796931edf37fcfd881db676a081406be3b8172c..7a95df781524eab179888b99ab06a5ea18be5de4 100644 (file)
--- a/gdb/ctf.c
+++ b/gdb/ctf.c
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-#include <sys/stat.h>
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "common/filestuff.h"
-#include "completer.h"
 #include "ctf.h"
+#include "tracepoint.h"
+#include "regcache.h"
+#include <sys/stat.h>
 #include "exec.h"
-#include "gdbthread.h"
+#include "completer.h"
 #include "inferior.h"
-#include "regcache.h"
+#include "gdbthread.h"
 #include "tracefile.h"
-#include "tracepoint.h"
+#include <ctype.h>
+#include <algorithm>
+#include "common/filestuff.h"
 
 /* The CTF target.  */
 
index 7fb6c52748e8264257f92c5b5126dd2785e73bf2..637e012b32e76c6213e519849fcaa27f673d692a 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "c-lang.h"
-#include "cp-support.h"
-#include "d-lang.h"
-#include "demangle.h"
-#include "language.h"
 #include "symtab.h"
+#include "language.h"
 #include "varobj.h"
+#include "d-lang.h"
+#include "c-lang.h"
+#include "demangle.h"
+#include "cp-support.h"
 
 /* The name of the symbol to use to get the name of the main subprogram.  */
 static const char D_MAIN[] = "D main";
index e5d4adf8df6fa99eb53400ab11a219dd247b4a6d..4edef188e9e14bd52de71fc58a91cfe208e2360b 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
+#include "symtab.h"
 #include "block.h"
-#include "d-lang.h"
-#include "gdb_obstack.h"
 #include "language.h"
 #include "namespace.h"
-#include "symtab.h"
+#include "d-lang.h"
+#include "gdb_obstack.h"
 
 /* This returns the length of first component of NAME, which should be
    the demangled name of a D variable/function/method/etc.
index 6d58ecaa6222b3f5dd5fe8265e423c3218cfe331..54652364a8f3960549ace19bedb5959b982d9f75 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "c-lang.h"
-#include "d-lang.h"
-#include "gdbcore.h"
 #include "gdbtypes.h"
+#include "gdbcore.h"
+#include "d-lang.h"
+#include "c-lang.h"
 
 /* Assuming that TYPE is a TYPE_CODE_STRUCT, verify that TYPE is a
    dynamic array, and then print its value to STREAM.  Return zero if
index 88ee027f71e8bbddaf1eb7fbeb42a980518b4c3a..ca3b2e872523c4027b9b6be83bccd5603a41f379 100644 (file)
    Tiger is no longer important.  */
 
 #include "defs.h"
+#include "symtab.h"
+#include "gdbtypes.h"
+#include "gdbcore.h"
+#include "value.h"
+#include "gdbcmd.h"
+#include "inferior.h"
 
-/* Standard C includes.  */
-#include <mach/mach_init.h>
-#include <mach/mach_port.h>
-#include <mach/mach_vm.h>
-#include <mach/task.h>
-#include <mach/thread_act.h>
-#include <mach/thread_info.h>
-#include <mach/vm_map.h>
 #include <sys/sysctl.h>
 
-/* Local non-gdb includes.  */
 #include "darwin-nat.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbtypes.h"
-#include "inferior.h"
-#include "symtab.h"
-#include "value.h"
+
+#include <mach/thread_info.h>
+#include <mach/thread_act.h>
+#include <mach/task.h>
+#include <mach/vm_map.h>
+#include <mach/mach_port.h>
+#include <mach/mach_init.h>
+#include <mach/mach_vm.h>
 
 #define CHECK_ARGS(what, args) do { \
   if ((NULL == args) || ((args[0] != '0') && (args[1] != 'x'))) \
index ec9a313d5994c3051271d46060fd5d78c1eaf0d6..6247b0656c9507de3a8f89e1b74a42b8b4dc30a5 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "top.h"
+#include "inferior.h"
+#include "target.h"
+#include "symfile.h"
+#include "symtab.h"
+#include "objfiles.h"
+#include "gdbcmd.h"
+#include "gdbcore.h"
+#include "gdbthread.h"
+#include "regcache.h"
+#include "event-top.h"
+#include "inf-loop.h"
+#include <sys/stat.h>
+#include "inf-child.h"
+#include "value.h"
+#include "arch-utils.h"
+#include "bfd.h"
+#include "bfd/mach-o.h"
 
-/* Standard C includes.  */
 #include <copyfile.h>
+#include <sys/ptrace.h>
+#include <sys/signal.h>
+#include <setjmp.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <signal.h>
 #include <ctype.h>
+#include <sys/sysctl.h>
+#include <sys/proc.h>
 #include <libproc.h>
+#include <sys/syscall.h>
+#include <spawn.h>
+
 #include <mach/mach_error.h>
-#include <mach/mach_init.h>
-#include <mach/mach_port.h>
 #include <mach/mach_vm.h>
-#include <mach/port.h>
+#include <mach/mach_init.h>
+#include <mach/vm_map.h>
 #include <mach/task.h>
+#include <mach/mach_port.h>
 #include <mach/thread_act.h>
-#include <mach/vm_map.h>
-#include <setjmp.h>
-#include <signal.h>
-#include <spawn.h>
-#include <sys/proc.h>
-#include <sys/ptrace.h>
-#include <sys/signal.h>
-#include <sys/stat.h>
-#include <sys/syscall.h>
-#include <sys/sysctl.h>
-#include <sys/types.h>
-#include <unistd.h>
+#include <mach/port.h>
 
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "bfd.h"
-#include "bfd/mach-o.h"
+#include "darwin-nat.h"
+#include "filenames.h"
 #include "common/filestuff.h"
 #include "common/gdb_unlinker.h"
 #include "common/pathstuff.h"
 #include "common/scoped_fd.h"
-#include "darwin-nat.h"
-#include "event-top.h"
-#include "filenames.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbthread.h"
-#include "inf-child.h"
-#include "inf-loop.h"
-#include "inferior.h"
 #include "nat/fork-inferior.h"
-#include "objfiles.h"
-#include "regcache.h"
-#include "symfile.h"
-#include "symtab.h"
-#include "target.h"
-#include "top.h"
-#include "value.h"
 
 /* Quick overview.
    Darwin kernel is Mach + BSD derived kernel.  Note that they share the
index cd656b1e487758c4205f9f1f59d32e7216b08a99..9091efd88f14b866fb98729e829e77d726986430 100644 (file)
 #ifndef DARWIN_NAT_H
 #define DARWIN_NAT_H
 
+#include "inf-child.h"
 #include <mach/mach.h>
-
-/* Local non-gdb includes.  */
 #include "gdbthread.h"
-#include "inf-child.h"
 
 /* This needs to be overridden by the platform specific nat code.  */
 
index 6226ae477e12ec6926576c897dcbad9fc29b82b9..5a2e8f8000b7c7de9f0fbac640611043b2187b02 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "dcache.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
+#include "target-dcache.h"
 #include "inferior.h"
 #include "splay-tree.h"
-#include "target-dcache.h"
 
 /* Commands with a prefix of `{set,show} dcache'.  */
 static struct cmd_list_element *dcache_set_list = NULL;
index 97ed536230385b35256190902f12dd1cdefd2f6e..9c29074c919540fb9f5396e29005cf9c857d675f 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef DCACHE_H
 #define DCACHE_H
 
-#include "target.h"
+#include "target.h"    /* for enum target_xfer_status */
 
 typedef struct dcache_struct DCACHE;
 
index 8e5065a27b0d68e5bfdd1708a2b9f7802ea768c1..29f46968a29c5b0c6539dd8945ffd390e5f5a5d8 100644 (file)
    to a styles of demangling, and GDB specific.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "cli/cli-utils.h"
+#include "cli/cli-utils.h" /* for skip_to_space */
 #include "command.h"
+#include "gdbcmd.h"
 #include "demangle.h"
 #include "gdb-demangle.h"
-#include "gdbcmd.h"
 #include "language.h"
 
 /* Select the default C++ demangling style to use.  The default is "auto",
index 48f11a55d31fd713b72a263aa154577a90b2da59..bacba9636853b30c06eb3330647ed82b1432bc78 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "dicos-tdep.h"
-#include "inferior.h"
 #include "osabi.h"
-#include "solib-target.h"
 #include "solib.h"
+#include "solib-target.h"
+#include "inferior.h"
+#include "dicos-tdep.h"
 
 void
 dicos_init_abi (struct gdbarch *gdbarch)
index b4b544b394231e28bff0787ec5ef270b1f8ff9dc..88eff2fa439a2a4c60d5db0687ba5b07f26271d5 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
 #include <ctype.h>
-
-/* Standard C++ includes.  */
-#include <unordered_map>
-
-/* Local non-gdb includes.  */
+#include "gdb_obstack.h"
+#include "symtab.h"
 #include "buildsym.h"
 #include "dictionary.h"
-#include "gdb_obstack.h"
 #include "safe-ctype.h"
-#include "symtab.h"
+#include <unordered_map>
 
 /* This file implements dictionaries, which are tables that associate
    symbols to names.  They are represented by an opaque type 'struct
index b12a99f674176ab6f486128d0b2918317217ab7f..48b466baf13ad0f9e114d214d1c144206e1cf4d6 100644 (file)
@@ -18,8 +18,6 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "disasm.h"
 
 #if GDB_SELF_TEST
index d989a8b7f508f7a534e6d4bd0148de8ddc57982c..7c7a148935e3b65e99cc3db1cfe3bdfa4ffeae02 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
 #include "arch-utils.h"
-#include "common/gdb_optional.h"
-#include "dis-asm.h"
+#include "target.h"
+#include "value.h"
+#include "ui-out.h"
 #include "disasm.h"
-#include "gdbcmd.h"
 #include "gdbcore.h"
-#include "safe-ctype.h"
+#include "gdbcmd.h"
+#include "dis-asm.h"
 #include "source.h"
-#include "target.h"
-#include "ui-out.h"
+#include "safe-ctype.h"
+#include <algorithm>
+#include "common/gdb_optional.h"
 #include "valprint.h"
-#include "value.h"
 
 /* Disassemble functions.
    FIXME: We should get rid of all the duplicate code in gdb that does
index 39d838195bd735834e6d85f24084586710c5f988..d3cc6312093c53dc40d8043960a3eed2b9854f31 100644 (file)
@@ -19,8 +19,8 @@
 #ifndef DISASM_H
 #define DISASM_H
 
-#include "common/enum-flags.h"
 #include "dis-asm.h"
+#include "common/enum-flags.h"
 
 enum gdb_disassembly_flag
   {
index 0114c401af1f662b60e9aae5b2a6168ebdcf541e..bd5cddcf804c9dcb745b5a836dcd386f7298ec90 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "ax-gdb.h"
-#include "ax.h"
+#include "probe.h"
 #include "common/vec.h"
-#include "complaints.h"
 #include "elf-bfd.h"
 #include "gdbtypes.h"
-#include "inferior.h"
-#include "language.h"
-#include "objfiles.h"
 #include "obstack.h"
-#include "parser-defs.h"
-#include "probe.h"
+#include "objfiles.h"
+#include "complaints.h"
 #include "value.h"
+#include "ax.h"
+#include "ax-gdb.h"
+#include "language.h"
+#include "parser-defs.h"
+#include "inferior.h"
 
 /* The type of the ELF sections where we will find the DOF programs
    with information about probes.  */
index 99d3d7c8bc3ce28aabaf4bef82a899173028a659..aebdd233d74074fb1f723c7bd0bd9e03147e24db 100644 (file)
 
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "command.h"
 #include "dummy-frame.h"
-#include "frame-unwind.h"
+#include "regcache.h"
 #include "frame.h"
+#include "inferior.h"
+#include "frame-unwind.h"
+#include "command.h"
 #include "gdbcmd.h"
+#include "observable.h"
 #include "gdbthread.h"
 #include "infcall.h"
-#include "inferior.h"
-#include "observable.h"
-#include "regcache.h"
 
 struct dummy_frame_id
 {
index 41340b8d8de08114c9f7a3587805cb8066ed65de..445f8b199e6d50f680b77884972c1060d1dd83a1 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
+#include "dwarf-index-cache.h"
 
-/* Standard C includes.  */
-#include <stdlib.h>
-
-/* Standard C++ includes.  */
-#include <string>
-
-/* Local non-gdb includes.  */
 #include "build-id.h"
 #include "cli/cli-cmds.h"
 #include "command.h"
-#include "common/pathstuff.h"
 #include "common/scoped_mmap.h"
-#include "common/selftest.h"
-#include "dwarf-index-cache.h"
+#include "common/pathstuff.h"
 #include "dwarf-index-write.h"
 #include "dwarf2read.h"
 #include "objfiles.h"
+#include "common/selftest.h"
+#include <string>
+#include <stdlib.h>
 
 /* When set to 1, show debug messages about the index cache.  */
 static int debug_index_cache = 0;
index 807cfea00b791911daf34e15ad2be04ffeab2bf7..2f2676321410b1b41c678dc711cd56e7ca17de64 100644 (file)
@@ -20,8 +20,8 @@
 #ifndef DWARF_INDEX_CACHE_H
 #define DWARF_INDEX_CACHE_H
 
-#include "common/array-view.h"
 #include "dwarf-index-common.h"
+#include "common/array-view.h"
 #include "symfile.h"
 
 /* Base of the classes used to hold the resources of the indices loaded from
index 4a5ef6245f62605c8dce05699ab347ec07c51405..220d74881a0879f0d6dc1392137175fe5176f148 100644 (file)
@@ -18,8 +18,6 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "dwarf-index-common.h"
 
 /* See dwarf-index-common.h.  */
index 0c4173c90ef3c3fe01f5608e4459669b37c6b93a..01c1256bcb63ef81a5341ec6a13bf2d8a97cb648 100644 (file)
 
 #include "defs.h"
 
-/* Standard C++ includes.  */
-#include <algorithm>
-#include <cmath>
-#include <set>
-#include <unordered_map>
-#include <unordered_set>
-
-/* Local non-gdb includes.  */
 #include "addrmap.h"
 #include "cli/cli-decode.h"
 #include "common/byte-vector.h"
 #include "objfiles.h"
 #include "psympriv.h"
 
+#include <algorithm>
+#include <cmath>
+#include <set>
+#include <unordered_map>
+#include <unordered_set>
+
 /* Ensure only legit values are used.  */
 #define DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE(cu_index, value) \
   do { \
index 2d6248035a6dddd476324707e86162e7b4a662fd..b1d1180c8e30bbbca4ce13411c1ea2c5ff8b24e4 100644 (file)
@@ -20,8 +20,8 @@
 #ifndef DWARF_INDEX_WRITE_H
 #define DWARF_INDEX_WRITE_H
 
-#include "dwarf2read.h"
 #include "symfile.h"
+#include "dwarf2read.h"
 
 /* Create an index file for OBJFILE in the directory DIR.  BASENAME is the
    desired filename, minus the extension, which gets added by this function
index c4e9c0991fc40adb502f9ae6432c28d31c10b895..4cf7f5ff63abe94358c1aaa3d842e0ad84ac71cf 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "block.h"
+#include "frame.h"
 #include "dwarf2-frame-tailcall.h"
-#include "dwarf2-frame.h"
 #include "dwarf2loc.h"
 #include "frame-unwind.h"
-#include "frame.h"
-#include "gdbtypes.h"
+#include "block.h"
 #include "hashtab.h"
+#include "gdbtypes.h"
 #include "regcache.h"
 #include "value.h"
+#include "dwarf2-frame.h"
 
 /* Contains struct tailcall_cache indexed by next_bottom_frame.  */
 static htab_t cache_htab;
index b657af2786ca5df49b5f1704061783a24fc38a6d..178ac44ecbe65aea684937b816fb6b2d2bca0f16 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "ax.h"
-#include "complaints.h"
-#include "dwarf2-frame-tailcall.h"
-#include "dwarf2-frame.h"
-#include "dwarf2.h"
 #include "dwarf2expr.h"
-#include "dwarf2loc.h"
-#include "dwarf2read.h"
+#include "dwarf2.h"
+#include "frame.h"
 #include "frame-base.h"
 #include "frame-unwind.h"
-#include "frame.h"
 #include "gdbcore.h"
 #include "gdbtypes.h"
+#include "symtab.h"
 #include "objfiles.h"
-#include "record.h"
 #include "regcache.h"
-#include "symtab.h"
 #include "value.h"
+#include "record.h"
 
+#include "complaints.h"
+#include "dwarf2-frame.h"
+#include "dwarf2read.h"
+#include "ax.h"
+#include "dwarf2loc.h"
+#include "dwarf2-frame-tailcall.h"
 #if GDB_SELF_TEST
 #include "common/selftest.h"
 #include "selftest-arch.h"
index 17bec73149bc2c641414a88cd5d918fa2bf3d37d..e412e182c01029c43a59a7aa802a4b9ec2f166fa 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "common/underlying.h"
+#include "symtab.h"
+#include "gdbtypes.h"
+#include "value.h"
+#include "gdbcore.h"
 #include "dwarf2.h"
 #include "dwarf2expr.h"
 #include "dwarf2loc.h"
-#include "gdbcore.h"
-#include "gdbtypes.h"
-#include "symtab.h"
-#include "value.h"
+#include "common/underlying.h"
 
 /* Cookie for gdbarch data.  */
 
index eb2259bfc442e72411894c30684893f3731e0187..c7cbf32d5e756796fc4d9e4c72783a81f203c8bf 100644 (file)
@@ -22,8 +22,8 @@
 #if !defined (DWARF2EXPR_H)
 #define DWARF2EXPR_H
 
-#include "gdbtypes.h"
 #include "leb128.h"
+#include "gdbtypes.h"
 
 /* The location of a value.  */
 enum dwarf_value_location
index bac74461f9abafe65b672e7ed7393c2ac97fe0e9..29d289b4d0c3136afa1453b7f67ce91d857607cf 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-#include <unordered_set>
-#include <vector>
-
-/* Local non-gdb includes.  */
-#include "ax-gdb.h"
+#include "ui-out.h"
+#include "value.h"
+#include "frame.h"
+#include "gdbcore.h"
+#include "target.h"
+#include "inferior.h"
 #include "ax.h"
+#include "ax-gdb.h"
+#include "regcache.h"
+#include "objfiles.h"
 #include "block.h"
-#include "common/byte-vector.h"
-#include "common/selftest.h"
-#include "common/underlying.h"
-#include "compile/compile.h"
+#include "gdbcmd.h"
 #include "complaints.h"
-#include "dwarf2-frame.h"
 #include "dwarf2.h"
 #include "dwarf2expr.h"
 #include "dwarf2loc.h"
-#include "frame.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "inferior.h"
-#include "objfiles.h"
-#include "regcache.h"
-#include "target.h"
-#include "ui-out.h"
-#include "value.h"
+#include "dwarf2-frame.h"
+#include "compile/compile.h"
+#include "common/selftest.h"
+#include <algorithm>
+#include <vector>
+#include <unordered_set>
+#include "common/underlying.h"
+#include "common/byte-vector.h"
 
 extern int dwarf_always_disassemble;
 
index c10d9affce90f924cdd8c51b32a77af95948ba43..8881a1e28a83ac21e1cd57f7647bdd1051826e77 100644 (file)
    E.g., load_partial_dies, read_partial_die.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-
-/* Standard C++ includes.  */
-#include <algorithm>
-#include <cmath>
-#include <forward_list>
-#include <set>
-#include <unordered_map>
-#include <unordered_set>
-
-/* Local non-gdb includes.  */
-#include "addrmap.h"
-#include "bfd.h"
-#include "block.h"
-#include "build-id.h"
-#include "buildsym.h"
-#include "c-lang.h"
-#include "command.h"
-#include "common/byte-vector.h"
-#include "common/filestuff.h"
-#include "common/function-view.h"
-#include "common/gdb_optional.h"
-#include "common/gdb_unlinker.h"
-#include "common/hash_enum.h"
-#include "common/pathstuff.h"
-#include "common/selftest.h"
-#include "common/underlying.h"
-#include "common/vec.h"
-#include "complaints.h"
-#include "completer.h"
-#include "cp-support.h"
-#include "demangle.h"
+#include "dwarf2read.h"
 #include "dwarf-index-cache.h"
 #include "dwarf-index-common.h"
+#include "bfd.h"
+#include "elf-bfd.h"
+#include "symtab.h"
+#include "gdbtypes.h"
+#include "objfiles.h"
 #include "dwarf2.h"
+#include "buildsym.h"
+#include "demangle.h"
+#include "gdb-demangle.h"
+#include "expression.h"
+#include "filenames.h" /* for DOSish file names */
+#include "macrotab.h"
+#include "language.h"
+#include "complaints.h"
 #include "dwarf2expr.h"
 #include "dwarf2loc.h"
-#include "dwarf2read.h"
-#include "elf-bfd.h"
-#include "expression.h"
-#include "f-lang.h"
-#include "filename-seen-cache.h"
-#include "filenames.h"
-#include "gdb-demangle.h"
-#include "gdb/gdb-index.h"
-#include "gdb_bfd.h"
+#include "cp-support.h"
+#include "hashtab.h"
+#include "command.h"
 #include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbtypes.h"
+#include "block.h"
+#include "addrmap.h"
+#include "typeprint.h"
+#include "psympriv.h"
+#include <sys/stat.h>
+#include "completer.h"
+#include "common/vec.h"
+#include "c-lang.h"
 #include "go-lang.h"
-#include "hashtab.h"
-#include "language.h"
-#include "macrotab.h"
+#include "valprint.h"
+#include "gdbcore.h" /* for gnutarget */
+#include "gdb/gdb-index.h"
+#include <ctype.h>
+#include "gdb_bfd.h"
+#include "f-lang.h"
+#include "source.h"
+#include "common/filestuff.h"
+#include "build-id.h"
 #include "namespace.h"
-#include "objfiles.h"
+#include "common/gdb_unlinker.h"
+#include "common/function-view.h"
+#include "common/gdb_optional.h"
+#include "common/underlying.h"
+#include "common/byte-vector.h"
+#include "common/hash_enum.h"
+#include "filename-seen-cache.h"
 #include "producer.h"
-#include "psympriv.h"
+#include <fcntl.h>
+#include <sys/types.h>
+#include <algorithm>
+#include <unordered_set>
+#include <unordered_map>
+#include "common/selftest.h"
+#include <cmath>
+#include <set>
+#include <forward_list>
 #include "rust-lang.h"
-#include "source.h"
-#include "symtab.h"
-#include "typeprint.h"
-#include "valprint.h"
+#include "common/pathstuff.h"
 
 /* When == 1, print basic high level tracing messages.
    When > 1, be more verbose.
index 8845e99d6bff5b5b64294afb1e94c194b22961de..34c66167b5b5ce7e7f3e189c6790df1aeac6181f 100644 (file)
@@ -21,8 +21,6 @@
 #define DWARF2READ_H
 
 #include <unordered_map>
-
-/* Local non-gdb includes.  */
 #include "dwarf-index-cache.h"
 #include "filename-seen-cache.h"
 #include "gdb_obstack.h"
index 6d67418fa0a7ee76458d453aa92d5910660f5d1f..55a16bb2f8e1e5a08bc37c4b2d22df549b2ba4a4 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "auxv.h"
-#include "bcache.h"
 #include "bfd.h"
-#include "build-id.h"
-#include "complaints.h"
-#include "demangle.h"
 #include "elf-bfd.h"
 #include "elf/common.h"
 #include "elf/internal.h"
 #include "elf/mips.h"
-#include "filenames.h"
+#include "symtab.h"
+#include "symfile.h"
+#include "objfiles.h"
+#include "stabsread.h"
 #include "gdb-stabs.h"
-#include "gdb_bfd.h"
-#include "gdbthread.h"
+#include "complaints.h"
+#include "demangle.h"
+#include "psympriv.h"
+#include "filenames.h"
+#include "probe.h"
+#include "arch-utils.h"
 #include "gdbtypes.h"
+#include "value.h"
 #include "infcall.h"
+#include "gdbthread.h"
 #include "inferior.h"
+#include "regcache.h"
+#include "bcache.h"
+#include "gdb_bfd.h"
+#include "build-id.h"
 #include "location.h"
+#include "auxv.h"
 #include "mdebugread.h"
-#include "objfiles.h"
-#include "probe.h"
-#include "psympriv.h"
-#include "regcache.h"
-#include "stabsread.h"
-#include "symfile.h"
-#include "symtab.h"
-#include "value.h"
 
 /* Forward declarations.  */
 extern const struct sym_fns elf_sym_fns_gdb_index;
index a67fd4f67162b5fb1077d55e560820d03924537e..3f768b45309c7aba119580bb56cbd5d9e569a5a1 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "block.h"
-#include "cp-abi.h"
-#include "cp-support.h"
+#include "symtab.h"
+#include "gdbtypes.h"
+#include "value.h"
 #include "expression.h"
-#include "f-lang.h"
+#include "target.h"
 #include "frame.h"
-#include "gdb_obstack.h"
 #include "gdbthread.h"
-#include "gdbtypes.h"
+#include "language.h"          /* For CAST_IS_CONVERSION.  */
+#include "f-lang.h"            /* For array bound stuff.  */
+#include "cp-abi.h"
 #include "infcall.h"
-#include "language.h"
 #include "objc-lang.h"
-#include "objfiles.h"
+#include "block.h"
 #include "parser-defs.h"
-#include "regcache.h"
-#include "symtab.h"
-#include "target.h"
-#include "typeprint.h"
+#include "cp-support.h"
 #include "ui-out.h"
+#include "regcache.h"
 #include "user-regs.h"
 #include "valprint.h"
-#include "value.h"
+#include "gdb_obstack.h"
+#include "objfiles.h"
+#include "typeprint.h"
+#include <ctype.h>
 
 /* This is defined in valops.c */
 extern int overload_resolution;
index be09c2ceb3b829716d4b97d0464540f639ee5dc4..28e81646fbdc51ce82f52c77b6109591048c278d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "common/queue.h"
 #include "event-loop.h"
 #include "event-top.h"
+#include "common/queue.h"
 #include "ser-event.h"
 
 #ifdef HAVE_POLL
index 78cbead9379e1cede76a968ba564eb06db35dc8e..fb5d51c6e10b0148df9585f72f8d6aefba7b8c4d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <signal.h>
-
-/* Local non-gdb includes.  */
-#include "annotate.h"
-#include "cli/cli-script.h"
-#include "common/buffer.h"
-#include "continuations.h"
-#include "event-loop.h"
-#include "event-top.h"
-#include "gdb_select.h"
-#include "gdbcmd.h"
-#include "gdbthread.h"
+#include "top.h"
 #include "inferior.h"
 #include "infrun.h"
+#include "target.h"
+#include "terminal.h"          /* for job_control */
+#include "event-loop.h"
+#include "event-top.h"
 #include "interps.h"
+#include <signal.h>
+#include "cli/cli-script.h"     /* for reset_command_nest_depth */
 #include "main.h"
-#include "maint.h"
+#include "gdbthread.h"
 #include "observable.h"
+#include "continuations.h"
+#include "gdbcmd.h"            /* for dont_repeat() */
+#include "annotate.h"
+#include "maint.h"
+#include "common/buffer.h"
 #include "ser-event.h"
-#include "target.h"
-#include "terminal.h"
-#include "top.h"
+#include "gdb_select.h"
 
 /* readline include files.  */
 #include "readline/readline.h"
index c9a1fa7236ce85df3f5c633678fb93d2b21d49b7..a29ef0cde5062b1ab6a2227c447146dcc64e0e8d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "annotate.h"
-#include "breakpoint.h"
-#include "common/gdb_optional.h"
 #include "exceptions.h"
-#include "gdbthread.h"
+#include "breakpoint.h"
+#include "target.h"
 #include "inferior.h"
+#include "annotate.h"
+#include "ui-out.h"
 #include "serial.h"
-#include "target.h"
+#include "gdbthread.h"
 #include "top.h"
-#include "ui-out.h"
+#include "common/gdb_optional.h"
 
 static void
 print_flush (void)
index 1c3c16c053e9e7bc78bfeb1c9a930cd96bbd9793..77bd140a8e84243dfed35eb042718a2ab1986a4d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-#include <fcntl.h>
-#include <sys/stat.h>
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "common/pathstuff.h"
-#include "completer.h"
-#include "exec.h"
-#include "filenames.h"
 #include "frame.h"
-#include "gcore.h"
-#include "gdb_bfd.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbthread.h"
 #include "inferior.h"
+#include "target.h"
+#include "gdbcmd.h"
 #include "language.h"
+#include "filenames.h"
+#include "symfile.h"
 #include "objfiles.h"
+#include "completer.h"
+#include "value.h"
+#include "exec.h"
 #include "observable.h"
+#include "arch-utils.h"
+#include "gdbthread.h"
 #include "progspace.h"
+#include "gdb_bfd.h"
+#include "gcore.h"
+#include "source.h"
+
+#include <fcntl.h>
 #include "readline/readline.h"
+#include "gdbcore.h"
+
+#include <ctype.h>
+#include <sys/stat.h>
 #include "solist.h"
-#include "source.h"
-#include "symfile.h"
-#include "target.h"
-#include "value.h"
+#include <algorithm>
+#include "common/pathstuff.h"
 
 void (*deprecated_file_changed_hook) (const char *);
 
index 3778a7e32f115aabca1fe9e866040d9789137e5c..e9af4802872ca51fcbfa64389a11afae9151207f 100644 (file)
 #ifndef EXEC_H
 #define EXEC_H
 
-#include "memrange.h"
+#include "target.h"
 #include "progspace.h"
+#include "memrange.h"
 #include "symfile-add-flags.h"
-#include "target.h"
 
 struct target_section;
 struct target_ops;
index 2b136e26c6204c5ff56b6a6f8852f00b806e835a..a22499f4833b2379bc08323718bf1d5dec5e602f 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Local non-gdb includes.  */
-#include "block.h"
-#include "expression.h"
+#include "symtab.h"
 #include "gdbtypes.h"
+#include "expression.h"
+#include "value.h"
 #include "language.h"
-#include "objfiles.h"
 #include "parser-defs.h"
-#include "symtab.h"
+#include "user-regs.h"         /* For user_reg_map_regnum_to_name.  */
 #include "target.h"
-#include "user-regs.h"
+#include "block.h"
+#include "objfiles.h"
 #include "valprint.h"
-#include "value.h"
+
+#include <ctype.h>
 
 void
 print_expression (struct expression *exp, struct ui_file *stream)
index 5b99c0fb8dbc2bb051477f2bdc7a9fde6b2d780f..97594f853a22d76f726b19562897d22deda3c7dc 100644 (file)
 #ifndef EXTENSION_PRIV_H
 #define EXTENSION_PRIV_H
 
+#include "extension.h"
 #include <signal.h>
-
-/* Local non-gdb includes.  */
 #include "cli/cli-script.h"
-#include "extension.h"
 
 /* High level description of an extension/scripting language.
    An entry for each is compiled into GDB regardless of whether the support
index 0e44140786ec46413377634f0623c810703f20ef..8637bc53f2efdf420767b025f38a07f16a847f9e 100644 (file)
    have "ext_lang" in the name, and no other symbol in gdb does.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
 #include <signal.h>
-
-/* Local non-gdb includes.  */
+#include "target.h"
 #include "auto-load.h"
 #include "breakpoint.h"
-#include "cli/cli-script.h"
 #include "event-top.h"
-#include "extension-priv.h"
 #include "extension.h"
-#include "guile/guile.h"
+#include "extension-priv.h"
 #include "observable.h"
+#include "cli/cli-script.h"
 #include "python/python.h"
-#include "target.h"
+#include "guile/guile.h"
 
 /* Iterate over all external extension languages, regardless of whether the
    support has been compiled in or not.
index a77f1575ede54842600a77553c178127eefc36a5..2f1b71851c67665c83125b905ac9ba4accfa3e2c 100644 (file)
@@ -20,9 +20,9 @@
 #ifndef EXTENSION_H
 #define EXTENSION_H
 
-#include "common/array-view.h"
+#include "mi/mi-cmds.h" /* For PRINT_NO_VALUES, etc.  */
 #include "common/vec.h"
-#include "mi/mi-cmds.h"
+#include "common/array-view.h"
 
 struct breakpoint;
 struct command_line;
index 5128caea815c484e802e4201f7bf59be211f0f99..7bd119690b4049d2716eb825f2b14367be587b7d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <math.h>
-
-/* Local non-gdb includes.  */
-#include "c-lang.h"
-#include "charset.h"
-#include "cp-support.h"
-#include "expression.h"
-#include "f-lang.h"
-#include "gdbcore.h"
+#include "symtab.h"
 #include "gdbtypes.h"
-#include "language.h"
+#include "expression.h"
 #include "parser-defs.h"
-#include "symtab.h"
-#include "target-float.h"
+#include "language.h"
+#include "varobj.h"
+#include "gdbcore.h"
+#include "f-lang.h"
 #include "valprint.h"
 #include "value.h"
-#include "varobj.h"
+#include "cp-support.h"
+#include "charset.h"
+#include "c-lang.h"
+#include "target-float.h"
+
+#include <math.h>
 
 /* Local functions */
 
index d3c83b0720ffa11f7527febeb48b0b70232d64b8..a0e34b3058ddcc6b67560999b19b19cfaf221f70 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
+#include "gdb_obstack.h"
 #include "bfd.h"
+#include "symtab.h"
+#include "gdbtypes.h"
 #include "expression.h"
-#include "f-lang.h"
-#include "gdb_obstack.h"
+#include "value.h"
 #include "gdbcore.h"
-#include "gdbtypes.h"
-#include "symtab.h"
 #include "target.h"
+#include "f-lang.h"
 #include "typeprint.h"
-#include "value.h"
 
 #if 0                          /* Currently unused.  */
 static void f_type_print_args (struct type *, struct ui_file *);
index 0dea6ba407eedea991b80a79b07d38fa6e71cb2d..5f9dd4dedb8453ce2a6b66bf5a3271ba1304d5c1 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "block.h"
-#include "command.h"
-#include "dictionary.h"
+#include "symtab.h"
+#include "gdbtypes.h"
 #include "expression.h"
+#include "value.h"
+#include "valprint.h"
+#include "language.h"
 #include "f-lang.h"
 #include "frame.h"
 #include "gdbcore.h"
-#include "gdbtypes.h"
-#include "language.h"
-#include "symtab.h"
-#include "valprint.h"
-#include "value.h"
+#include "command.h"
+#include "block.h"
+#include "dictionary.h"
 
 static void f77_get_dynamic_length_of_aggregate (struct type *);
 
index fe85847edcee80503368627f06eb5bf02e28a5c2..d4f4c8cf3592b5eaf61ccdd7b3514287feef9d54 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#if defined(HAVE_KINFO_GETFILE) || defined(HAVE_KINFO_GETVMMAP)
-#include <libutil.h>
-#endif
+#include "common/byte-vector.h"
+#include "gdbcore.h"
+#include "inferior.h"
+#include "regcache.h"
+#include "regset.h"
+#include "gdbcmd.h"
+#include "gdbthread.h"
+#include "common/gdb_wait.h"
+#include "inf-ptrace.h"
+#include <sys/types.h>
 #include <sys/procfs.h>
 #include <sys/ptrace.h>
 #include <sys/signal.h>
 #include <sys/sysctl.h>
-#include <sys/types.h>
 #include <sys/user.h>
-
-/* Standard C++ includes.  */
-#include <list>
-
-/* Local non-gdb includes.  */
-#include "common/byte-vector.h"
+#if defined(HAVE_KINFO_GETFILE) || defined(HAVE_KINFO_GETVMMAP)
+#include <libutil.h>
+#endif
 #if !defined(HAVE_KINFO_GETVMMAP)
 #include "common/filestuff.h"
 #endif
-#include "common/gdb_wait.h"
+
 #include "elf-bfd.h"
 #include "fbsd-nat.h"
 #include "fbsd-tdep.h"
-#include "gdbcmd.h"
-#include "gdbcore.h"
-#include "gdbthread.h"
-#include "inf-ptrace.h"
-#include "inferior.h"
-#include "regcache.h"
-#include "regset.h"
+
+#include <list>
 
 /* Return the name of a file that can be opened to get the symbols for
    the child process identified by PID.  */
index 5dec9825393aa1ce911edb8a28b909f24d045214..b0c9eb16c7754f6b2353838b837d4a9671dfc373 100644 (file)
 #ifndef FBSD_NAT_H
 #define FBSD_NAT_H
 
-#include <sys/proc.h>
-
-/* Local non-gdb includes.  */
 #include "inf-ptrace.h"
+#include <sys/proc.h>
 
 #ifdef TRAP_BRKPT
 /* MIPS does not set si_code for SIGTRAP.  sparc64 reports
index 73d62cffe016c5c4c8bbfc4380134ece517b78bc..cd207d88bc384f097fa42f72402537783d8b9248 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <arpa/inet.h>
-#include <sys/socket.h>
-
-/* Local non-gdb includes.  */
 #include "auxv.h"
-#include "elf-bfd.h"
-#include "fbsd-tdep.h"
 #include "gdbcore.h"
-#include "gdbthread.h"
 #include "inferior.h"
-#include "objfiles.h"
 #include "regcache.h"
 #include "regset.h"
+#include "gdbthread.h"
+#include "objfiles.h"
 #include "xml-syscall.h"
+#include <sys/socket.h>
+#include <arpa/inet.h>
+
+#include "elf-bfd.h"
+#include "fbsd-tdep.h"
 
 /* This enum is derived from FreeBSD's <sys/signal.h>.  */
 
index 65ac33c9fa6cd1576de4125f7d4a4b355514c96b..a8ea0858ac899d02fe28f14434a15c8e81040574 100644 (file)
@@ -18,8 +18,6 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "filename-seen-cache.h"
 #include "filenames.h"
 
index 5ed6304758947846b6c3568405b5d76ed40dfdc8..824245e77e619070b954334075f122fcea27cb7d 100644 (file)
@@ -20,8 +20,8 @@
 #ifndef FILENAME_SEEN_CACHE_H
 #define FILENAME_SEEN_CACHE_H
 
-#include "common/function-view.h"
 #include "defs.h"
+#include "common/function-view.h"
 
 /* Cache to watch for file names already seen.  */
 
index e5eab1c107948a457417aa6f48713e03a7fa1f27..fdc4713007ae19cc2ca5fc81ab50d2fbf9969163 100644 (file)
@@ -18,8 +18,6 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "filesystem.h"
 #include "gdbarch.h"
 #include "gdbcmd.h"
index 6d66730edee633785a45f50fd80d0ee0d1ce0b7c..52f8f80aaae8f50d5068d5f0c669f62b4e6d208d 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
 #include "arch-utils.h"
-#include "cli/cli-utils.h"
-#include "common/byte-vector.h"
+#include <ctype.h>
 #include "gdbcmd.h"
-#include "target.h"
 #include "value.h"
+#include "target.h"
+#include "cli/cli-utils.h"
+#include <algorithm>
+#include "common/byte-vector.h"
 
 /* Copied from bfd_put_bits.  */
 
index 0b97db571995efb594c55ab4909a238c2546bca8..e89ee37ffc7e788e10e0c87494fcc190e646203a 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "block.h"
-#include "common/selftest.h"
-#include "dwarf2loc.h"
+#include "symtab.h"
+#include "gdbtypes.h"
 #include "frame.h"
+#include "value.h"
 #include "gdbcore.h"
-#include "gdbtypes.h"
 #include "inferior.h"
-#include "language.h"
-#include "objfiles.h"
-#include "regcache.h"
-#include "symfile.h"
-#include "symtab.h"
 #include "target.h"
+#include "symfile.h"           /* for overlay functions */
+#include "regcache.h"
 #include "user-regs.h"
-#include "value.h"
+#include "block.h"
+#include "objfiles.h"
+#include "language.h"
+#include "dwarf2loc.h"
+#include "common/selftest.h"
 
 /* Basic byte-swapping routines.  All 'extract' functions return a
    host-format integer from a target-format integer at ADDR which is
index a4108231fc5c2db58fae68712b4feed96a2714ee..4c49848830ae9ba527b193a75677c0f43a6cc663 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "common/common-inferior.h"
-#include "common/filestuff.h"
-#include "common/job-control.h"
-#include "gdbcmd.h"
-#include "gdbthread.h"
 #include "inferior.h"
-#include "nat/fork-inferior.h"
+#include "gdbcmd.h"
 #include "terminal.h"
+#include "gdbthread.h"
 #include "top.h"
+#include "common/job-control.h"
+#include "common/filestuff.h"
+#include "nat/fork-inferior.h"
+#include "common/common-inferior.h"
 
 /* The exec-wrapper, if any, that will be used when starting the
    inferior.  */
index 8a580cd208494c5d1ef79d1d378c2cac653fccb1..47897fc653dfdfc2cbc43fffef726818ffe7e0e4 100644 (file)
@@ -18,8 +18,6 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
 #include "frame-base.h"
 #include "frame.h"
 #include "gdb_obstack.h"
index 46096c212b473d226de488007e53a9764ff10fb0..e5ddeba90773b545092f74c3def5f98ede20832a 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "dummy-frame.h"
-#include "frame-unwind.h"
 #include "frame.h"
-#include "gdb_obstack.h"
+#include "frame-unwind.h"
+#include "dummy-frame.h"
 #include "inline-frame.h"
+#include "value.h"
 #include "regcache.h"
+#include "gdb_obstack.h"
 #include "target.h"
-#include "value.h"
 
 static struct gdbarch_data *frame_unwind_data;
 
index 9b8f0bcc400b06639587d76c16a69917580e7a94..d8b5f819f1d4162f3302cfd13e5d2cd73dc9c18f 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "annotate.h"
-#include "block.h"
-#include "command.h"
-#include "dummy-frame.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
 #include "frame.h"
+#include "target.h"
+#include "value.h"
+#include "inferior.h"  /* for inferior_ptid */
+#include "regcache.h"
+#include "user-regs.h"
 #include "gdb_obstack.h"
-#include "gdbcmd.h"
+#include "dummy-frame.h"
+#include "sentinel-frame.h"
 #include "gdbcore.h"
-#include "gdbthread.h"
-#include "hashtab.h"
-#include "inferior.h"
-#include "inline-frame.h"
+#include "annotate.h"
 #include "language.h"
-#include "objfiles.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "command.h"
+#include "gdbcmd.h"
 #include "observable.h"
-#include "regcache.h"
-#include "sentinel-frame.h"
-#include "target.h"
+#include "objfiles.h"
+#include "gdbthread.h"
+#include "block.h"
+#include "inline-frame.h"
 #include "tracepoint.h"
-#include "user-regs.h"
+#include "hashtab.h"
 #include "valprint.h"
-#include "value.h"
 
 /* The sentinel frame terminates the innermost end of the frame chain.
    If unwound, it returns the information needed to construct an
index b47d373421e85fec5bcb71538cd9672f8604ec57..e5261455fd92fc5a940216449caaf39cd96e3377 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "elf-bfd.h"
-#include "elf/frv.h"
-#include "frame-unwind.h"
-#include "frame.h"
-#include "frv-tdep.h"
 #include "gdbcore.h"
-#include "linux-tdep.h"
+#include "target.h"
+#include "frame.h"
 #include "osabi.h"
 #include "regcache.h"
-#include "regset.h"
-#include "target.h"
+#include "elf-bfd.h"
+#include "elf/frv.h"
+#include "frv-tdep.h"
 #include "trad-frame.h"
+#include "frame-unwind.h"
+#include "regset.h"
+#include "linux-tdep.h"
 
 /* Define the size (in bytes) of an FR-V instruction.  */
 static const int frv_instr_size = 4;
index 9c00f96c19048f4aa8dc3c552020c377930a481a..804206bcb37a4c1ba12c3bdb8642844ae17c8596 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "../opcodes/frv-desc.h"
+#include "inferior.h"
+#include "gdbcore.h"
 #include "arch-utils.h"
+#include "regcache.h"
+#include "frame.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "trad-frame.h"
 #include "dis-asm.h"
+#include "sim-regno.h"
+#include "gdb/sim-frv.h"
+#include "../opcodes/frv-desc.h"       /* for the H_SPR_... enums */
+#include "symtab.h"
 #include "elf-bfd.h"
 #include "elf/frv.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
-#include "frame.h"
-#include "frv-tdep.h"
-#include "gdb/sim-frv.h"
-#include "gdbcore.h"
-#include "infcall.h"
-#include "inferior.h"
-#include "objfiles.h"
 #include "osabi.h"
-#include "regcache.h"
-#include "sim-regno.h"
+#include "infcall.h"
 #include "solib.h"
-#include "symtab.h"
-#include "trad-frame.h"
+#include "frv-tdep.h"
+#include "objfiles.h"
 
 struct frv_unwind_cache                /* was struct frame_extra_info */
   {
index 404ec98484f670842d13bed55515aa7bcb8490cf..bded02fae4bc4e880b49fb61159f08ddb6a65214 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C++ includes.  */
-#include <algorithm>
-
-/* Local non-gdb includes.  */
-#include "arch-utils.h"
-#include "dis-asm.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
 #include "frame.h"
-#include "ft32-tdep.h"
-#include "gdb/sim-ft32.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "symtab.h"
+#include "gdbtypes.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
-#include "gdbtypes.h"
+#include "value.h"
 #include "inferior.h"
-#include "language.h"
+#include "symfile.h"
 #include "objfiles.h"
-#include "opcode/ft32.h"
 #include "osabi.h"
-#include "record.h"
+#include "language.h"
+#include "arch-utils.h"
 #include "regcache.h"
-#include "symfile.h"
-#include "symtab.h"
 #include "trad-frame.h"
-#include "value.h"
+#include "dis-asm.h"
+#include "record.h"
+
+#include "opcode/ft32.h"
+
+#include "ft32-tdep.h"
+#include "gdb/sim-ft32.h"
+#include <algorithm>
 
 #define RAM_BIAS  0x800000  /* Bias added to RAM addresses.  */