Browse Source

gdb, gdbserver, gdbsupport: remove includes of early headers

Now that defs.h, server.h and common-defs.h are included via the
`-include` option, it is no longer necessary for source files to include
them.  Remove all the inclusions of these files I could find.  Update
the generation scripts where relevant.

Change-Id: Ia026cff269c1b7ae7386dd3619bc9bb6a5332837
Approved-By: Pedro Alves <pedro@palves.net>
master
Simon Marchi 2 years ago
committed by Simon Marchi
parent
commit
18d2988e5d
  1. 1
      gdb/aarch32-linux-nat.c
  2. 2
      gdb/aarch32-tdep.c
  3. 1
      gdb/aarch64-fbsd-nat.c
  4. 1
      gdb/aarch64-fbsd-tdep.c
  5. 1
      gdb/aarch64-linux-nat.c
  6. 1
      gdb/aarch64-linux-tdep.c
  7. 1
      gdb/aarch64-nat.c
  8. 1
      gdb/aarch64-newlib-tdep.c
  9. 1
      gdb/aarch64-ravenscar-thread.c
  10. 1
      gdb/aarch64-tdep.c
  11. 1
      gdb/ada-exp.y
  12. 1
      gdb/ada-lang.c
  13. 1
      gdb/ada-tasks.c
  14. 1
      gdb/ada-typeprint.c
  15. 1
      gdb/ada-valprint.c
  16. 1
      gdb/ada-varobj.c
  17. 1
      gdb/addrmap.c
  18. 1
      gdb/agent.c
  19. 1
      gdb/aix-thread.c
  20. 7
      gdb/alloc.c
  21. 1
      gdb/alpha-bsd-nat.c
  22. 1
      gdb/alpha-bsd-tdep.c
  23. 1
      gdb/alpha-linux-nat.c
  24. 1
      gdb/alpha-linux-tdep.c
  25. 1
      gdb/alpha-mdebug-tdep.c
  26. 1
      gdb/alpha-netbsd-tdep.c
  27. 1
      gdb/alpha-obsd-tdep.c
  28. 1
      gdb/alpha-tdep.c
  29. 1
      gdb/amd-dbgapi-target.c
  30. 1
      gdb/amd64-bsd-nat.c
  31. 1
      gdb/amd64-darwin-tdep.c
  32. 1
      gdb/amd64-dicos-tdep.c
  33. 1
      gdb/amd64-fbsd-nat.c
  34. 1
      gdb/amd64-fbsd-tdep.c
  35. 1
      gdb/amd64-linux-nat.c
  36. 1
      gdb/amd64-linux-tdep.c
  37. 1
      gdb/amd64-nat.c
  38. 1
      gdb/amd64-netbsd-nat.c
  39. 1
      gdb/amd64-netbsd-tdep.c
  40. 1
      gdb/amd64-obsd-nat.c
  41. 1
      gdb/amd64-obsd-tdep.c
  42. 1
      gdb/amd64-ravenscar-thread.c
  43. 1
      gdb/amd64-sol2-tdep.c
  44. 1
      gdb/amd64-tdep.c
  45. 1
      gdb/amd64-windows-nat.c
  46. 1
      gdb/amd64-windows-tdep.c
  47. 1
      gdb/amdgpu-tdep.c
  48. 1
      gdb/annotate.c
  49. 1
      gdb/arc-linux-nat.c
  50. 1
      gdb/arc-linux-tdep.c
  51. 1
      gdb/arc-newlib-tdep.c
  52. 1
      gdb/arc-tdep.c
  53. 1
      gdb/arch-utils.c
  54. 1
      gdb/arch/aarch32.c
  55. 1
      gdb/arch/aarch64-insn.c
  56. 1
      gdb/arch/aarch64-mte-linux.h
  57. 1
      gdb/arch/aarch64-scalable-linux.h
  58. 1
      gdb/arch/aarch64.c
  59. 1
      gdb/arch/amd64.c
  60. 1
      gdb/arch/arc.c
  61. 1
      gdb/arch/arm-get-next-pcs.c
  62. 1
      gdb/arch/arm-linux.c
  63. 1
      gdb/arch/arm.c
  64. 1
      gdb/arch/csky.c
  65. 1
      gdb/arch/i386.c
  66. 1
      gdb/arch/loongarch.c
  67. 1
      gdb/arch/ppc-linux-common.c
  68. 1
      gdb/arch/riscv.c
  69. 1
      gdb/arch/tic6x.c
  70. 1
      gdb/arm-bsd-tdep.c
  71. 1
      gdb/arm-fbsd-nat.c
  72. 1
      gdb/arm-fbsd-tdep.c
  73. 1
      gdb/arm-linux-nat.c
  74. 1
      gdb/arm-linux-tdep.c
  75. 1
      gdb/arm-netbsd-nat.c
  76. 1
      gdb/arm-netbsd-tdep.c
  77. 1
      gdb/arm-none-tdep.c
  78. 1
      gdb/arm-obsd-tdep.c
  79. 1
      gdb/arm-pikeos-tdep.c
  80. 1
      gdb/arm-tdep.c
  81. 1
      gdb/arm-wince-tdep.c
  82. 1
      gdb/async-event.c
  83. 1
      gdb/auto-load.c
  84. 1
      gdb/auxv.c
  85. 1
      gdb/avr-tdep.c
  86. 1
      gdb/ax-gdb.c
  87. 1
      gdb/ax-general.c
  88. 1
      gdb/bcache.c
  89. 1
      gdb/bfd-target.c
  90. 1
      gdb/bfin-linux-tdep.c
  91. 1
      gdb/bfin-tdep.c
  92. 1
      gdb/block.c
  93. 1
      gdb/blockframe.c
  94. 1
      gdb/bpf-tdep.c
  95. 1
      gdb/break-catch-exec.c
  96. 1
      gdb/break-catch-fork.c
  97. 1
      gdb/break-catch-load.c
  98. 1
      gdb/break-catch-sig.c
  99. 1
      gdb/break-catch-syscall.c
  100. 1
      gdb/break-catch-throw.c

1
gdb/aarch32-linux-nat.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "regcache.h"
#include "arm-tdep.h"

2
gdb/aarch32-tdep.c

@ -15,8 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "aarch32-tdep.h"
#include "gdbsupport/common-regcache.h"

1
gdb/aarch64-fbsd-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include "inferior.h"
#include "regcache.h"

1
gdb/aarch64-fbsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbarch.h"
#include "fbsd-tdep.h"

1
gdb/aarch64-linux-nat.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"

1
gdb/aarch64-linux-tdep.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbarch.h"
#include "glibc-tdep.h"

1
gdb/aarch64-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbarch.h"
#include "inferior.h"
#include "cli/cli-cmds.h"

1
gdb/aarch64-newlib-tdep.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbarch.h"
#include "aarch64-tdep.h"

1
gdb/aarch64-ravenscar-thread.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
#include "aarch64-tdep.h"

1
gdb/aarch64-tdep.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "language.h"

1
gdb/ada-exp.y

@ -35,7 +35,6 @@
%{
#include "defs.h"
#include <ctype.h>
#include "expression.h"
#include "value.h"

1
gdb/ada-lang.c

@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include <ctype.h>
#include "gdbsupport/gdb_regex.h"
#include "frame.h"

1
gdb/ada-tasks.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "observable.h"
#include "gdbcmd.h"
#include "target.h"

1
gdb/ada-typeprint.c

@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "bfd.h"
#include "gdbtypes.h"
#include "value.h"

1
gdb/ada-valprint.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include <ctype.h>
#include "gdbtypes.h"
#include "expression.h"

1
gdb/ada-varobj.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "ada-lang.h"
#include "varobj.h"
#include "language.h"

1
gdb/addrmap.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "addrmap.h"
#include "gdbsupport/selftest.h"

1
gdb/agent.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "command.h"
#include "gdbcmd.h"
#include "target.h"

1
gdb/aix-thread.c

@ -39,7 +39,6 @@
*/
#include "defs.h"
#include "gdbthread.h"
#include "target.h"
#include "inferior.h"

7
gdb/alloc.c

@ -27,14 +27,9 @@
file can't live there.
So, it lives in gdb and is built separately by gdb and gdbserver.
Please be aware of this when modifying it.
Please be aware of this when modifying it. */
This also explains why this file includes common-defs.h and not
defs.h or server.h -- we'd prefer to avoid depending on the
GDBSERVER define when possible, and for this file it seemed
simple to do so. */
#include "gdbsupport/common-defs.h"
#include "libiberty.h"
#include "gdbsupport/errors.h"

1
gdb/alpha-bsd-nat.c

@ -19,7 +19,6 @@
/* We define this to get types like register_t. */
#define _KERNTYPES
#include "defs.h"
#include "inferior.h"
#include "regcache.h"

1
gdb/alpha-bsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "regcache.h"
#include "alpha-tdep.h"

1
gdb/alpha-linux-nat.c

@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
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"

1
gdb/alpha-linux-tdep.c

@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "osabi.h"
#include "solib-svr4.h"

1
gdb/alpha-mdebug-tdep.c

@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"

1
gdb/alpha-netbsd-tdep.c

@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
#include "osabi.h"

1
gdb/alpha-obsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
#include "osabi.h"

1
gdb/alpha-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"

1
gdb/amd-dbgapi-target.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "amd-dbgapi-target.h"
#include "amdgpu-tdep.h"

1
gdb/amd64-bsd-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"

1
gdb/amd64-darwin-tdep.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"

1
gdb/amd64-dicos-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "amd64-tdep.h"
#include "gdbsupport/x86-xstate.h"

1
gdb/amd64-fbsd-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"

1
gdb/amd64-fbsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "regset.h"
#include "target.h"

1
gdb/amd64-linux-nat.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "elf/common.h"

1
gdb/amd64-linux-tdep.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "gdbcore.h"

1
gdb/amd64-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbarch.h"
#include "regcache.h"

1
gdb/amd64-netbsd-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include "netbsd-nat.h"

1
gdb/amd64-netbsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "gdbcore.h"

1
gdb/amd64-obsd-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
#include "target.h"

1
gdb/amd64-obsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "gdbcore.h"

1
gdb/amd64-ravenscar-thread.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbarch.h"
#include "gdbcore.h"
#include "regcache.h"

1
gdb/amd64-sol2-tdep.c

@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
#include "regcache.h"

1
gdb/amd64-tdep.c

@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "language.h"
#include "opcode/i386.h"
#include "dis-asm.h"

1
gdb/amd64-windows-nat.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "windows-nat.h"
#include "x86-nat.h"
#include "amd64-tdep.h"

1
gdb/amd64-windows-tdep.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "amd64-tdep.h"
#include "gdbsupport/x86-xstate.h"

1
gdb/amdgpu-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "amd-dbgapi-target.h"
#include "amdgpu-tdep.h"

1
gdb/annotate.c

@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "annotate.h"
#include "value.h"
#include "target.h"

1
gdb/arc-linux-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"

1
gdb/arc-linux-tdep.c

@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* GDB header files. */
#include "defs.h"
#include "linux-tdep.h"
#include "objfiles.h"
#include "opcode/arc.h"

1
gdb/arc-newlib-tdep.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbarch.h"
#include "arc-tdep.h"

1
gdb/arc-tdep.c

@ -19,7 +19,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* GDB header files. */
#include "defs.h"
#include "arch-utils.h"
#include "elf-bfd.h"
#include "disasm.h"

1
gdb/arch-utils.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include "gdbcmd.h"

1
gdb/arch/aarch32.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "aarch32.h"
#include "../features/arm/arm-core.c"

1
gdb/arch/aarch64-insn.c

@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "aarch64-insn.h"
/* Toggle this file's internal debugging dump. */

1
gdb/arch/aarch64-mte-linux.h

@ -20,7 +20,6 @@
#ifndef ARCH_AARCH64_MTE_LINUX_H
#define ARCH_AARCH64_MTE_LINUX_H
#include "gdbsupport/common-defs.h"
/* Feature check for Memory Tagging Extension. */
#ifndef HWCAP2_MTE

1
gdb/arch/aarch64-scalable-linux.h

@ -21,7 +21,6 @@
#ifndef ARCH_AARCH64_SCALABLE_LINUX_H
#define ARCH_AARCH64_SCALABLE_LINUX_H
#include "gdbsupport/common-defs.h"
#include "gdbsupport/common-regcache.h"
/* Feature check for Scalable Matrix Extension. */

1
gdb/arch/aarch64.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "aarch64.h"
#include <stdlib.h>

1
gdb/arch/amd64.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "amd64.h"
#include "gdbsupport/x86-xstate.h"
#include <stdlib.h>

1
gdb/arch/arc.c

@ -16,7 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "arc.h"
#include <stdlib.h>
#include <unordered_map>

1
gdb/arch/arm-get-next-pcs.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "gdbsupport/gdb_vecs.h"
#include "gdbsupport/common-regcache.h"
#include "arm.h"

1
gdb/arch/arm-linux.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "gdbsupport/common-regcache.h"
#include "arch/arm.h"
#include "arm-linux.h"

1
gdb/arch/arm.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "gdbsupport/common-regcache.h"
#include "arm.h"

1
gdb/arch/csky.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "csky.h"
#include <stdlib.h>

1
gdb/arch/i386.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "i386.h"
#include "gdbsupport/tdesc.h"
#include "gdbsupport/x86-xstate.h"

1
gdb/arch/loongarch.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "loongarch.h"
#include <stdlib.h>
#include <unordered_map>

1
gdb/arch/ppc-linux-common.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "arch/ppc-linux-common.h"
#include "arch/ppc-linux-tdesc.h"

1
gdb/arch/riscv.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
#include "riscv.h"
#include <stdlib.h>
#include <unordered_map>

1
gdb/arch/tic6x.c

@ -17,7 +17,6 @@
#include "gdbsupport/tdesc.h"
#include "tic6x.h"
#include "gdbsupport/common-defs.h"
#include "../features/tic6x-core.c"
#include "../features/tic6x-gp.c"

1
gdb/arm-bsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"

1
gdb/arm-fbsd-nat.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "target.h"

1
gdb/arm-fbsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "elf/common.h"
#include "target-descriptions.h"

1
gdb/arm-linux-nat.c

@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"

1
gdb/arm-linux-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include "value.h"
#include "gdbtypes.h"

1
gdb/arm-netbsd-nat.c

@ -19,7 +19,6 @@
/* We define this to get types like register_t. */
#define _KERNTYPES
#include "defs.h"
#include "gdbcore.h"
#include "inferior.h"
#include "regcache.h"

1
gdb/arm-netbsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "arch/arm.h"

1
gdb/arm-none-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arm-tdep.h"
#include "arch-utils.h"
#include "regcache.h"

1
gdb/arm-obsd-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "trad-frame.h"
#include "tramp-frame.h"

1
gdb/arm-pikeos-tdep.c

@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "objfiles.h"
#include "arm-tdep.h"
#include "osabi.h"

1
gdb/arm-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include <ctype.h>

1
gdb/arm-wince-tdep.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "osabi.h"
#include "gdbcore.h"
#include "target.h"

1
gdb/async-event.c

@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "async-event.h"
#include "ser-event.h"

1
gdb/auto-load.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include <ctype.h>
#include "auto-load.h"
#include "progspace.h"

1
gdb/auxv.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include "gdbtypes.h"
#include "command.h"

1
gdb/avr-tdep.c

@ -22,7 +22,6 @@
/* Portions of this file were taken from the original gdb-4.18 patch developed
by Denis Chertykov, denisc@overta.ru */
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"

1
gdb/ax-gdb.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "symtab.h"
#include "symfile.h"
#include "gdbtypes.h"

1
gdb/ax-general.c

@ -21,7 +21,6 @@
dependencies, since we want to be able to use them in contexts
outside of GDB (test suites, the stub, etc.) */
#include "defs.h"
#include "ax.h"
#include "gdbarch.h"

1
gdb/bcache.c

@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "bcache.h"

1
gdb/bfd-target.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "target.h"
#include "bfd-target.h"
#include "exec.h"

1
gdb/bfin-linux-tdep.c

@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include "regcache.h"
#include "tramp-frame.h"

1
gdb/bfin-tdep.c

@ -19,7 +19,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "arch-utils.h"

1
gdb/block.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "block.h"
#include "symtab.h"
#include "symfile.h"

1
gdb/blockframe.c

@ -18,7 +18,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "symtab.h"
#include "bfd.h"
#include "objfiles.h"

1
gdb/bpf-tdep.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include "dis-asm.h"
#include "frame.h"

1
gdb/break-catch-exec.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "annotate.h"
#include "arch-utils.h"

1
gdb/break-catch-fork.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "annotate.h"
#include "arch-utils.h"

1
gdb/break-catch-load.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "annotate.h"
#include "arch-utils.h"

1
gdb/break-catch-sig.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include <ctype.h>
#include "breakpoint.h"

1
gdb/break-catch-syscall.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include <ctype.h>
#include "breakpoint.h"
#include "gdbcmd.h"

1
gdb/break-catch-throw.c

@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "arch-utils.h"
#include <ctype.h>
#include "breakpoint.h"

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save