]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Run check-include-guards.py
authorTom Tromey <tromey@adacore.com>
Thu, 18 Apr 2024 15:28:29 +0000 (09:28 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 18 Dec 2024 17:00:44 +0000 (10:00 -0700)
This patch is the result of running check-include-guards.py on the
current tree.  Running it a second time causes no changes.

Reviewed-By: Tom de Vries <tdevries@suse.de>
510 files changed:
gdb/aarch32-linux-nat.h
gdb/aarch32-tdep.h
gdb/aarch64-fbsd-tdep.h
gdb/aarch64-linux-tdep.h
gdb/aarch64-nat.h
gdb/aarch64-ravenscar-thread.h
gdb/aarch64-tdep.h
gdb/ada-exp.h
gdb/ada-lang.h
gdb/addrmap.h
gdb/alpha-bsd-tdep.h
gdb/alpha-tdep.h
gdb/amd-dbgapi-target.h
gdb/amd64-bsd-nat.h
gdb/amd64-darwin-tdep.h
gdb/amd64-fbsd-tdep.h
gdb/amd64-linux-tdep.h
gdb/amd64-nat.h
gdb/amd64-ravenscar-thread.h
gdb/amd64-tdep.h
gdb/amdgpu-tdep.h
gdb/annotate.h
gdb/arc-linux-tdep.h
gdb/arc-tdep.h
gdb/arch-utils.h
gdb/arch/aarch32.h
gdb/arch/aarch64-insn.h
gdb/arch/aarch64-mte-linux.h
gdb/arch/aarch64-mte.h
gdb/arch/aarch64-scalable-linux.h
gdb/arch/aarch64.h
gdb/arch/amd64-linux-tdesc.h
gdb/arch/amd64.h
gdb/arch/arc.h
gdb/arch/arm-get-next-pcs.h
gdb/arch/arm-linux.h
gdb/arch/arm.h
gdb/arch/csky.h
gdb/arch/i386-linux-tdesc.h
gdb/arch/i386.h
gdb/arch/loongarch.h
gdb/arch/ppc-linux-common.h
gdb/arch/ppc-linux-tdesc.h
gdb/arch/riscv.h
gdb/arch/tic6x.h
gdb/arch/x86-linux-tdesc-features.h
gdb/arch/x86-linux-tdesc.h
gdb/arch/xtensa.h
gdb/arm-fbsd-tdep.h
gdb/arm-linux-tdep.h
gdb/arm-netbsd-tdep.h
gdb/arm-tdep.h
gdb/async-event.h
gdb/auto-load.h
gdb/auxv.h
gdb/ax-gdb.h
gdb/ax.h
gdb/bcache.h
gdb/bfd-target.h
gdb/bfin-tdep.h
gdb/block.h
gdb/break-cond-parse.h
gdb/breakpoint.h
gdb/bsd-kvm.h
gdb/bsd-uthread.h
gdb/bt-utils.h
gdb/btrace.h
gdb/build-id.h
gdb/buildsym-legacy.h
gdb/buildsym.h
gdb/c-exp.h
gdb/c-lang.h
gdb/c-support.h
gdb/cgen-remap.h
gdb/charset-list.h
gdb/charset.h
gdb/cli-out.h
gdb/cli/cli-cmds.h
gdb/cli/cli-decode.h
gdb/cli/cli-interp.h
gdb/cli/cli-option.h
gdb/cli/cli-script.h
gdb/cli/cli-setshow.h
gdb/cli/cli-style.h
gdb/cli/cli-utils.h
gdb/coff-pe-read.h
gdb/command.h
gdb/compile/compile-c.h
gdb/compile/compile-cplus.h
gdb/compile/compile-internal.h
gdb/compile/compile-object-load.h
gdb/compile/compile-object-run.h
gdb/compile/compile.h
gdb/compile/gcc-c-plugin.h
gdb/compile/gcc-cp-plugin.h
gdb/complaints.h
gdb/completer.h
gdb/config/nm-linux.h
gdb/cp-abi.h
gdb/cp-support.h
gdb/cris-tdep.h
gdb/csky-tdep.h
gdb/ctfread.h
gdb/d-lang.h
gdb/darwin-nat.h
gdb/dcache.h
gdb/debuginfod-support.h
gdb/defs.h
gdb/dicos-tdep.h
gdb/dictionary.h
gdb/disasm-flags.h
gdb/disasm.h
gdb/displaced-stepping.h
gdb/dummy-frame.h
gdb/dwarf2/call-site.h
gdb/dwarf2/comp-unit-head.h
gdb/dwarf2/expr.h
gdb/dwarf2/frame-tailcall.h
gdb/dwarf2/frame.h
gdb/dwarf2/index-cache.h
gdb/dwarf2/index-common.h
gdb/dwarf2/index-write.h
gdb/dwarf2/line-header.h
gdb/dwarf2/loc.h
gdb/dwarf2/public.h
gdb/dwarf2/read-debug-names.h
gdb/dwarf2/read-gdb-index.h
gdb/dwarf2/read.h
gdb/dwarf2/types.h
gdb/elf-none-tdep.h
gdb/event-top.h
gdb/exceptions.h
gdb/exec.h
gdb/expop.h
gdb/expression.h
gdb/extension-priv.h
gdb/extension.h
gdb/f-array-walker.h
gdb/f-exp.h
gdb/f-lang.h
gdb/fbsd-nat.h
gdb/fbsd-tdep.h
gdb/filename-seen-cache.h
gdb/filesystem.h
gdb/frame-base.h
gdb/frame-id.h
gdb/frame-unwind.h
gdb/frame.h
gdb/frv-tdep.h
gdb/ft32-tdep.h
gdb/gcore-elf.h
gdb/gcore.h
gdb/gdb-demangle.h
gdb/gdb-stabs.h
gdb/gdb_bfd.h
gdb/gdb_curses.h
gdb/gdb_expat.h
gdb/gdb_proc_service.h
gdb/gdb_vfork.h
gdb/gdb_wchar.h
gdb/gdbarch.h
gdb/gdbcore.h
gdb/gdbthread.h
gdb/gdbtypes.h
gdb/glibc-tdep.h
gdb/gmp-utils.h
gdb/gnu-nat-mig.h
gdb/gnu-nat.h
gdb/go-lang.h
gdb/gregset.h
gdb/guile/guile-internal.h
gdb/guile/guile.h
gdb/hppa-bsd-tdep.h
gdb/hppa-linux-offsets.h
gdb/hppa-tdep.h
gdb/i386-bsd-nat.h
gdb/i386-darwin-tdep.h
gdb/i386-fbsd-tdep.h
gdb/i386-linux-tdep.h
gdb/i386-tdep.h
gdb/i387-tdep.h
gdb/ia64-libunwind-tdep.h
gdb/ia64-tdep.h
gdb/inf-child.h
gdb/inf-loop.h
gdb/inf-ptrace.h
gdb/infcall.h
gdb/inferior-iter.h
gdb/inferior.h
gdb/infrun.h
gdb/inline-frame.h
gdb/interps.h
gdb/jit.h
gdb/language.h
gdb/linespec.h
gdb/linux-fork.h
gdb/linux-nat-trad.h
gdb/linux-nat.h
gdb/linux-record.h
gdb/linux-tdep.h
gdb/location.h
gdb/loongarch-tdep.h
gdb/m2-exp.h
gdb/m2-lang.h
gdb/m32r-tdep.h
gdb/m68k-tdep.h
gdb/macroexp.h
gdb/macroscope.h
gdb/macrotab.h
gdb/main.h
gdb/maint.h
gdb/mdebugread.h
gdb/memattr.h
gdb/memory-map.h
gdb/memrange.h
gdb/memtag.h
gdb/mi/mi-cmd-break.h
gdb/mi/mi-cmds.h
gdb/mi/mi-common.h
gdb/mi/mi-console.h
gdb/mi/mi-getopt.h
gdb/mi/mi-interp.h
gdb/mi/mi-main.h
gdb/mi/mi-out.h
gdb/mi/mi-parse.h
gdb/microblaze-tdep.h
gdb/minsyms.h
gdb/mips-fbsd-tdep.h
gdb/mips-linux-tdep.h
gdb/mips-netbsd-tdep.h
gdb/mips-tdep.h
gdb/mn10300-tdep.h
gdb/moxie-tdep.h
gdb/namespace.h
gdb/nat/aarch64-hw-point.h
gdb/nat/aarch64-linux-hw-point.h
gdb/nat/aarch64-linux.h
gdb/nat/aarch64-mte-linux-ptrace.h
gdb/nat/aarch64-scalable-linux-ptrace.h
gdb/nat/aarch64-scalable-linux-sigcontext.h
gdb/nat/amd64-linux-siginfo.h
gdb/nat/fork-inferior.h
gdb/nat/gdb_ptrace.h
gdb/nat/gdb_thread_db.h
gdb/nat/glibc_thread_db.h
gdb/nat/i386-linux.h
gdb/nat/linux-btrace.h
gdb/nat/linux-namespaces.h
gdb/nat/linux-nat.h
gdb/nat/linux-osdata.h
gdb/nat/linux-personality.h
gdb/nat/linux-procfs.h
gdb/nat/linux-ptrace.h
gdb/nat/linux-waitpid.h
gdb/nat/loongarch-hw-point.h
gdb/nat/loongarch-linux-hw-point.h
gdb/nat/loongarch-linux.h
gdb/nat/mips-linux-watch.h
gdb/nat/netbsd-nat.h
gdb/nat/ppc-linux.h
gdb/nat/riscv-linux-tdesc.h
gdb/nat/windows-nat.h
gdb/nat/x86-cpuid.h
gdb/nat/x86-dregs.h
gdb/nat/x86-gcc-cpuid.h
gdb/nat/x86-linux-dregs.h
gdb/nat/x86-linux-tdesc.h
gdb/nat/x86-linux.h
gdb/nat/x86-xstate.h
gdb/nds32-tdep.h
gdb/netbsd-nat.h
gdb/netbsd-tdep.h
gdb/objc-lang.h
gdb/objfile-flags.h
gdb/objfiles.h
gdb/obsd-nat.h
gdb/obsd-tdep.h
gdb/observable.h
gdb/or1k-linux-tdep.h
gdb/or1k-tdep.h
gdb/osabi.h
gdb/osdata.h
gdb/p-lang.h
gdb/parser-defs.h
gdb/ppc-fbsd-tdep.h
gdb/ppc-linux-tdep.h
gdb/ppc-netbsd-tdep.h
gdb/ppc-obsd-tdep.h
gdb/ppc-ravenscar-thread.h
gdb/ppc-tdep.h
gdb/ppc64-tdep.h
gdb/probe.h
gdb/proc-utils.h
gdb/process-stratum-target.h
gdb/procfs.h
gdb/producer.h
gdb/progspace-and-thread.h
gdb/progspace.h
gdb/prologue-value.h
gdb/psymtab.h
gdb/python/py-event.h
gdb/python/py-events.h
gdb/python/py-instruction.h
gdb/python/py-record-btrace.h
gdb/python/py-record-full.h
gdb/python/py-record.h
gdb/python/py-ref.h
gdb/python/py-stopevent.h
gdb/python/python-internal.h
gdb/python/python.h
gdb/ravenscar-thread.h
gdb/record-btrace.h
gdb/record-full.h
gdb/record.h
gdb/regcache.h
gdb/regformats/regdef.h
gdb/reggroups.h
gdb/registry.h
gdb/regset.h
gdb/remote-fileio.h
gdb/remote-notif.h
gdb/remote.h
gdb/riscv-fbsd-tdep.h
gdb/riscv-ravenscar-thread.h
gdb/riscv-tdep.h
gdb/rs6000-aix-tdep.h
gdb/rust-exp.h
gdb/rust-lang.h
gdb/s390-linux-tdep.h
gdb/s390-tdep.h
gdb/scoped-mock-context.h
gdb/selftest-arch.h
gdb/sentinel-frame.h
gdb/ser-base.h
gdb/ser-event.h
gdb/ser-tcp.h
gdb/ser-unix.h
gdb/serial.h
gdb/sh-tdep.h
gdb/sim-regno.h
gdb/skip.h
gdb/sol2-tdep.h
gdb/solib-aix.h
gdb/solib-darwin.h
gdb/solib-dsbt.h
gdb/solib-svr4.h
gdb/solib-target.h
gdb/solib.h
gdb/solist.h
gdb/source-cache.h
gdb/source.h
gdb/sparc-nat.h
gdb/sparc-ravenscar-thread.h
gdb/sparc-tdep.h
gdb/sparc64-tdep.h
gdb/stabsread.h
gdb/stack.h
gdb/stap-probe.h
gdb/symfile-add-flags.h
gdb/symfile.h
gdb/symtab.h
gdb/target-connection.h
gdb/target-dcache.h
gdb/target-debug.h
gdb/target-descriptions.h
gdb/target-float.h
gdb/target.h
gdb/target/resume.h
gdb/target/target.h
gdb/target/wait.h
gdb/target/waitstatus.h
gdb/terminal.h
gdb/test-target.h
gdb/thread-fsm.h
gdb/thread-iter.h
gdb/tic6x-tdep.h
gdb/tid-parse.h
gdb/tilegx-tdep.h
gdb/top.h
gdb/tracectf.h
gdb/tracefile.h
gdb/tracepoint.h
gdb/trad-frame.h
gdb/tramp-frame.h
gdb/tui/tui-command.h
gdb/tui/tui-data.h
gdb/tui/tui-disasm.h
gdb/tui/tui-file.h
gdb/tui/tui-hooks.h
gdb/tui/tui-io.h
gdb/tui/tui-layout.h
gdb/tui/tui-location.h
gdb/tui/tui-regs.h
gdb/tui/tui-source.h
gdb/tui/tui-status.h
gdb/tui/tui-win.h
gdb/tui/tui-wingeneral.h
gdb/tui/tui-winsource.h
gdb/tui/tui.h
gdb/type-stack.h
gdb/typeprint.h
gdb/ui-file.h
gdb/ui-out.h
gdb/ui-style.h
gdb/ui.h
gdb/user-regs.h
gdb/utils.h
gdb/valprint.h
gdb/value.h
gdb/varobj-iter.h
gdb/varobj.h
gdb/vax-tdep.h
gdb/windows-nat.h
gdb/windows-tdep.h
gdb/x86-bsd-nat.h
gdb/x86-fbsd-nat.h
gdb/x86-linux-nat.h
gdb/x86-nat.h
gdb/x86-tdep.h
gdb/xcoffread.h
gdb/xml-builtin.h
gdb/xml-support.h
gdb/xml-syscall.h
gdb/xml-tdesc.h
gdb/xtensa-tdep.h
gdb/yy-remap.h
gdb/z80-tdep.h
gdbserver/linux-aarch32-tdesc.h
gdbserver/linux-arm-tdesc.h
gdbsupport/agent.h
gdbsupport/array-view.h
gdbsupport/break-common.h
gdbsupport/btrace-common.h
gdbsupport/byte-vector.h
gdbsupport/cleanups.h
gdbsupport/common-debug.h
gdbsupport/common-defs.h
gdbsupport/common-exceptions.h
gdbsupport/common-gdbthread.h
gdbsupport/common-inferior.h
gdbsupport/common-regcache.h
gdbsupport/common-types.h
gdbsupport/common-utils.h
gdbsupport/def-vector.h
gdbsupport/default-init-alloc.h
gdbsupport/enum-flags.h
gdbsupport/environ.h
gdbsupport/errors.h
gdbsupport/event-loop.h
gdbsupport/event-pipe.h
gdbsupport/fileio.h
gdbsupport/filestuff.h
gdbsupport/filtered-iterator.h
gdbsupport/format.h
gdbsupport/forward-scope-exit.h
gdbsupport/function-view.h
gdbsupport/gdb-checked-static-cast.h
gdbsupport/gdb-dlfcn.h
gdbsupport/gdb-safe-ctype.h
gdbsupport/gdb_assert.h
gdbsupport/gdb_file.h
gdbsupport/gdb_locale.h
gdbsupport/gdb_obstack.h
gdbsupport/gdb_proc_service.h
gdbsupport/gdb_ref_ptr.h
gdbsupport/gdb_regex.h
gdbsupport/gdb_select.h
gdbsupport/gdb_setjmp.h
gdbsupport/gdb_signals.h
gdbsupport/gdb_splay_tree.h
gdbsupport/gdb_sys_time.h
gdbsupport/gdb_tilde_expand.h
gdbsupport/gdb_unique_ptr.h
gdbsupport/gdb_unlinker.h
gdbsupport/gdb_vecs.h
gdbsupport/gdb_wait.h
gdbsupport/host-defs.h
gdbsupport/job-control.h
gdbsupport/netstuff.h
gdbsupport/next-iterator.h
gdbsupport/observable.h
gdbsupport/offset-type.h
gdbsupport/osabi.h
gdbsupport/packed.h
gdbsupport/pathstuff.h
gdbsupport/poison.h
gdbsupport/preprocessor.h
gdbsupport/print-utils.h
gdbsupport/ptid.h
gdbsupport/refcounted-object.h
gdbsupport/rsp-low.h
gdbsupport/run-time-clock.h
gdbsupport/safe-iterator.h
gdbsupport/scope-exit.h
gdbsupport/scoped_fd.h
gdbsupport/scoped_ignore_signal.h
gdbsupport/scoped_ignore_sigttou.h
gdbsupport/scoped_mmap.h
gdbsupport/scoped_restore.h
gdbsupport/search.h
gdbsupport/selftest.h
gdbsupport/signals-state-save-restore.h
gdbsupport/symbol.h
gdbsupport/tdesc.h
gdbsupport/traits.h
gdbsupport/underlying.h
gdbsupport/valid-expr.h
gdbsupport/version.h
gdbsupport/x86-xstate.h
gdbsupport/xml-utils.h

index 611c9fcfba90e0ed50c790b8fd814196fe7b45b8..79ad5adcef88c3529819444c5f0adae784dc1021 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AARCH32_LINUX_NAT_H
-#define AARCH32_LINUX_NAT_H
+#ifndef GDB_AARCH32_LINUX_NAT_H
+#define GDB_AARCH32_LINUX_NAT_H
 
 void aarch32_gp_regcache_supply (struct regcache *regcache, uint32_t *regs,
                                 int arm_apcs_32);
@@ -31,4 +31,4 @@ void aarch32_vfp_regcache_collect (const struct regcache *regcache,
                                   gdb_byte *regs,
                                   const int vfp_register_count);
 
-#endif /* AARCH32_LINUX_NAT_H */
+#endif /* GDB_AARCH32_LINUX_NAT_H */
index 009ee61890e29a50a62733d710329e0312b33cd7..16ceb30a25f7b0e6bf9a7a3a0254168ec4e5deac 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AARCH32_TDEP_H
-#define AARCH32_TDEP_H
+#ifndef GDB_AARCH32_TDEP_H
+#define GDB_AARCH32_TDEP_H
 
 struct target_desc;
 
@@ -24,4 +24,4 @@ struct target_desc;
 
 const target_desc *aarch32_read_description (bool tls);
 
-#endif /* aarch32-tdep.h.  */
+#endif /* GDB_AARCH32_TDEP_H */
index 56b15a94ee40e13e3547729fdedb00e77b858912..6d53b28386fc7d5bafa984d8556171201419afa2 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AARCH64_FBSD_TDEP_H
-#define AARCH64_FBSD_TDEP_H
+#ifndef GDB_AARCH64_FBSD_TDEP_H
+#define GDB_AARCH64_FBSD_TDEP_H
 
 #include "regset.h"
 
@@ -39,4 +39,4 @@ extern const struct regset aarch64_fbsd_gregset;
 extern const struct regset aarch64_fbsd_fpregset;
 extern const struct regset aarch64_fbsd_tls_regset;
 
-#endif /* AARCH64_FBSD_TDEP_H */
+#endif /* GDB_AARCH64_FBSD_TDEP_H */
index 1961250e14ffb9799b746767d13ac94cfd338d2c..4cca8e901a73d3c2c0cd396af77083c1a7eeb1bf 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AARCH64_LINUX_TDEP_H
-#define AARCH64_LINUX_TDEP_H
+#ifndef GDB_AARCH64_LINUX_TDEP_H
+#define GDB_AARCH64_LINUX_TDEP_H
 
 #include "regset.h"
 
@@ -45,4 +45,4 @@ extern const struct regset aarch64_linux_fpregset;
 /* Matches HWCAP_PACA in kernel header arch/arm64/include/uapi/asm/hwcap.h.  */
 #define AARCH64_HWCAP_PACA (1 << 30)
 
-#endif /* AARCH64_LINUX_TDEP_H */
+#endif /* GDB_AARCH64_LINUX_TDEP_H */
index ec85524b2d469b31c329d49b113324676fa8d6c7..468709473d7decf21bcb1e71f025bfba4382cc59 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AARCH64_NAT_H
-#define AARCH64_NAT_H
+#ifndef GDB_AARCH64_NAT_H
+#define GDB_AARCH64_NAT_H
 
 #include "breakpoint.h"
 #include "nat/aarch64-hw-point.h"
@@ -98,4 +98,4 @@ struct aarch64_nat_target : public BaseTarget
   { return start <= addr && start + length - 1 >= addr; }
 };
 
-#endif /* AARCH64_NAT_H */
+#endif /* GDB_AARCH64_NAT_H */
index 2d2665627c5f2bb312fc4a41f45c1b76f47c9bf5..9cf0113e635e826a98dd7cb027a04d2a4047fcd5 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AARCH64_RAVENSCAR_THREAD_H
-#define AARCH64_RAVENSCAR_THREAD_H
+#ifndef GDB_AARCH64_RAVENSCAR_THREAD_H
+#define GDB_AARCH64_RAVENSCAR_THREAD_H
 
 struct gdbarch;
 
 extern void register_aarch64_ravenscar_ops (struct gdbarch *gdbarch);
 
-#endif
+#endif /* GDB_AARCH64_RAVENSCAR_THREAD_H */
index 13ea37de7a3f9f799375d17e7af65d3b8732f171..d1a873193892d6bbcc1310efbac2cf028e285ae1 100644 (file)
@@ -19,8 +19,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef AARCH64_TDEP_H
-#define AARCH64_TDEP_H
+#ifndef GDB_AARCH64_TDEP_H
+#define GDB_AARCH64_TDEP_H
 
 #include "arch/aarch64.h"
 #include "displaced-stepping.h"
@@ -211,4 +211,4 @@ std::optional<CORE_ADDR> aarch64_mte_get_atag (CORE_ADDR address);
 CORE_ADDR aarch64_remove_non_address_bits (struct gdbarch *gdbarch,
                                           CORE_ADDR pointer);
 
-#endif /* aarch64-tdep.h */
+#endif /* GDB_AARCH64_TDEP_H */
index 53d48988edae78fe0c66a5bf5bfb0a13e1d68fda..0c8161ea869e1e1fbc0e4b268cfb5fdb5a98e6f1 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ADA_EXP_H
-#define ADA_EXP_H
+#ifndef GDB_ADA_EXP_H
+#define GDB_ADA_EXP_H
 
 #include "expop.h"
 
@@ -991,4 +991,4 @@ public:
 
 } /* namespace expr */
 
-#endif /* ADA_EXP_H */
+#endif /* GDB_ADA_EXP_H */
index 050d2980203a2a5eb33c32d259cb819eaebcdec5..3582082a1a1b702595b803072ff9c345b7f3e0f7 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (ADA_LANG_H)
-#define ADA_LANG_H 1
+#ifndef GDB_ADA_LANG_H
+#define GDB_ADA_LANG_H
 
 class frame_info_ptr;
 struct inferior;
@@ -437,4 +437,4 @@ extern struct type *ada_index_type (struct type *type, int n,
 
 extern void ada_clear_symbol_cache (program_space *pspace);
 
-#endif
+#endif /* GDB_ADA_LANG_H */
index 6e2111e9b52be08a343c0619e4ac3616598321b7..95f6ec81dcc4e8c5d005a4458ab22cec0e3011ab 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ADDRMAP_H
-#define ADDRMAP_H
+#ifndef GDB_ADDRMAP_H
+#define GDB_ADDRMAP_H
 
 #include "gdbsupport/function-view.h"
 #include "gdbsupport/gdb_obstack.h"
@@ -229,4 +229,4 @@ void addrmap_dump (struct addrmap *map, struct ui_file *outfile,
                                            const void *value)>
                     annotate_value = nullptr);
 
-#endif /* ADDRMAP_H */
+#endif /* GDB_ADDRMAP_H */
index 25ac043ba8685906d054f43fe90c48e73a1164fa..4783854eb4703eeb3011487590118be53fd3d73b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ALPHA_BSD_TDEP_H
-#define ALPHA_BSD_TDEP_H
+#ifndef GDB_ALPHA_BSD_TDEP_H
+#define GDB_ALPHA_BSD_TDEP_H
 
 #include "gdbarch.h"
 
@@ -39,4 +39,4 @@ void alphanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch,
                                             void *cb_data,
                                             const struct regcache *regcache);
 
-#endif /* alpha-bsd-tdep.h */
+#endif /* GDB_ALPHA_BSD_TDEP_H */
index 4554ac096984c7fdab4e3f2093f4e6a67e15792c..b42863fb4b0cf648d6ae28619851a0d0c0b44b40 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ALPHA_TDEP_H
-#define ALPHA_TDEP_H
+#ifndef GDB_ALPHA_TDEP_H
+#define GDB_ALPHA_TDEP_H
 
 #include "gdbarch.h"
 
@@ -121,4 +121,4 @@ extern void alpha_supply_fp_regs (struct regcache *, int,
 extern void alpha_fill_fp_regs (const struct regcache *,
                                int, void *, void *);
 
-#endif /* ALPHA_TDEP_H */
+#endif /* GDB_ALPHA_TDEP_H */
index f377fd0c57acc2ec2ad09f6884b12ead9da0eb02..0a9cafaa7ee391613378b303d950a20c4f45d271 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMD_DBGAPI_TARGET_H
-#define AMD_DBGAPI_TARGET_H 1
+#ifndef GDB_AMD_DBGAPI_TARGET_H
+#define GDB_AMD_DBGAPI_TARGET_H
 
 #include "gdbsupport/observable.h"
 
@@ -113,4 +113,4 @@ get_status_string (amd_dbgapi_status_t status)
   return ret;
 }
 
-#endif /* AMD_DBGAPI_TARGET_H */
+#endif /* GDB_AMD_DBGAPI_TARGET_H */
index b11356e03753a35746399111730c3f043f8de4be..7ea268276259c8a9bdff5a896bcb0a9bdf10f888 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMD64_BSD_NAT_H
-#define AMD64_BSD_NAT_H
+#ifndef GDB_AMD64_BSD_NAT_H
+#define GDB_AMD64_BSD_NAT_H
 
 #include "x86-bsd-nat.h"
 
@@ -41,4 +41,4 @@ public:
   { amd64bsd_store_inferior_registers (regcache, regnum); }
 };
 
-#endif /* i386-bsd-nat.h */
+#endif /* GDB_AMD64_BSD_NAT_H */
index 19d92b61b90c4e7cb819ffe89af6812a2443d9f4..c09cfe3229bf67cf4db2e953cfefa919234a551c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMD64_DARWIN_TDEP_H
-#define AMD64_DARWIN_TDEP_H
+#ifndef GDB_AMD64_DARWIN_TDEP_H
+#define GDB_AMD64_DARWIN_TDEP_H
 
 /* Mapping between the general-purpose registers in Darwin x86-64 thread
    state and GDB's register cache layout.
@@ -26,4 +26,4 @@
 extern int amd64_darwin_thread_state_reg_offset[];
 extern const int amd64_darwin_thread_state_num_regs;
 
-#endif /* AMD64_DARWIN_TDEP_H */
+#endif /* GDB_AMD64_DARWIN_TDEP_H */
index 93b0ca901ce93e68d91689e570da2b69bf7414e6..7e8acc6959ea46eaffec368db0431385dfe69fbd 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMD64_FBSD_TDEP_H
-#define AMD64_FBSD_TDEP_H
+#ifndef GDB_AMD64_FBSD_TDEP_H
+#define GDB_AMD64_FBSD_TDEP_H
 
 #include "regset.h"
 
 extern const struct regset amd64_fbsd_gregset;
 
-#endif /* AMD64_FBSD_TDEP_H */
+#endif /* GDB_AMD64_FBSD_TDEP_H */
index 6f5b55a01a5cedfe8c0b4a6faa017343ad2a8808..935e9b64b49c4035eddeba5fa94890b6411817f2 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMD64_LINUX_TDEP_H
-#define AMD64_LINUX_TDEP_H
+#ifndef GDB_AMD64_LINUX_TDEP_H
+#define GDB_AMD64_LINUX_TDEP_H
 
 /* Like for i386 GNU/Linux, there is an extra "register"
    used to control syscall restarting.  */
@@ -586,4 +586,4 @@ enum amd64_x32_syscall {
   amd64_x32_sys_getsockopt = (amd64_x32_syscall_bit + 542),
 };
 
-#endif /* amd64-linux-tdep.h */
+#endif /* GDB_AMD64_LINUX_TDEP_H */
index b18ff8b172869c7083782f3835136bb3b800e560..56ad36c9f1e57e24d0bcb95900b4094e74e460d7 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMD64_NAT_H
-#define AMD64_NAT_H 1
+#ifndef GDB_AMD64_NAT_H
+#define GDB_AMD64_NAT_H
 
 struct regcache;
 
@@ -49,4 +49,4 @@ extern void amd64_supply_native_gregset (struct regcache *regcache,
 extern void amd64_collect_native_gregset (const struct regcache *regcache,
                                          void *gregs, int regnum);
 
-#endif /* amd64-nat.h */
+#endif /* GDB_AMD64_NAT_H */
index 1a723600e7add837380ec4629bb131c30955f919..41e38327753f1daedbd0fcef159c456bd98a3d33 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMD64_RAVENSCAR_THREAD_H
-#define AMD64_RAVENSCAR_THREAD_H
+#ifndef GDB_AMD64_RAVENSCAR_THREAD_H
+#define GDB_AMD64_RAVENSCAR_THREAD_H
 
 struct gdbarch;
 
 extern void register_amd64_ravenscar_ops (struct gdbarch *gdbarch);
 
-#endif /* AMD64_RAVENSCAR_THREAD_H */
+#endif /* GDB_AMD64_RAVENSCAR_THREAD_H */
index 544ed91d6e53e6dc15ba585188b81e0bc44cbc0f..7439b6e2e2090a5d313b80ec9f4dc95270fbb8f1 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMD64_TDEP_H
-#define AMD64_TDEP_H
+#ifndef GDB_AMD64_TDEP_H
+#define GDB_AMD64_TDEP_H
 
 struct gdbarch;
 class frame_info_ptr;
@@ -146,4 +146,4 @@ extern int amd64nbsd_r_reg_offset[];
 /* Variables exported from amd64-obsd-tdep.c.  */
 extern int amd64obsd_r_reg_offset[];
 
-#endif /* amd64-tdep.h */
+#endif /* GDB_AMD64_TDEP_H */
index 2656d18e72752c76d1bd9d0263a421374a5f9ff8..16c7b83a679ea9eb8afa43b5db0ffceafce1702f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AMDGPU_TDEP_H
-#define AMDGPU_TDEP_H
+#ifndef GDB_AMDGPU_TDEP_H
+#define GDB_AMDGPU_TDEP_H
 
 #include "gdbarch.h"
 
@@ -90,4 +90,4 @@ bool is_amdgpu_arch (struct gdbarch *gdbarch);
 
 amdgpu_gdbarch_tdep *get_amdgpu_gdbarch_tdep (gdbarch *arch);
 
-#endif /* AMDGPU_TDEP_H */
+#endif /* GDB_AMDGPU_TDEP_H */
index 27a35dbdd9129a79abc5b27ad6f2f29cf0025ef9..04c1ad884f29637566da227240ece6c8656df3d0 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ANNOTATE_H
-#define ANNOTATE_H
+#ifndef GDB_ANNOTATE_H
+#define GDB_ANNOTATE_H
 
 #include "symtab.h"
 #include "gdbtypes.h"
@@ -140,4 +140,4 @@ extern void annotate_array_section_end (void);
 extern void (*deprecated_annotate_signalled_hook) (void);
 extern void (*deprecated_annotate_signal_hook) (void);
 
-#endif /* ANNOTATE_H */
+#endif /* GDB_ANNOTATE_H */
index 20ed525fe7cacd7f2f6c24aff343193e664e3bf1..9fe4116984d16fd81835fe92901dd615f8faf97d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARC_LINUX_TDEP_H
-#define ARC_LINUX_TDEP_H
+#ifndef GDB_ARC_LINUX_TDEP_H
+#define GDB_ARC_LINUX_TDEP_H
 
 #include "gdbarch.h"
 #include "regset.h"
@@ -49,4 +49,4 @@ void arc_linux_collect_v2_regset (const struct regset *regset,
                                  const struct regcache *regcache,
                                  int regnum, void *v2_regs, size_t size);
 
-#endif /* ARC_LINUX_TDEP_H */
+#endif /* GDB_ARC_LINUX_TDEP_H */
index c59490dec004c857ec2bde2b6476e931089f26c8..86a483d00c73f7c52c6c6cc7e3b0e4f5fd705a31 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARC_TDEP_H
-#define ARC_TDEP_H
+#ifndef GDB_ARC_TDEP_H
+#define GDB_ARC_TDEP_H
 
 /* Need disassemble_info.  */
 #include "dis-asm.h"
@@ -205,4 +205,4 @@ CORE_ADDR arc_insn_get_linear_next_pc (const struct arc_instruction &insn);
 arc_arch_features arc_arch_features_create (const bfd *abfd,
                                            const unsigned long mach);
 
-#endif /* ARC_TDEP_H */
+#endif /* GDB_ARC_TDEP_H */
index 40c62f30a65fbf86a1644ae24ef3f6ec329fd87f..b59e2ad70c26fa16d284bc260be3ca9594227ab3 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_UTILS_H
-#define ARCH_UTILS_H
+#ifndef GDB_ARCH_UTILS_H
+#define GDB_ARCH_UTILS_H
 
 #include "gdbarch.h"
 
@@ -325,4 +325,4 @@ extern enum return_value_convention default_gdbarch_return_value
       struct regcache *regcache, struct value **read_value,
       const gdb_byte *writebuf);
 
-#endif /* ARCH_UTILS_H */
+#endif /* GDB_ARCH_UTILS_H */
index 1811b8a7a9250e299ac626456249f2ccbd83c11d..f3e70affb0bee5c80fb7495fc873c39cd4bc8ea1 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_AARCH32_H
-#define ARCH_AARCH32_H
+#ifndef GDB_ARCH_AARCH32_H
+#define GDB_ARCH_AARCH32_H
 
 #include "gdbsupport/tdesc.h"
 
@@ -24,4 +24,4 @@
 
 target_desc *aarch32_create_target_description (bool tls);
 
-#endif /* aarch32.h.  */
+#endif /* GDB_ARCH_AARCH32_H */
index e4ee5c74fbff9e736029864c55529659d7edfc6c..bd3a85f96867b92073ffe3b0789251fd5315d194 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_AARCH64_INSN_H
-#define ARCH_AARCH64_INSN_H
+#ifndef GDB_ARCH_AARCH64_INSN_H
+#define GDB_ARCH_AARCH64_INSN_H
 
 extern bool aarch64_debug;
 
@@ -356,4 +356,4 @@ int aarch64_emit_load_store (uint32_t *buf, uint32_t size,
                             struct aarch64_register rn,
                             struct aarch64_memory_operand operand);
 
-#endif /* ARCH_AARCH64_INSN_H */
+#endif /* GDB_ARCH_AARCH64_INSN_H */
index 686749f547ac01cf7894130b48d69ef20e4c38e6..f9337294e6080a34c7735c3ed5c5167ce7ff4c0d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_AARCH64_MTE_LINUX_H
-#define ARCH_AARCH64_MTE_LINUX_H
+#ifndef GDB_ARCH_AARCH64_MTE_LINUX_H
+#define GDB_ARCH_AARCH64_MTE_LINUX_H
 
 
 /* Feature check for Memory Tagging Extension.  */
@@ -53,4 +53,4 @@ extern void aarch64_mte_pack_tags (gdb::byte_vector &tags);
    first unpacked element.  Otherwise leave it in the unpacked vector.  */
 extern void aarch64_mte_unpack_tags (gdb::byte_vector &tags, bool skip_first);
 
-#endif /* ARCH_AARCH64_MTE_LINUX_H */
+#endif /* GDB_ARCH_AARCH64_MTE_LINUX_H */
index 7d8445ee89f6fb7b56a89359c0837a8d0f1858b4..0b4f4a301a3a42d74338ef417988dc1601c30cea 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_AARCH64_MTE_H
-#define ARCH_AARCH64_MTE_H
+#ifndef GDB_ARCH_AARCH64_MTE_H
+#define GDB_ARCH_AARCH64_MTE_H
 
 
 /* We have one tag per 16 bytes of memory.  */
@@ -48,4 +48,4 @@ extern CORE_ADDR aarch64_mte_set_ltag (CORE_ADDR address, CORE_ADDR tag);
    It is always possible to get the logical tag.  */
 extern CORE_ADDR aarch64_mte_get_ltag (CORE_ADDR address);
 
-#endif /* ARCH_AARCH64_MTE_H */
+#endif /* GDB_ARCH_AARCH64_MTE_H */
index 4d2ace8f153b451f92f3e090254db5bdaa80b2fc..886f4a2dee8386cb3f4bf97e02ae1903f76e56f9 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_AARCH64_SCALABLE_LINUX_H
-#define ARCH_AARCH64_SCALABLE_LINUX_H
+#ifndef GDB_ARCH_AARCH64_SCALABLE_LINUX_H
+#define GDB_ARCH_AARCH64_SCALABLE_LINUX_H
 
 #include "gdbsupport/common-regcache.h"
 
@@ -55,4 +55,4 @@
    is empty (zero).  Return FALSE otherwise.  */
 extern bool sve_state_is_empty (const struct reg_buffer_common *reg_buf);
 
-#endif /* ARCH_AARCH64_SCALABLE_LINUX_H */
+#endif /* GDB_ARCH_AARCH64_SCALABLE_LINUX_H */
index b4c0111aeb49bb4896bb7756edd3bb4b74f8e924..f45a0e2f13ebfad4c397bd1a431d98eaf16cdf3a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_AARCH64_H
-#define ARCH_AARCH64_H
+#ifndef GDB_ARCH_AARCH64_H
+#define GDB_ARCH_AARCH64_H
 
 #include "gdbsupport/tdesc.h"
 
@@ -230,4 +230,4 @@ enum aarch64_regnum
 /* Size of the SME2 ZT0 register in bytes.  */
 #define AARCH64_SME2_ZT0_SIZE 64
 
-#endif /* ARCH_AARCH64_H */
+#endif /* GDB_ARCH_AARCH64_H */
index db425b60df6d4c07daa5227220b36dd2a72111c5..f6a424862bb15c9da4f82dbacd1ee181fc4e26fe 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_AMD64_LINUX_TDESC_H
-#define ARCH_AMD64_LINUX_TDESC_H
+#ifndef GDB_ARCH_AMD64_LINUX_TDESC_H
+#define GDB_ARCH_AMD64_LINUX_TDESC_H
 
 struct target_desc;
 
@@ -27,4 +27,4 @@ struct target_desc;
 extern const target_desc *amd64_linux_read_description (uint64_t xcr0,
                                                        bool is_x32);
 
-#endif /* ARCH_AMD64_LINUX_TDESC_H */
+#endif /* GDB_ARCH_AMD64_LINUX_TDESC_H */
index 042d986a6949ee1c751a145672cdaaa4729cfa09..1c7a2bb26e9a56d69e2af7adf307e213d3372988 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_AMD64_H
-#define ARCH_AMD64_H
+#ifndef GDB_ARCH_AMD64_H
+#define GDB_ARCH_AMD64_H
 
 #include "gdbsupport/tdesc.h"
 #include <stdint.h>
@@ -24,4 +24,4 @@
 target_desc *amd64_create_target_description (uint64_t xcr0, bool is_x32,
                                              bool is_linux, bool segments);
 
-#endif /* ARCH_AMD64_H */
+#endif /* GDB_ARCH_AMD64_H */
index 1a5a9b6b4920b0c511b4dc90463ddbf49c7e949a..887431ea12a74b7b5cb0086b233469ae24f7aa4a 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_ARC_H
-#define ARCH_ARC_H
+#ifndef GDB_ARCH_ARC_H
+#define GDB_ARCH_ARC_H
 
 #include "gdbsupport/tdesc.h"
 
@@ -84,4 +84,4 @@ const target_desc *arc_lookup_target_description
 #endif /* GDBSERVER */
 
 
-#endif /* ARCH_ARC_H */
+#endif /* GDB_ARCH_ARC_H */
index 77bf0b566a875c9f65d1e1c8e42ecf1d25b4aeaa..7680373c6387d36550b9e92fb09f4b193e626456 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_ARM_GET_NEXT_PCS_H
-#define ARCH_ARM_GET_NEXT_PCS_H
+#ifndef GDB_ARCH_ARM_GET_NEXT_PCS_H
+#define GDB_ARCH_ARM_GET_NEXT_PCS_H
 
 #include <vector>
 
@@ -65,4 +65,4 @@ void arm_get_next_pcs_ctor (struct arm_get_next_pcs *self,
 /* Find the next possible PCs after the current instruction executes.  */
 std::vector<CORE_ADDR> arm_get_next_pcs (struct arm_get_next_pcs *self);
 
-#endif /* ARCH_ARM_GET_NEXT_PCS_H */
+#endif /* GDB_ARCH_ARM_GET_NEXT_PCS_H */
index 68862521bbc597566d273a200c3a5fa0926eb894..39c73c34011969da8c886e6d5e9042835ae48588 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_ARM_LINUX_H
-#define ARCH_ARM_LINUX_H
+#ifndef GDB_ARCH_ARM_LINUX_H
+#define GDB_ARCH_ARM_LINUX_H
 
 /* The index to access CSPR in user_regs defined in GLIBC.  */
 #define ARM_CPSR_GREGNUM 16
@@ -79,4 +79,4 @@ struct arm_get_next_pcs;
 CORE_ADDR arm_linux_get_next_pcs_fixup (struct arm_get_next_pcs *self,
                                        CORE_ADDR pc);
 
-#endif /* ARCH_ARM_LINUX_H */
+#endif /* GDB_ARCH_ARM_LINUX_H */
index 34cf7ca79cf8ddac2350dd32f9ea36739ecec81a..7738d9c66117b01ca867f0a56785879d67357c47 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_ARM_H
-#define ARCH_ARM_H
+#ifndef GDB_ARCH_ARM_H
+#define GDB_ARCH_ARM_H
 
 #include "gdbsupport/tdesc.h"
 
@@ -227,4 +227,4 @@ target_desc *arm_create_target_description (arm_fp_type fp_type, bool tls);
 
 target_desc *arm_create_mprofile_target_description (arm_m_profile_type m_type);
 
-#endif /* ARCH_ARM_H */
+#endif /* GDB_ARCH_ARM_H */
index 290bf97dd1275542d9ddabed37c81c2a59aa48b4..67b2f1761142b8248a4d10312dca598a1a239b5d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_CSKY_H
-#define ARCH_CSKY_H
+#ifndef GDB_ARCH_CSKY_H
+#define GDB_ARCH_CSKY_H
 
 #include "gdbsupport/tdesc.h"
 
@@ -26,4 +26,4 @@
 
 target_desc_up csky_create_target_description (void);
 
-#endif /* ARCH_CSKY_H */
+#endif /* GDB_ARCH_CSKY_H */
index 0b736337a754b5db2acfe4021a0f44bad5c30ac7..4ecd674aa96566935bc940559855837b56695e0b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_I386_LINUX_TDESC_H
-#define ARCH_I386_LINUX_TDESC_H
+#ifndef GDB_ARCH_I386_LINUX_TDESC_H
+#define GDB_ARCH_I386_LINUX_TDESC_H
 
 struct target_desc;
 
@@ -26,4 +26,4 @@ struct target_desc;
 
 extern const struct target_desc *i386_linux_read_description (uint64_t xcr0);
 
-#endif /* ARCH_I386_LINUX_TDESC_H */
+#endif /* GDB_ARCH_I386_LINUX_TDESC_H */
index d0519f1b551ee1535fc4e6a522aa2baf53d5d7e9..1b5cc6e1095e512e20b56808df3a72fe755434ac 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_I386_H
-#define ARCH_I386_H
+#ifndef GDB_ARCH_I386_H
+#define GDB_ARCH_I386_H
 
 #include "gdbsupport/tdesc.h"
 #include <stdint.h>
@@ -24,4 +24,4 @@
 target_desc *i386_create_target_description (uint64_t xcr0, bool is_linux,
                                             bool segments);
 
-#endif /* ARCH_I386_H */
+#endif /* GDB_ARCH_I386_H */
index 7056d506bf43d63c9dacaee5eea6581c2c0ab03a..07f37d8d7e85fb4040ac35224f2c5e21e1a9c226 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_LOONGARCH_H
-#define ARCH_LOONGARCH_H
+#ifndef GDB_ARCH_LOONGARCH_H
+#define GDB_ARCH_LOONGARCH_H
 
 #include "gdbsupport/tdesc.h"
 
@@ -128,4 +128,4 @@ const target_desc *loongarch_lookup_target_description
 
 #endif /* GDBSERVER */
 
-#endif /* ARCH_LOONGARCH_H  */
+#endif /* GDB_ARCH_LOONGARCH_H */
index 05704c8f8988510b4fdde7345bd471c07b392e0a..1f72b295de812feba8004fc441e471de23ca5921 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_PPC_LINUX_COMMON_H
-#define ARCH_PPC_LINUX_COMMON_H
+#ifndef GDB_ARCH_PPC_LINUX_COMMON_H
+#define GDB_ARCH_PPC_LINUX_COMMON_H
 
 struct target_desc;
 
@@ -75,4 +75,4 @@ const struct ppc_linux_features ppc_linux_no_features = {
 const struct target_desc * ppc_linux_match_description
 (struct ppc_linux_features features);
 
-#endif /* ARCH_PPC_LINUX_COMMON_H */
+#endif /* GDB_ARCH_PPC_LINUX_COMMON_H */
index 0a022071c0861132b7431b01d3799a6cd11c5243..bde6ba225bd05905908115fc650de5f7a1d40ee8 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_PPC_LINUX_TDESC_H
-#define ARCH_PPC_LINUX_TDESC_H
+#ifndef GDB_ARCH_PPC_LINUX_TDESC_H
+#define GDB_ARCH_PPC_LINUX_TDESC_H
 
 struct target_desc;
 
@@ -43,4 +43,4 @@ extern const struct target_desc *tdesc_powerpc_isa205_ppr_dscr_vsx64l;
 extern const struct target_desc *tdesc_powerpc_isa207_vsx64l;
 extern const struct target_desc *tdesc_powerpc_isa207_htm_vsx64l;
 
-#endif /* ARCH_PPC_LINUX_TDESC_H */
+#endif /* GDB_ARCH_PPC_LINUX_TDESC_H */
index 925fffee18ab4cb8979ce4f97645c81e20f84d01..bf65b0bc5a8b74d68ca19a97d6e920b0341c474c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_RISCV_H
-#define ARCH_RISCV_H
+#ifndef GDB_ARCH_RISCV_H
+#define GDB_ARCH_RISCV_H
 
 #include "gdbsupport/tdesc.h"
 
@@ -119,4 +119,4 @@ const target_desc *riscv_lookup_target_description
 #endif /* GDBSERVER */
 
 
-#endif /* ARCH_RISCV_H */
+#endif /* GDB_ARCH_RISCV_H */
index da67da7c5fbe237345db744fb4c953116314f9e0..efb3282c5069145dc779055f6fcb833fcdb89016 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_TIC6X_H
-#define ARCH_TIC6X_H
+#ifndef GDB_ARCH_TIC6X_H
+#define GDB_ARCH_TIC6X_H
 
 enum c6x_feature
 {
@@ -28,4 +28,4 @@ enum c6x_feature
 
 target_desc *tic6x_create_target_description (enum c6x_feature feature);
 
-#endif /* ARCH_TIC6X_H */
+#endif /* GDB_ARCH_TIC6X_H */
index fb0017e46db25cb2597c9e4deeafe34900080b14..cf8351dea8ecd4f2eb7a23184f74ce9f5e040a8d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_X86_LINUX_TDESC_FEATURES_H
-#define ARCH_X86_LINUX_TDESC_FEATURES_H
+#ifndef GDB_ARCH_X86_LINUX_TDESC_FEATURES_H
+#define GDB_ARCH_X86_LINUX_TDESC_FEATURES_H
 
 #include "gdbsupport/x86-xstate.h"
 #include "gdbsupport/gdb_assert.h"
@@ -59,4 +59,4 @@ extern uint64_t x86_linux_tdesc_idx_to_xcr0 (int idx);
 
 #endif /* IN_PROCESS_AGENT */
 
-#endif /* ARCH_X86_LINUX_TDESC_FEATURES_H */
+#endif /* GDB_ARCH_X86_LINUX_TDESC_FEATURES_H */
index 152592fcf76472b914d37ef51235a3debeef9840..718060c40208bbb47bc8fef4174f8802a770eb2d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_X86_LINUX_TDESC_H
-#define ARCH_X86_LINUX_TDESC_H
+#ifndef GDB_ARCH_X86_LINUX_TDESC_H
+#define GDB_ARCH_X86_LINUX_TDESC_H
 
 struct target_desc;
 
@@ -34,4 +34,4 @@ struct target_desc;
 
 extern void x86_linux_post_init_tdesc (target_desc *tdesc, bool is_64bit);
 
-#endif /* ARCH_X86_LINUX_TDESC_H */
+#endif /* GDB_ARCH_X86_LINUX_TDESC_H */
index 5961641cad8a9f7c230111f1fdaa636f85865397..70167b304ce137cc74fdb210e45244215e8986ad 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARCH_XTENSA_H
-#define ARCH_XTENSA_H
+#ifndef GDB_ARCH_XTENSA_H
+#define GDB_ARCH_XTENSA_H
 
 /* Xtensa ELF core file register set representation ('.reg' section).
    Copied from target-side ELF header <xtensa/elf.h>.  */
@@ -45,4 +45,4 @@ typedef struct
 
 #define C0_NREGS   16  /* Number of A-registers to track in call0 ABI.  */
 
-#endif /* ARCH_XTENSA_H */
+#endif /* GDB_ARCH_XTENSA_H */
index 26a9dbcdd21338a9e25fc1c87e61601248914063..151f26c83b7b99a1f4fcf691335715dbad104d7f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARM_FBSD_TDEP_H
-#define ARM_FBSD_TDEP_H
+#ifndef GDB_ARM_FBSD_TDEP_H
+#define GDB_ARM_FBSD_TDEP_H
 
 #include "regset.h"
 
@@ -56,4 +56,4 @@ extern const struct target_desc *
 extern const struct target_desc *
   arm_fbsd_read_description_auxv (bool tls);
 
-#endif /* ARM_FBSD_TDEP_H */
+#endif /* GDB_ARM_FBSD_TDEP_H */
index a6eeb333351f08f740379e1d51a28e339bf16d6b..7aa69ce3f4c25d81da78644a7ce901bb0463e65c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARM_LINUX_TDEP_H
-#define ARM_LINUX_TDEP_H
+#ifndef GDB_ARM_LINUX_TDEP_H
+#define GDB_ARM_LINUX_TDEP_H
 
 struct regset;
 struct regcache;
@@ -67,4 +67,4 @@ void arm_linux_collect_nwfpe (const struct regset *regset,
 #define HWCAP_VFPv3     8192
 #define HWCAP_VFPv3D16  16384
 
-#endif /* ARM_LINUX_TDEP_H */
+#endif /* GDB_ARM_LINUX_TDEP_H */
index 75b1fb9bd2738d939dd16cdba1797d37303a24fd..6e554d4ca2198012d0fde90e064c28ad4e8dbc9d 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARM_NBSD_TDEP_H
-#define ARM_NBSD_TDEP_H
+#ifndef GDB_ARM_NETBSD_TDEP_H
+#define GDB_ARM_NETBSD_TDEP_H
 
 void arm_nbsd_supply_gregset
   (const struct regset *regset, struct regcache *regcache,
    int regnum, const void *gregs, size_t len);
 
-#endif
+#endif /* GDB_ARM_NETBSD_TDEP_H */
index 11839b0ff4d0fd6492e93b0897bac2d42eea4a0e..f8049f4673c740019043b2f3b4dd35ded48263fa 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ARM_TDEP_H
-#define ARM_TDEP_H
+#ifndef GDB_ARM_TDEP_H
+#define GDB_ARM_TDEP_H
 
 /* Forward declarations.  */
 struct regset;
@@ -326,4 +326,4 @@ const target_desc *arm_read_description (arm_fp_type fp_type, bool tls);
    type.  */
 const target_desc *arm_read_mprofile_description (arm_m_profile_type m_type);
 
-#endif /* arm-tdep.h */
+#endif /* GDB_ARM_TDEP_H */
index 1027f9d6fb379760b7ca068ee19b87075ab13db5..16045f424482d08bb81cf23630060991cafb5fb3 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef ASYNC_EVENT_H
-#define ASYNC_EVENT_H
+#ifndef GDB_ASYNC_EVENT_H
+#define GDB_ASYNC_EVENT_H
 
 #include "gdbsupport/event-loop.h"
 
@@ -87,4 +87,4 @@ extern void clear_async_event_handler (struct async_event_handler *handler);
 
 extern void initialize_async_signal_handlers (void);
 
-#endif /* ASYNC_EVENT_H */
+#endif /* GDB_ASYNC_EVENT_H */
index c1003aef0e3da16827583a8df0012d1d56acf7fc..48e6ccfc82f4373b563b94ee8d0f4b940f2b317d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AUTO_LOAD_H
-#define AUTO_LOAD_H 1
+#ifndef GDB_AUTO_LOAD_H
+#define GDB_AUTO_LOAD_H
 
 struct objfile;
 struct program_space;
@@ -79,4 +79,4 @@ extern bool file_is_auto_load_safe (const char *filename);
 extern bool auto_load_gdb_scripts_enabled
   (const struct extension_language_defn *extlang);
 
-#endif /* AUTO_LOAD_H */
+#endif /* GDB_AUTO_LOAD_H */
index aed430dd851469acd6916c3b0a6623a20c9e7c99..3faddff7771586d334596c1c1ca43e319282fa72 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AUXV_H
-#define AUXV_H
+#ifndef GDB_AUXV_H
+#define GDB_AUXV_H
 
 #include "target.h"
 
@@ -88,4 +88,4 @@ extern void default_print_auxv_entry (struct gdbarch *gdbarch,
 extern target_xfer_partial_ftype memory_xfer_auxv;
 
 
-#endif
+#endif /* GDB_AUXV_H */
index 9e2dfea1c51b94c0d0194e942e7d1c140107e914..53f48ff9e33371a5310e1d7e463731954a2e9a41 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AX_GDB_H
-#define AX_GDB_H
+#ifndef GDB_AX_GDB_H
+#define GDB_AX_GDB_H
 
 #include "ax.h"
 
@@ -123,4 +123,4 @@ extern agent_expr_up gen_printf (CORE_ADDR, struct gdbarch *,
                                 CORE_ADDR, LONGEST, const char *, int,
                                 int, struct expression **);
 
-#endif /* AX_GDB_H */
+#endif /* GDB_AX_GDB_H */
index 46c2393f9e06d90f2fdea42f56075c9b2ac1360a..45fd560927bfef20fb342943ac2b5ff2b19ac7bf 100644 (file)
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef AX_H
-#define AX_H
+#ifndef GDB_AX_H
+#define GDB_AX_H
 
 /* It's sometimes useful to be able to debug programs that you can't
    really stop for more than a fraction of a second.  To this end, the
@@ -224,4 +224,4 @@ extern void ax_print (struct ui_file *f, struct agent_expr * EXPR);
 
 extern void ax_reqs (struct agent_expr *ax);
 
-#endif /* AX_H */
+#endif /* GDB_AX_H */
index a77cd005ea6eefe2b3e65c6f223114364a034642..82cdd13cf6fbfdcd0a355274716064584ceae15a 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BCACHE_H
-#define BCACHE_H 1
+#ifndef GDB_BCACHE_H
+#define GDB_BCACHE_H
 
 /* A bcache is a data structure for factoring out duplication in
    read-only structures.  You give the bcache some string of bytes S.
@@ -230,4 +230,4 @@ private:
 
 } /* namespace gdb */
 
-#endif /* BCACHE_H */
+#endif /* GDB_BCACHE_H */
index d20c9263c4bd86b6af2599ccd8e5b16fcd3fbea9..ab3233e8f6f32baa8bb7d0814f6b960e5bc3d824 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BFD_TARGET_H
-#define BFD_TARGET_H
+#ifndef GDB_BFD_TARGET_H
+#define GDB_BFD_TARGET_H
 
 #include "gdb_bfd.h"
 
@@ -27,4 +27,4 @@ struct target_ops;
 /* Given an existing BFD, re-open it as a "struct target_ops".  */
 target_ops_up target_bfd_reopen (const gdb_bfd_ref_ptr &bfd);
 
-#endif
+#endif /* GDB_BFD_TARGET_H */
index dbdafae9d45cc09cfb8e60abe97d73049a5958a5..d28af50406ffd2a58bb8470c34d22cecf1e59394 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BFIN_TDEP_H
-#define BFIN_TDEP_H
+#ifndef GDB_BFIN_TDEP_H
+#define GDB_BFIN_TDEP_H
 
 #include "gdbarch.h"
 
@@ -105,4 +105,4 @@ struct bfin_gdbarch_tdep : gdbarch_tdep_base
 /* Return the Blackfin ABI associated with GDBARCH.  */
 extern enum bfin_abi bfin_abi (struct gdbarch *gdbarch);
 
-#endif /* BFIN_TDEP_H */
+#endif /* GDB_BFIN_TDEP_H */
index 05daa73464201a4e2e9c685c38144f06fe1a9627..75f5c8e93944342782343ebfb9b5b99afce1d4ff 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BLOCK_H
-#define BLOCK_H
+#ifndef GDB_BLOCK_H
+#define GDB_BLOCK_H
 
 #include "dictionary.h"
 #include "gdbsupport/array-view.h"
@@ -654,4 +654,4 @@ extern struct symbol *block_find_symbol (const struct block *block,
 struct blockranges *make_blockranges (struct objfile *objfile,
                                      const std::vector<blockrange> &rangevec);
 
-#endif /* BLOCK_H */
+#endif /* GDB_BLOCK_H */
index cbee70f4e9ed15d7b8340a2a598334febd7a28cc..33e60dd4ef73b2bd08ab6867d0799034627f6d53 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (BREAK_COND_PARSE_H)
-#define BREAK_COND_PARSE_H 1
+#ifndef GDB_BREAK_COND_PARSE_H
+#define GDB_BREAK_COND_PARSE_H
 
 /* Given TOK, a string possibly containing a condition, thread, inferior,
    task and force-condition flag, as accepted by the 'break' command,
@@ -49,4 +49,4 @@ extern void create_breakpoint_parse_arg_string
    int *thread, int *inferior, int *task,
    gdb::unique_xmalloc_ptr<char> *rest, bool *force);
 
-#endif
+#endif /* GDB_BREAK_COND_PARSE_H */
index 696dd9e0028e6fdbb11cb432b4a7d19d5881c8c3..94fba1cf602d3c8938512d480aa7136a3efd691c 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (BREAKPOINT_H)
-#define BREAKPOINT_H 1
+#ifndef GDB_BREAKPOINT_H
+#define GDB_BREAKPOINT_H
 
 #include "frame.h"
 #include "value.h"
@@ -2103,4 +2103,4 @@ extern void enable_disable_bp_location (bp_location *loc, bool enable);
 
 extern void notify_breakpoint_modified (breakpoint *b);
 
-#endif /* !defined (BREAKPOINT_H) */
+#endif /* GDB_BREAKPOINT_H */
index 1606eb3acea4875bb34743af8151c0b43223411a..6ddd154da4ae3cdedd62bfd8efbbd41f5e6b21ca 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BSD_KVM_H
-#define BSD_KVM_H
+#ifndef GDB_BSD_KVM_H
+#define GDB_BSD_KVM_H
 
 struct pcb;
 struct regcache;
@@ -30,4 +30,4 @@ struct regcache;
 extern void
   bsd_kvm_add_target (int (*supply_pcb)(struct regcache *, struct pcb *));
 
-#endif /* bsd-kvm.h */
+#endif /* GDB_BSD_KVM_H */
index eabd82dbdafd690fc16d983302862db16cab7b6d..e236eaae4f615f7300496d9e792c01e32dcf4a3e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BSD_UTHREAD_H
-#define BSD_UTHREAD_H 1
+#ifndef GDB_BSD_UTHREAD_H
+#define GDB_BSD_UTHREAD_H
 
 /* Set the function that supplies registers for an inactive thread for
    architecture GDBARCH to SUPPLY_UTHREAD.  */
@@ -35,4 +35,4 @@ extern void bsd_uthread_set_collect_uthread (struct gdbarch *gdbarch,
                             void (*collect_uthread) (const struct regcache *,
                                                      int, CORE_ADDR));
 
-#endif /* bsd-uthread.h */
+#endif /* GDB_BSD_UTHREAD_H */
index 1288ec705ef89d8a4409cf4308af9b277ac93cd4..0981ed7593996100f10b9e525688c1918688a63f 100644 (file)
@@ -18,8 +18,8 @@
 /* Support for printing a backtrace when GDB hits an error.  This is not
    for printing backtraces of the inferior, but backtraces of GDB itself.  */
 
-#ifndef BT_UTILS_H
-#define BT_UTILS_H
+#ifndef GDB_BT_UTILS_H
+#define GDB_BT_UTILS_H
 
 #ifdef HAVE_LIBBACKTRACE
 # include "backtrace.h"
@@ -75,4 +75,4 @@ extern void gdb_internal_backtrace_set_cmd (const char *args, int from_tty,
 
 extern void gdb_internal_backtrace_init_str ();
 
-#endif /* BT_UTILS_H */
+#endif /* GDB_BT_UTILS_H */
index a4960f310638cc484ec09aecfb5234d1f4aa42ec..e8867c8f128c44645ff5553a415be861b4aed85c 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BTRACE_H
-#define BTRACE_H
+#ifndef GDB_BTRACE_H
+#define GDB_BTRACE_H
 
 /* Branch tracing (btrace) is a per-thread control-flow execution trace of the
    inferior.  For presentation purposes, the branch trace is represented as a
@@ -535,4 +535,4 @@ extern int btrace_is_replaying (struct thread_info *tp);
 /* Return non-zero if the branch trace for TP is empty; zero otherwise.  */
 extern int btrace_is_empty (struct thread_info *tp);
 
-#endif /* BTRACE_H */
+#endif /* GDB_BTRACE_H */
index 0174412c5bd7ff2706e794673e26e8ca1d95833a..e2a62fdefce47071fa6512dd5ed66a48cb7e4186 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BUILD_ID_H
-#define BUILD_ID_H
+#ifndef GDB_BUILD_ID_H
+#define GDB_BUILD_ID_H
 
 #include "gdb_bfd.h"
 #include "gdbsupport/rsp-low.h"
@@ -105,4 +105,4 @@ build_id_equal (const bfd_build_id *a, const bfd_build_id *b)
   return build_id_equal (a, b->size, b->data);
 }
 
-#endif /* BUILD_ID_H */
+#endif /* GDB_BUILD_ID_H */
index 1fb545831b8895d8c4ec5407773b0b0de7740f01..1f032c427511f3acf4447ac191d69b0affe586da 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef BUILDSYM_LEGACY_H
-#define BUILDSYM_LEGACY_H
+#ifndef GDB_BUILDSYM_LEGACY_H
+#define GDB_BUILDSYM_LEGACY_H
 
 #include "buildsym.h"
 
@@ -144,4 +144,4 @@ extern struct pending **get_global_symbols ();
 
 extern struct buildsym_compunit *get_buildsym_compunit ();
 
-#endif /* BUILDSYM_LEGACY_H */
+#endif /* GDB_BUILDSYM_LEGACY_H */
index c1eed247d259e884278f8c60981daeceb0e7b0fb..974645c1c4753a7ab52d711bc5ab7bc2252dc969 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (BUILDSYM_H)
-#define BUILDSYM_H 1
+#ifndef GDB_BUILDSYM_H
+#define GDB_BUILDSYM_H
 
 #include "gdbsupport/gdb_obstack.h"
 #include "symtab.h"
@@ -456,4 +456,4 @@ extern void add_symbol_to_list (struct symbol *symbol,
 extern struct symbol *find_symbol_in_list (struct pending *list,
                                           char *name, int length);
 
-#endif /* defined (BUILDSYM_H) */
+#endif /* GDB_BUILDSYM_H */
index a76f1bc8213f765132c8e5e29fd098c338bff619..a6c084d32be0434a2f6c6c60be2a40244f734523 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef C_EXP_H
-#define C_EXP_H
+#ifndef GDB_C_EXP_H
+#define GDB_C_EXP_H
 
 #include "expop.h"
 #include "objc-lang.h"
@@ -217,4 +217,4 @@ public:
 
 }/* namespace expr */
 
-#endif /* C_EXP_H */
+#endif /* GDB_C_EXP_H */
index 8dc47ac8be5f20ca61193dbdb404c631ebe780c8..0e733d810d8d473593d33b323f2975ceb15dfc8c 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#if !defined (C_LANG_H)
-#define C_LANG_H 1
+#ifndef GDB_C_LANG_H
+#define GDB_C_LANG_H
 
 struct ui_file;
 struct language_arch_info;
@@ -174,4 +174,4 @@ extern std::string cplus_compute_program (compile_instance *inst,
 
 extern gdb::unique_xmalloc_ptr<char> c_canonicalize_name (const char *name);
 
-#endif /* !defined (C_LANG_H) */
+#endif /* GDB_C_LANG_H */
index 3718181ba81096f4e8189e55abda931658b7daa7..30858d1e1af58b81ae2f8f11b5b6e86aa8bbfaa6 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef C_SUPPORT_H
-#define C_SUPPORT_H
+#ifndef GDB_C_SUPPORT_H
+#define GDB_C_SUPPORT_H
 
 #include "safe-ctype.h"
 
@@ -43,4 +43,4 @@ c_ident_is_alnum (unsigned char ch)
   return ISALNUM (ch) || ch >= 0x80;
 }
 
-#endif /* C_SUPPORT_H */
+#endif /* GDB_C_SUPPORT_H */
index 35f09c1269b3f953e93bef663dc9f831925cea28..30b845752639c49d34d0a9dc6c0261e454cdc531 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CGEN_REMAP_H
-#define CGEN_REMAP_H
+#ifndef GDB_CGEN_REMAP_H
+#define GDB_CGEN_REMAP_H
 
 /* Remap cgen interface names, so we can have multiple cgen generated include
    files in gdb without violating c++ ODR.  */
@@ -50,4 +50,4 @@
 #define CGEN_OPERAND           GDB_CGEN_REMAP (CGEN_OPERAND)
 #define CGEN_MAYBE_MULTI_IFLD  GDB_CGEN_REMAP (CGEN_MAYBE_MULTI_IFLD)
 
-#endif /* CGEN_REMAP_H */
+#endif /* GDB_CGEN_REMAP_H */
index c4d0867d580c4c6bedda587b0ae44f3aa520c849..9da3da2590af16c94b302d60088e0ac7b2e5093f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CHARSET_LIST_H
-#define CHARSET_LIST_H
+#ifndef GDB_CHARSET_LIST_H
+#define GDB_CHARSET_LIST_H
 
 /* Note that the first entry must always be "auto".
    The remaining entries were created by running this script:
 "WS2", \
 "YU",
 
-#endif /* CHARSET_LIST_H */
+#endif /* GDB_CHARSET_LIST_H */
index 4263dc147e9164bf0c125c1a6501e07a4dcac933..c4e0de553d310627266cb0f926f84fdb0787e9a4 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CHARSET_H
-#define CHARSET_H
+#ifndef GDB_CHARSET_H
+#define GDB_CHARSET_H
 
 #include "gdbsupport/def-vector.h"
 
@@ -165,4 +165,4 @@ char host_letter_to_control_character (char c);
 #define HOST_UTF32 "UTF-32LE"
 #endif
 
-#endif /* CHARSET_H */
+#endif /* GDB_CHARSET_H */
index f0654b2063e1671678b091ca073e9e384273da28..bdbf99097adc9811179b8c212471d2c79bcfd28b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_OUT_H
-#define CLI_OUT_H
+#ifndef GDB_CLI_OUT_H
+#define GDB_CLI_OUT_H
 
 #include "ui-out.h"
 #include <chrono>
@@ -113,4 +113,4 @@ private:
 
 extern void cli_display_match_list (char **matches, int len, int max);
 
-#endif
+#endif /* GDB_CLI_OUT_H */
index 8f26ca3e17a7e785df3d455b486f10c72ae81816..6719ad7cae351633624795465a582c8aa7042498 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_CLI_CMDS_H
-#define CLI_CLI_CMDS_H
+#ifndef GDB_CLI_CLI_CMDS_H
+#define GDB_CLI_CLI_CMDS_H
 
 #include "gdbsupport/filestuff.h"
 #include <optional>
@@ -202,4 +202,4 @@ extern void with_command_completer_1 (const char *set_cmd_prefix,
                                      completion_tracker &tracker,
                                      const char *text);
 
-#endif /* CLI_CLI_CMDS_H */
+#endif /* GDB_CLI_CLI_CMDS_H */
index 7e25374fc80e42165a77b0e5c93ca98e9ab34a6f..ec73c11d17248ffae810b05a592965de8295b371 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_CLI_DECODE_H
-#define CLI_CLI_DECODE_H
+#ifndef GDB_CLI_CLI_DECODE_H
+#define GDB_CLI_CLI_DECODE_H
 
 /* This file defines the private interfaces for any code implementing
    command internals.  */
@@ -316,4 +316,4 @@ extern int cli_user_command_p (struct cmd_list_element *);
 
 extern int find_command_name_length (const char *);
 
-#endif /* CLI_CLI_DECODE_H */
+#endif /* GDB_CLI_CLI_DECODE_H */
index 03b592fdf9c7f782900c707efaf28a973ca1df0a..ed3d9040d1af50529c442c1030d94cdebd2b953f 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_CLI_INTERP_H
-#define CLI_CLI_INTERP_H
+#ifndef GDB_CLI_CLI_INTERP_H
+#define GDB_CLI_CLI_INTERP_H
 
 #include "interps.h"
 
@@ -68,4 +68,4 @@ private:
 extern int should_print_stop_to_console (struct interp *interp,
                                         struct thread_info *tp);
 
-#endif /* CLI_CLI_INTERP_H */
+#endif /* GDB_CLI_CLI_INTERP_H */
index 26307a5d1e9696e4e44b7608d4e25bf6fa4ce02a..dd3db8b721b7fbcc6c6e0ea47498175a73ac970d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_OPTION_H
-#define CLI_OPTION_H 1
+#ifndef GDB_CLI_CLI_OPTION_H
+#define GDB_CLI_CLI_OPTION_H
 
 #include <optional>
 #include "gdbsupport/array-view.h"
@@ -399,4 +399,4 @@ extern void add_setshow_cmds_for_options (command_class cmd_class, void *data,
 } /* namespace option */
 } /* namespace gdb */
 
-#endif /* CLI_OPTION_H */
+#endif /* GDB_CLI_CLI_OPTION_H */
index 512e37b8bf354be0778989138cdbef12cb4e82ff..23bd83e0b2b5576a484b9ba7e954e7ab2c58045f 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_CLI_SCRIPT_H
-#define CLI_CLI_SCRIPT_H
+#ifndef GDB_CLI_CLI_SCRIPT_H
+#define GDB_CLI_CLI_SCRIPT_H
 
 #include "compile/compile.h"
 #include "gdbsupport/function-view.h"
@@ -182,4 +182,4 @@ extern void print_command_trace (const char *cmd, ...)
 
 extern void reset_command_nest_depth (void);
 
-#endif /* CLI_CLI_SCRIPT_H */
+#endif /* GDB_CLI_CLI_SCRIPT_H */
index 4b8875d5794d27567f4c4908ba7b5cdb24e930dd..9eac86fc674066748eb00fe4c22ac3f27b432530 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_CLI_SETSHOW_H
-#define CLI_CLI_SETSHOW_H
+#ifndef GDB_CLI_CLI_SETSHOW_H
+#define GDB_CLI_CLI_SETSHOW_H
 
 #include <string>
 
@@ -60,4 +60,4 @@ extern std::string get_setshow_command_value_string (const setting &var);
 
 extern void cmd_show_list (struct cmd_list_element *list, int from_tty);
 
-#endif /* CLI_CLI_SETSHOW_H */
+#endif /* GDB_CLI_CLI_SETSHOW_H */
index 24ec2ce0ad44432f539ae34c9364354a65c57ac7..171ec714b45b1c58d3babc9fe819a396f5af2c53 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_CLI_STYLE_H
-#define CLI_CLI_STYLE_H
+#ifndef GDB_CLI_CLI_STYLE_H
+#define GDB_CLI_CLI_STYLE_H
 
 #include "ui-file.h"
 #include "command.h"
@@ -160,4 +160,4 @@ extern bool disassembler_styling;
 /* True if styling is enabled.  */
 extern bool cli_styling;
 
-#endif /* CLI_CLI_STYLE_H */
+#endif /* GDB_CLI_CLI_STYLE_H */
index 54b45fdc796b303be677ce294639c2b4846f5029..e11430ecb703587092ec4cbe18b9018ce6eb5d91 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CLI_CLI_UTILS_H
-#define CLI_CLI_UTILS_H
+#ifndef GDB_CLI_CLI_UTILS_H
+#define GDB_CLI_CLI_UTILS_H
 
 #include "completer.h"
 
@@ -225,4 +225,4 @@ struct qcs_flags
    message.  */
 extern void validate_flags_qcs (const char *which_command, qcs_flags *flags);
 
-#endif /* CLI_CLI_UTILS_H */
+#endif /* GDB_CLI_CLI_UTILS_H */
index d596240f97d9a764e734dd9462d0efc37f8ff935..c1510460f9bcc8f8a75cfa69cff747b4cfababfc 100644 (file)
@@ -19,8 +19,8 @@
 
    Contributed by Raoul M. Gough (RaoulGough@yahoo.co.uk).  */
 
-#if !defined (COFF_PE_READ_H)
-#define COFF_PE_READ_H
+#ifndef GDB_COFF_PE_READ_H
+#define GDB_COFF_PE_READ_H
 
 class minimal_symbol_reader;
 struct objfile;
@@ -35,4 +35,4 @@ extern void read_pe_exported_syms (minimal_symbol_reader &reader,
    Returns default value 0x1000 if information is not found.  */
 extern CORE_ADDR pe_text_section_offset (struct bfd *abfd);
 
-#endif /* !defined (COFF_PE_READ_H) */
+#endif /* GDB_COFF_PE_READ_H */
index 675b48eeea8a521a59c461c893adadc0182d228e..308614bcf7569652325a81d12e28c0af4b9378b9 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (COMMAND_H)
-#define COMMAND_H 1
+#ifndef GDB_COMMAND_H
+#define GDB_COMMAND_H
 
 #include "gdbsupport/scoped_restore.h"
 
@@ -933,4 +933,4 @@ extern void not_just_help_class_command (const char *, int);
 extern void cmd_func (struct cmd_list_element *cmd,
                      const char *args, int from_tty);
 
-#endif /* !defined (COMMAND_H) */
+#endif /* GDB_COMMAND_H */
index 4670d671a9f36e4d700e82e602f44b04fc72bad1..b77b7aab08717c01e5fe15a3d52b5dd563710d7c 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMPILE_COMPILE_C_H
-#define COMPILE_COMPILE_C_H
+#ifndef GDB_COMPILE_COMPILE_C_H
+#define GDB_COMPILE_COMPILE_C_H
 
 #include "compile/compile.h"
 #include "gdbsupport/enum-flags.h"
@@ -93,4 +93,4 @@ extern std::string c_get_range_decl_name (const struct dynamic_prop *prop);
 extern gdb::unique_xmalloc_ptr<char>
   c_symbol_substitution_name (struct symbol *sym);
 
-#endif /* COMPILE_COMPILE_C_H */
+#endif /* GDB_COMPILE_COMPILE_C_H */
index a714b6dab3c1adcc29377aab3df7117836416da8..d3b2d3e9843450e4b808a8781f46b84f6a263ed5 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMPILE_COMPILE_CPLUS_H
-#define COMPILE_COMPILE_CPLUS_H
+#ifndef GDB_COMPILE_COMPILE_CPLUS_H
+#define GDB_COMPILE_COMPILE_CPLUS_H
 
 #include "compile/compile.h"
 #include "gdbsupport/enum-flags.h"
@@ -204,4 +204,4 @@ private:
 enum gcc_cp_symbol_kind get_method_access_flag (const struct type *type,
                                                int fni, int num);
 
-#endif /* COMPILE_COMPILE_CPLUS_H */
+#endif /* GDB_COMPILE_COMPILE_CPLUS_H */
index 666406b23950cf95e2f61a334e029baa01f8075e..f4cc9ee498456307041728d5c099957bcab0e0b0 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMPILE_COMPILE_INTERNAL_H
-#define COMPILE_COMPILE_INTERNAL_H
+#ifndef GDB_COMPILE_COMPILE_INTERNAL_H
+#define GDB_COMPILE_COMPILE_INTERNAL_H
 
 #include "gcc-c-interface.h"
 #include "gdbsupport/gdb-hashtab.h"
@@ -80,4 +80,4 @@ private:
   std::string m_object_file;
 };
 
-#endif /* COMPILE_COMPILE_INTERNAL_H */
+#endif /* GDB_COMPILE_COMPILE_INTERNAL_H */
index 83665b5c4c42e628f66a87a20b0baa29df2ee4b4..463aa0813d58f78d83d64f0380624958152f22ed 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMPILE_COMPILE_OBJECT_LOAD_H
-#define COMPILE_COMPILE_OBJECT_LOAD_H
+#ifndef GDB_COMPILE_COMPILE_OBJECT_LOAD_H
+#define GDB_COMPILE_COMPILE_OBJECT_LOAD_H
 
 #include "compile-internal.h"
 #include "compile.h"
@@ -95,4 +95,4 @@ extern compile_module_up compile_object_load
   (const compile_file_names &fnames,
    enum compile_i_scope_types scope, void *scope_data);
 
-#endif /* COMPILE_COMPILE_OBJECT_LOAD_H */
+#endif /* GDB_COMPILE_COMPILE_OBJECT_LOAD_H */
index 5d9f23c6a390cb960d9693efc76156b89348bff5..64b2bd90a991c9222a534a489bf5396abc308ebf 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMPILE_COMPILE_OBJECT_RUN_H
-#define COMPILE_COMPILE_OBJECT_RUN_H
+#ifndef GDB_COMPILE_COMPILE_OBJECT_RUN_H
+#define GDB_COMPILE_COMPILE_OBJECT_RUN_H
 
 #include "compile-object-load.h"
 
 extern void compile_object_run (compile_module_up &&module);
 
-#endif /* COMPILE_COMPILE_OBJECT_RUN_H */
+#endif /* GDB_COMPILE_COMPILE_OBJECT_RUN_H */
index 1f57d670c9888a08d805420d545337cee82e9f8e..7d03d3c9bf1cc2ee598d59bc861bdbf59725cb21 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMPILE_COMPILE_H
-#define COMPILE_COMPILE_H
+#ifndef GDB_COMPILE_COMPILE_H
+#define GDB_COMPILE_COMPILE_H
 
 #include "gcc-c-interface.h"
 #include "gdbsupport/unordered_map.h"
@@ -262,4 +262,4 @@ extern void compile_print_value (struct value *val, void *data_voidp);
 /* Command element for the 'compile' command.  */
 extern cmd_list_element *compile_cmd_element;
 
-#endif /* COMPILE_COMPILE_H */
+#endif /* GDB_COMPILE_COMPILE_H */
index 4008807526b3a789e3bbea082df287d044cdad4b..d12472f01c176b4fe18ac476e58c2789448c9da3 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMPILE_GCC_C_PLUGIN_H
-#define COMPILE_GCC_C_PLUGIN_H
+#ifndef GDB_COMPILE_GCC_C_PLUGIN_H
+#define GDB_COMPILE_GCC_C_PLUGIN_H
 
 #include "compile-internal.h"
 
@@ -68,4 +68,4 @@ private:
   struct gcc_c_context *m_context;
 };
 
-#endif /* COMPILE_GCC_C_PLUGIN_H */
+#endif /* GDB_COMPILE_GCC_C_PLUGIN_H */
index cf8ccd9072592631ec91ee91f43ed619df2e9b9a..8f36993412722b523338e937c66700490eef64e2 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMPILE_GCC_CP_PLUGIN_H
-#define COMPILE_GCC_CP_PLUGIN_H
+#ifndef GDB_COMPILE_GCC_CP_PLUGIN_H
+#define GDB_COMPILE_GCC_CP_PLUGIN_H
 
 /* A class representing the GCC C++ plug-in.  */
 
@@ -87,4 +87,4 @@ private:
   struct gcc_cp_context *m_context;
 };
 
-#endif /* COMPILE_GCC_CP_PLUGIN_H */
+#endif /* GDB_COMPILE_GCC_CP_PLUGIN_H */
index d672e0c365dd0638b11d9dde4ca71ec61c473dc2..3d0e0babd836a667134edf4b6ecb22a5b3d53490 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (COMPLAINTS_H)
-#define COMPLAINTS_H
+#ifndef GDB_COMPLAINTS_H
+#define GDB_COMPLAINTS_H
 
 #include "gdbsupport/scoped_restore.h"
 #include <unordered_set>
@@ -109,4 +109,4 @@ private:
 
 extern void re_emit_complaints (const complaint_collection &);
 
-#endif /* !defined (COMPLAINTS_H) */
+#endif /* GDB_COMPLAINTS_H */
index ba0ef7ab312e94e9d9868af075a8e02acc222329..07953f1e2ee884d3311bc9673e876b1d40564f3f 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (COMPLETER_H)
-#define COMPLETER_H 1
+#ifndef GDB_COMPLETER_H
+#define GDB_COMPLETER_H
 
 #include "gdbsupport/gdb-hashtab.h"
 #include "command.h"
@@ -734,4 +734,4 @@ extern bool skip_over_slash_fmt (completion_tracker &tracker,
 
 extern int max_completions;
 
-#endif /* defined (COMPLETER_H) */
+#endif /* GDB_COMPLETER_H */
index 4ac42cdae1a9b1dfeba40361e94ba97f68259c04..d599d3fdef525b700e6c6ea9a9e77c46f4d4dc84 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CONFIG_NM_LINUX_H
-#define CONFIG_NM_LINUX_H
+#ifndef GDB_CONFIG_NM_LINUX_H
+#define GDB_CONFIG_NM_LINUX_H
 
 /* Use elf_gregset_t and elf_fpregset_t, rather than
    gregset_t and fpregset_t.  */
@@ -26,4 +26,4 @@
 #define GDB_GREGSET_T  elf_gregset_t
 #define GDB_FPREGSET_T elf_fpregset_t
 
-#endif /* CONFIG_NM_LINUX_H */
+#endif /* GDB_CONFIG_NM_LINUX_H */
index fdbe48431290dc73894f9a43e596a675d3b15670..6c8d9043463a15ef0bfa36e0e0bbbc35c58cd6f7 100644 (file)
@@ -20,8 +20,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CP_ABI_H
-#define CP_ABI_H
+#ifndef GDB_CP_ABI_H
+#define GDB_CP_ABI_H
 
 struct fn_field;
 struct type;
@@ -255,4 +255,4 @@ struct cp_abi_ops
 extern int register_cp_abi (struct cp_abi_ops *abi);
 extern void set_cp_abi_as_auto_default (const char *short_name);
 
-#endif /* CP_ABI_H */
+#endif /* GDB_CP_ABI_H */
index 942febffb4d10032d42dd6a1f62b1bdd4e00305f..b557c1d78cf2bc740632ebbf8f1cda7f685b79eb 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CP_SUPPORT_H
-#define CP_SUPPORT_H
+#ifndef GDB_CP_SUPPORT_H
+#define GDB_CP_SUPPORT_H
 
 #include "symtab.h"
 #include "gdbsupport/gdb_obstack.h"
@@ -208,4 +208,4 @@ extern char *gdb_cplus_demangle_print (int options,
 
 extern const char *find_toplevel_char (const char *s, char c);
 
-#endif /* CP_SUPPORT_H */
+#endif /* GDB_CP_SUPPORT_H */
index f4f4744adafcfa7dddc76ed2666353cbb80f57b0..8be95473e211f625bd14713ac44ae91ebabf5770 100644 (file)
@@ -20,8 +20,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CRIS_TDEP_H
-#define CRIS_TDEP_H
+#ifndef GDB_CRIS_TDEP_H
+#define GDB_CRIS_TDEP_H
 
 #include "gdbarch.h"
 
@@ -33,4 +33,4 @@ struct cris_gdbarch_tdep : gdbarch_tdep_base
   int cris_dwarf2_cfi = 0;
 };
 
-#endif /* CRIS_TDEP_H */
+#endif /* GDB_CRIS_TDEP_H */
index e5516e835502c6183be89304ecd87b7abed99dd5..2991719229887d0e0bf33b7e1c01c076717b39df 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CSKY_TDEP_H
-#define CSKY_TDEP_H
+#ifndef GDB_CSKY_TDEP_H
+#define GDB_CSKY_TDEP_H
 
 #include "gdbarch.h"
 
@@ -390,4 +390,4 @@ enum csky_regnum
 #define CSKY_LRW_T1_PC_8    0x2ea8d
 #define CSKY_JMP_T1_VS_NOP  0x6c037834
 
-#endif
+#endif /* GDB_CSKY_TDEP_H */
index ff348a2487b5003418a5f00f114ff6a6a773dfce..711a1dd29029586d78e5b25d658808c24aa81ad8 100644 (file)
@@ -17,9 +17,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CTFREAD_H
-#define CTFREAD_H
+#ifndef GDB_CTFREAD_H
+#define GDB_CTFREAD_H
 
 extern void elfctf_build_psymtabs (struct objfile *objfile);
 
-#endif /* CTFREAD_H */
+#endif /* GDB_CTFREAD_H */
index ecf194d8155b029039761d824a5a9b1619d80cda..8a944472b329ce74fc3d62bae8d4d1d7d4c29551 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (D_LANG_H)
-#define D_LANG_H 1
+#ifndef GDB_D_LANG_H
+#define GDB_D_LANG_H
 
 #include "symtab.h"
 
@@ -84,4 +84,4 @@ extern void d_value_print_inner (struct value *val,
                                 struct ui_file *stream, int recurse,
                                 const struct value_print_options *options);
 
-#endif /* !defined (D_LANG_H) */
+#endif /* GDB_D_LANG_H */
index 71aee57f61a52956baf335f777cd96e2201e10d9..4ead0ea700321676ed0e41a39e77a56d403904fe 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DARWIN_NAT_H
-#define DARWIN_NAT_H
+#ifndef GDB_DARWIN_NAT_H
+#define GDB_DARWIN_NAT_H
 
 #include "inf-child.h"
 #include <mach/mach.h>
@@ -210,4 +210,4 @@ void darwin_set_sstep (thread_t thread, int enable);
 
 void darwin_check_osabi (darwin_inferior *inf, thread_t thread);
 
-#endif /* DARWIN_NAT_H */
+#endif /* GDB_DARWIN_NAT_H */
index 101e65dc41f9b505056325e1436f396cf55ec252..21f49e522c55e217822c8e3c85c91bdf6c3c260e 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DCACHE_H
-#define DCACHE_H
+#ifndef GDB_DCACHE_H
+#define GDB_DCACHE_H
 
 #include "target.h"
 
@@ -52,4 +52,4 @@ void dcache_update (DCACHE *dcache, enum target_xfer_status status,
                    CORE_ADDR memaddr, const gdb_byte *myaddr,
                    ULONGEST len);
 
-#endif /* DCACHE_H */
+#endif /* GDB_DCACHE_H */
index 2b816fd4b820e2ce9ed429b85fe789eaf4383866..2b396dc13c1e4d6a748ec10b551ea76e322d7de8 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DEBUGINFOD_SUPPORT_H
-#define DEBUGINFOD_SUPPORT_H
+#ifndef GDB_DEBUGINFOD_SUPPORT_H
+#define GDB_DEBUGINFOD_SUPPORT_H
 
 #include "gdbsupport/scoped_fd.h"
 
@@ -105,4 +105,4 @@ extern scoped_fd debuginfod_section_query (const unsigned char *build_id,
                                           const char *section_name,
                                           gdb::unique_xmalloc_ptr<char>
                                             *destname);
-#endif /* DEBUGINFOD_SUPPORT_H */
+#endif /* GDB_DEBUGINFOD_SUPPORT_H */
index 8fde5be1cd35d0d37e8e946888c06c51372498a1..5d52e668f1ddcda7dd5bb96f0a2d4d9adfb0ff18 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DEFS_H
-#define DEFS_H
+#ifndef GDB_DEFS_H
+#define GDB_DEFS_H
 
 #ifdef GDBSERVER
 #  error gdbserver should not include gdb/defs.h
@@ -407,4 +407,4 @@ DEF_ENUM_FLAGS_TYPE (enum user_selected_what_flag, user_selected_what);
 
 #include "utils.h"
 
-#endif /* #ifndef DEFS_H */
+#endif /* GDB_DEFS_H */
index 1e3eb41a41f2c903c5351f1cd3fb8b99e2f5d97e..5305debd70749423fe55e7a9c88369daeab770f9 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DICOS_TDEP_H
-#define DICOS_TDEP_H
+#ifndef GDB_DICOS_TDEP_H
+#define GDB_DICOS_TDEP_H
 
 extern void dicos_init_abi (struct gdbarch *gdbarch);
 extern int dicos_load_module_p (bfd *abfd, int header_size);
 
-#endif /* dicos-tdep.h */
+#endif /* GDB_DICOS_TDEP_H */
index e09afb33ba099d953d154acee57bf57466be0c49..79b2f707dfb720d567650ade92ca03cacbaf18ce 100644 (file)
@@ -20,8 +20,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DICTIONARY_H
-#define DICTIONARY_H
+#ifndef GDB_DICTIONARY_H
+#define GDB_DICTIONARY_H
 
 #include "symfile.h"
 
@@ -208,4 +208,4 @@ private:
   struct mdict_iterator m_iter;
 };
 
-#endif /* DICTIONARY_H */
+#endif /* GDB_DICTIONARY_H */
index ab1b4ba03e46d09c06976a2b7f5ada83e8774db3..9f48d986d3f5b6a612182a5476081e171d3b588c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DISASM_FLAGS_H
-#define DISASM_FLAGS_H
+#ifndef GDB_DISASM_FLAGS_H
+#define GDB_DISASM_FLAGS_H
 
 #include "gdbsupport/enum-flags.h"
 
@@ -38,4 +38,4 @@ enum gdb_disassembly_flag : unsigned
   };
 DEF_ENUM_FLAGS_TYPE (enum gdb_disassembly_flag, gdb_disassembly_flags);
 
-#endif /* DISASM_FLAGS_H */
+#endif /* GDB_DISASM_FLAGS_H */
index 9d5450ce8b341003252526f29074e366d1497a66..be500e5c455f2ee9eaa8bf66ae82d4bf4314d5d4 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DISASM_H
-#define DISASM_H
+#ifndef GDB_DISASM_H
+#define GDB_DISASM_H
 
 #include "dis-asm.h"
 #include "disasm-flags.h"
@@ -392,4 +392,4 @@ extern const char *get_disassembler_options (struct gdbarch *gdbarch);
 
 extern void set_disassembler_options (const char *options);
 
-#endif
+#endif /* GDB_DISASM_H */
index ba0d56c2a1f0a416e81dbb1b5aadabf8d8bc2b8d..d7a537a58c92d2579e2dbecad481101b4ccabf57 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DISPLACED_STEPPING_H
-#define DISPLACED_STEPPING_H
+#ifndef GDB_DISPLACED_STEPPING_H
+#define GDB_DISPLACED_STEPPING_H
 
 #include "gdbsupport/array-view.h"
 #include "gdbsupport/byte-vector.h"
@@ -207,4 +207,4 @@ private:
   std::vector<displaced_step_buffer> m_buffers;
 };
 
-#endif /* DISPLACED_STEPPING_H */
+#endif /* GDB_DISPLACED_STEPPING_H */
index 7d963ad9beb6b4ec1505e331ab10167e69bcb31c..78998e84413774e6ad6a7acc8eebdbd17d66548b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (DUMMY_FRAME_H)
-#define DUMMY_FRAME_H 1
+#ifndef GDB_DUMMY_FRAME_H
+#define GDB_DUMMY_FRAME_H
 
 #include "frame.h"
 
@@ -80,4 +80,4 @@ extern int find_dummy_frame_dtor (dummy_frame_dtor_ftype *dtor,
 extern struct frame_id default_dummy_id (struct gdbarch *gdbarch,
                                         const frame_info_ptr &this_frame);
 
-#endif /* !defined (DUMMY_FRAME_H)  */
+#endif /* GDB_DUMMY_FRAME_H */
index 82426c71c1ba44aec1cf8412a716913455f9e2bd..32cf673332b0a0c2adee0fa589f120cf9d089c5a 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CALL_SITE_H
-#define CALL_SITE_H
+#ifndef GDB_DWARF2_CALL_SITE_H
+#define GDB_DWARF2_CALL_SITE_H
 
 #include "dwarf2/types.h"
 #include "../frame.h"
@@ -258,4 +258,4 @@ struct call_site_eq_pc
 using call_site_htab_t
   = gdb::unordered_set<call_site *, call_site_hash_pc, call_site_eq_pc>;
 
-#endif /* CALL_SITE_H */
+#endif /* GDB_DWARF2_CALL_SITE_H */
index fad484c3b93472c5480669b7fd59892f570ccea6..d161783187c2f2cfacf727cc504bdbf5e4a1798c 100644 (file)
@@ -24,8 +24,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_DWARF2_COMP_UNIT_H
-#define GDB_DWARF2_COMP_UNIT_H
+#ifndef GDB_DWARF2_COMP_UNIT_HEAD_H
+#define GDB_DWARF2_COMP_UNIT_HEAD_H
 
 #include "dwarf2.h"
 #include "dwarf2/leb.h"
@@ -136,4 +136,4 @@ extern const gdb_byte *read_and_check_comp_unit_head
    const gdb_byte *info_ptr,
    rcuh_kind section_kind);
 
-#endif /* GDB_DWARF2_COMP_UNIT_H */
+#endif /* GDB_DWARF2_COMP_UNIT_HEAD_H */
index b02cc53164065433d14d472b77a5a337125d10b9..bbb9cd078ba24cef7d3e8a11fe660f39cce2858c 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (DWARF2EXPR_H)
-#define DWARF2EXPR_H
+#ifndef GDB_DWARF2_EXPR_H
+#define GDB_DWARF2_EXPR_H
 
 #include "leb128.h"
 #include "dwarf2/call-site.h"
@@ -320,4 +320,4 @@ extern const gdb_byte *safe_read_sleb128 (const gdb_byte *buf,
 extern const gdb_byte *safe_skip_leb128 (const gdb_byte *buf,
                                         const gdb_byte *buf_end);
 
-#endif /* DWARF2EXPR_H */
+#endif /* GDB_DWARF2_EXPR_H */
index 3f49487ac2a710bd1a5f2fc7a10033e7fd55b5cd..558957eb9995d5860840b2d717ed18e398684fe7 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF2_FRAME_TAILCALL_H
-#define DWARF2_FRAME_TAILCALL_H 1
+#ifndef GDB_DWARF2_FRAME_TAILCALL_H
+#define GDB_DWARF2_FRAME_TAILCALL_H
 
 class frame_info_ptr;
 struct frame_unwind;
@@ -36,4 +36,4 @@ extern struct value *
 
 extern const struct frame_unwind dwarf2_tailcall_frame_unwind;
 
-#endif /* !DWARF2_FRAME_TAILCALL_H */
+#endif /* GDB_DWARF2_FRAME_TAILCALL_H */
index 2167310fbdf09b4339f70dcc159f5fee41b7d2e6..f53f4bdd864c7113bfe913e2e301cb5fb0168c11 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF2_FRAME_H
-#define DWARF2_FRAME_H 1
+#ifndef GDB_DWARF2_FRAME_H
+#define GDB_DWARF2_FRAME_H
 
 struct gdbarch;
 class frame_info_ptr;
@@ -294,4 +294,4 @@ extern void *dwarf2_frame_get_fn_data (const frame_info_ptr &this_frame,
                                       void **this_cache,
                                       fn_prev_register cookie);
 
-#endif /* dwarf2-frame.h */
+#endif /* GDB_DWARF2_FRAME_H */
index 08a2d56493c7831a527a5f7505e2400a18b0c763..94c4413ff6ea743d4aafd52b6db464414b5d5573 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF_INDEX_CACHE_H
-#define DWARF_INDEX_CACHE_H
+#ifndef GDB_DWARF2_INDEX_CACHE_H
+#define GDB_DWARF2_INDEX_CACHE_H
 
 #include "gdbsupport/array-view.h"
 
@@ -135,4 +135,4 @@ private:
 /* The global instance of the index cache.  */
 extern index_cache global_index_cache;
 
-#endif /* DWARF_INDEX_CACHE_H */
+#endif /* GDB_DWARF2_INDEX_CACHE_H */
index 339012949cd7a91af995bf9c5e7553996fc4c0f9..b9e0a632508dea68403c0d686ea9d6c6d8b02bbc 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF_INDEX_COMMON_H
-#define DWARF_INDEX_COMMON_H
+#ifndef GDB_DWARF2_INDEX_COMMON_H
+#define GDB_DWARF2_INDEX_COMMON_H
 
 #include "extract-store-integer.h"
 #include "hashtab.h"
@@ -59,4 +59,4 @@ uint32_t dwarf5_djb_hash (const char *str_);
 
 uint32_t dwarf5_djb_hash (std::string_view str_);
 
-#endif /* DWARF_INDEX_COMMON_H */
+#endif /* GDB_DWARF2_INDEX_COMMON_H */
index b7cf564efc500241cae22730a036c198ebf03ddb..1982e8510fcb6f734d2f3ccc6e93845c5630a595 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF_INDEX_WRITE_H
-#define DWARF_INDEX_WRITE_H
+#ifndef GDB_DWARF2_INDEX_WRITE_H
+#define GDB_DWARF2_INDEX_WRITE_H
 
 #include "dwarf2/read.h"
 #include "dwarf2/public.h"
@@ -36,4 +36,4 @@ extern void write_dwarf_index
   (dwarf2_per_bfd *per_bfd, const char *dir, const char *basename,
    const char *dwz_basename, dw_index_kind index_kind);
 
-#endif /* DWARF_INDEX_WRITE_H */
+#endif /* GDB_DWARF2_INDEX_WRITE_H */
index 7da59725c98b7f713fcce335e28213d9b1aa4a2b..30809f69acc72c8eda5bbb625060b9d406af4a3b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF2_LINE_HEADER_H
-#define DWARF2_LINE_HEADER_H
+#ifndef GDB_DWARF2_LINE_HEADER_H
+#define GDB_DWARF2_LINE_HEADER_H
 
 #include "dwarf2/types.h"
 
@@ -221,4 +221,4 @@ extern line_header_up dwarf_decode_line_header
    struct dwarf2_section_info *section, const struct comp_unit_head *cu_header,
    const char *comp_dir);
 
-#endif /* DWARF2_LINE_HEADER_H */
+#endif /* GDB_DWARF2_LINE_HEADER_H */
index 4fb743618e7cb0b4d419709cd18b7751045eada1..78635682d9446b0220833fda6b96447080068653 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (DWARF2LOC_H)
-#define DWARF2LOC_H
+#ifndef GDB_DWARF2_LOC_H
+#define GDB_DWARF2_LOC_H
 
 #include "dwarf2/expr.h"
 
@@ -308,4 +308,4 @@ extern struct value *value_of_dwarf_reg_entry (struct type *type,
                                               const frame_info_ptr &frame,
                                               enum call_site_parameter_kind kind,
                                               union call_site_parameter_u kind_u);
-#endif /* DWARF2LOC_H */
+#endif /* GDB_DWARF2_LOC_H */
index bc419ff208f6ad7a40fcda408f86e99e45b6e107..8247641b25b0d8cbfc8e7738b30d87b88ae6f707 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF2_PUBLIC_H
-#define DWARF2_PUBLIC_H
+#ifndef GDB_DWARF2_PUBLIC_H
+#define GDB_DWARF2_PUBLIC_H
 
 /* A DWARF names index variant.  */
 enum class dw_index_kind
@@ -44,4 +44,4 @@ extern bool dwarf2_initialize_objfile
 
 extern void dwarf2_build_frame_info (struct objfile *);
 
-#endif /* DWARF2_PUBLIC_H */
+#endif /* GDB_DWARF2_PUBLIC_H */
index e616cf887a77c6b10a399171bc409fd7e82b6df9..729fe898ea8a10adc7ba336d6bc70e183b2e0139 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF2_READ_DEBUG_NAMES_H
-#define DWARF2_READ_DEBUG_NAMES_H
+#ifndef GDB_DWARF2_READ_DEBUG_NAMES_H
+#define GDB_DWARF2_READ_DEBUG_NAMES_H
 
 struct dwarf2_per_objfile;
 
@@ -29,4 +29,4 @@ extern const gdb_byte dwarf5_augmentation[8];
 
 bool dwarf2_read_debug_names (dwarf2_per_objfile *per_objfile);
 
-#endif /* DWARF2_READ_DEBUG_NAMES_H */
+#endif /* GDB_DWARF2_READ_DEBUG_NAMES_H */
index e411114b14789523b76d108e55b501510e7d1433..906e3bd0bed8dd126e99084dad6c8ad77cda1a28 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF2_READ_GDB_INDEX_H
-#define DWARF2_READ_GDB_INDEX_H
+#ifndef GDB_DWARF2_READ_GDB_INDEX_H
+#define GDB_DWARF2_READ_GDB_INDEX_H
 
 #include "gdbsupport/function-view.h"
 
@@ -44,4 +44,4 @@ int dwarf2_read_gdb_index
    get_gdb_index_contents_ftype get_gdb_index_contents,
    get_gdb_index_contents_dwz_ftype get_gdb_index_contents_dwz);
 
-#endif /* DWARF2_READ_GDB_INDEX_H */
+#endif /* GDB_DWARF2_READ_GDB_INDEX_H */
index 1cc30eb285a0afcb4fa14ef35e1d88d4d8d600eb..e8735ddef6faa5eeb8c8077c73d2b5a61ef450b3 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF2READ_H
-#define DWARF2READ_H
+#ifndef GDB_DWARF2_READ_H
+#define GDB_DWARF2_READ_H
 
 #include <queue>
 #include <unordered_map>
@@ -982,4 +982,4 @@ extern void create_all_units (dwarf2_per_objfile *per_objfile);
 
 extern htab_up create_quick_file_names_table (unsigned int nr_initial_entries);
 
-#endif /* DWARF2READ_H */
+#endif /* GDB_DWARF2_READ_H */
index f0b9febba151bfc7c29da081635dce66e8b58349..8cb689d652b9f1e2221a1ca7c5aaa18dc0e23e18 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef DWARF2_TYPES_H
-#define DWARF2_TYPES_H
+#ifndef GDB_DWARF2_TYPES_H
+#define GDB_DWARF2_TYPES_H
 
 #include "gdbsupport/offset-type.h"
 #include "gdbsupport/underlying.h"
@@ -37,4 +37,4 @@ sect_offset_str (sect_offset offset)
   return hex_string (to_underlying (offset));
 }
 
-#endif /* DWARF2_TYPES_H */
+#endif /* GDB_DWARF2_TYPES_H */
index ecbf2d776c68a77b25b996060790b59b0eeb8a37..1881e4b8cb603351af48a2114c8b453aceb4b376 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NONE_TDEP_H
-#define NONE_TDEP_H
+#ifndef GDB_ELF_NONE_TDEP_H
+#define GDB_ELF_NONE_TDEP_H
 
 struct gdbarch;
 
@@ -27,4 +27,4 @@ struct gdbarch;
 
 void elf_none_init_abi (struct gdbarch *gdbarch);
 
-#endif /* NONE_TDEP_H */
+#endif /* GDB_ELF_NONE_TDEP_H */
index d5905527c2abcadd64edbe4b477db9560f88e33d..c1e2edafda92eaa5a07831cc101d1c9262887c82 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef EVENT_TOP_H
-#define EVENT_TOP_H
+#ifndef GDB_EVENT_TOP_H
+#define GDB_EVENT_TOP_H
 
 #include <signal.h>
 
@@ -167,4 +167,4 @@ class scoped_segv_handler_restore
   segv_handler_t m_old_handler;
 };
 
-#endif
+#endif /* GDB_EVENT_TOP_H */
index 64f4d75c39c1cd081d572263dacd5808514c3a43..bf7141dbb9f7ac695c03752685c6b66269a103c6 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef EXCEPTIONS_H
-#define EXCEPTIONS_H
+#ifndef GDB_EXCEPTIONS_H
+#define GDB_EXCEPTIONS_H
 
 #include "ui-out.h"
 
@@ -31,4 +31,4 @@ extern void exception_fprintf (struct ui_file *file,
                               const char *prefix,
                               ...) ATTRIBUTE_PRINTF (3, 4);
 
-#endif
+#endif /* GDB_EXCEPTIONS_H */
index c08cb9f00ed806f4f4f18545f95a711cd18c04be..77482af0edd8a0ef5839c0444cd6ab0d23f77501 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef EXEC_H
-#define EXEC_H
+#ifndef GDB_EXEC_H
+#define GDB_EXEC_H
 
 #include "target.h"
 #include "progspace.h"
@@ -110,4 +110,4 @@ extern void try_open_exec_file (const char *exec_file_host,
 
 extern void no_executable_specified_error ();
 
-#endif
+#endif /* GDB_EXEC_H */
index af031f53133244e773d719983efe3a2088d0545a..a7b2c1bf6274a84eb203d62bf56dc85459d3cca3 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef EXPOP_H
-#define EXPOP_H
+#ifndef GDB_EXPOP_H
+#define GDB_EXPOP_H
 
 #include "c-lang.h"
 #include "cp-abi.h"
@@ -2216,4 +2216,4 @@ public:
 
 } /* namespace expr */
 
-#endif /* EXPOP_H */
+#endif /* GDB_EXPOP_H */
index 2eb866f455bcb99cdb614e2bd9dc2ebabde92fc7..bc0bdb7504769bacdaffd3c23080a7c0c6ad5383 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (EXPRESSION_H)
-#define EXPRESSION_H 1
+#ifndef GDB_EXPRESSION_H
+#define GDB_EXPRESSION_H
 
 #include "gdbtypes.h"
 #include "symtab.h"
@@ -397,4 +397,4 @@ enum range_flag : unsigned
 
 DEF_ENUM_FLAGS_TYPE (enum range_flag, range_flags);
 
-#endif /* !defined (EXPRESSION_H) */
+#endif /* GDB_EXPRESSION_H */
index 1c7f1469b2f0becd19a98d554ffe688774d8b341..a38f104d949551214259ebe6c6225d62cbfeac9a 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef EXTENSION_PRIV_H
-#define EXTENSION_PRIV_H
+#ifndef GDB_EXTENSION_PRIV_H
+#define GDB_EXTENSION_PRIV_H
 
 #include "extension.h"
 #include <signal.h>
@@ -339,4 +339,4 @@ extern struct active_ext_lang_state *set_active_ext_lang
 
 extern void restore_active_ext_lang (struct active_ext_lang_state *previous);
 
-#endif /* EXTENSION_PRIV_H */
+#endif /* GDB_EXTENSION_PRIV_H */
index fc6020a759cb6e32509439cdb18c74ff044ccc25..957642a99dc8b55d0bac0c766f34fb91492721bd 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef EXTENSION_H
-#define EXTENSION_H
+#ifndef GDB_EXTENSION_H
+#define GDB_EXTENSION_H
 
 #include "mi/mi-cmds.h"
 #include "gdbsupport/array-view.h"
@@ -483,4 +483,4 @@ extern bool check_quit_flag ();
 
 extern void set_quit_flag ();
 
-#endif /* EXTENSION_H */
+#endif /* GDB_EXTENSION_H */
index 7282d5f83b2e4dd71f3e08879fd63694d2677d5e..27d7ae1bbb50b5e7ca511face217cdf44e6b3b1d 100644 (file)
@@ -18,8 +18,8 @@
 /* Support classes to wrap up the process of iterating over a
    multi-dimensional Fortran array.  */
 
-#ifndef F_ARRAY_WALKER_H
-#define F_ARRAY_WALKER_H
+#ifndef GDB_F_ARRAY_WALKER_H
+#define GDB_F_ARRAY_WALKER_H
 
 #include "gdbtypes.h"
 #include "f-lang.h"
@@ -298,4 +298,4 @@ private:
   int m_nss;
 };
 
-#endif /* F_ARRAY_WALKER_H */
+#endif /* GDB_F_ARRAY_WALKER_H */
index aa0094c8ff11d03f1409f541b83f5d8a55e82b6b..47d469abe7c14a438751b47ca43357ba53e80b4e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef FORTRAN_EXP_H
-#define FORTRAN_EXP_H
+#ifndef GDB_F_EXP_H
+#define GDB_F_EXP_H
 
 #include "expop.h"
 
@@ -417,4 +417,4 @@ public:
 
 } /* namespace expr */
 
-#endif /* FORTRAN_EXP_H */
+#endif /* GDB_F_EXP_H */
index 6b3962f534872b9771e2bb079b495be0a701a231..180ac0ee48298ebb3acfba043b491bc401669fe1 100644 (file)
@@ -20,8 +20,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef F_LANG_H
-#define F_LANG_H
+#ifndef GDB_F_LANG_H
+#define GDB_F_LANG_H
 
 #include "language.h"
 #include "valprint.h"
@@ -386,4 +386,4 @@ extern struct type *fortran_preserve_arg_pointer (struct value *arg,
 extern CORE_ADDR fortran_adjust_dynamic_array_base_address_hack
        (struct type *type, CORE_ADDR address);
 
-#endif /* F_LANG_H */
+#endif /* GDB_F_LANG_H */
index 35c06b2c985b1382110dbec3ad69a5d981f99bbd..2123175944eac7949d2be989762a03f7bfd7e67d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef FBSD_NAT_H
-#define FBSD_NAT_H
+#ifndef GDB_FBSD_NAT_H
+#define GDB_FBSD_NAT_H
 
 #include <optional>
 #include "inf-ptrace.h"
@@ -285,4 +285,4 @@ private:
    Return true if successful.  */
 bool fbsd_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo);
 
-#endif /* fbsd-nat.h */
+#endif /* GDB_FBSD_NAT_H */
index 54ff45c8d93fc4a0ab2e0ae16eb5a5be8c785926..79381b3fefdb4163e0c52f3846e730dfe1d456de 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef FBSD_TDEP_H
-#define FBSD_TDEP_H
+#ifndef GDB_FBSD_TDEP_H
+#define GDB_FBSD_TDEP_H
 
 extern void fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch);
 
@@ -76,4 +76,4 @@ extern CORE_ADDR fbsd_get_thread_local_address (struct gdbarch *gdbarch,
 extern CORE_ADDR fbsd_skip_solib_resolver (struct gdbarch *gdbarch,
                                           CORE_ADDR pc);
 
-#endif /* fbsd-tdep.h */
+#endif /* GDB_FBSD_TDEP_H */
index 4bcfeb5c8983e031dc87618f3f6f16e712afd566..3cac93fceadcea0602e549b631da36a64d570ef8 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef FILENAME_SEEN_CACHE_H
-#define FILENAME_SEEN_CACHE_H
+#ifndef GDB_FILENAME_SEEN_CACHE_H
+#define GDB_FILENAME_SEEN_CACHE_H
 
 #include "gdbsupport/unordered_set.h"
 #include "filenames.h"
@@ -61,4 +61,4 @@ private:
   gdb::unordered_set<const char *, hash, eq> m_tab;
 };
 
-#endif /* FILENAME_SEEN_CACHE_H */
+#endif /* GDB_FILENAME_SEEN_CACHE_H */
index 29c31803fc4f8325beabd3042d932b499bcf3de5..73b9a8bb84ea2572910edc5f5b634ddbfe9516c6 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef FILESYSTEM_H
-#define FILESYSTEM_H
+#ifndef GDB_FILESYSTEM_H
+#define GDB_FILESYSTEM_H
 
 extern const char file_system_kind_auto[];
 extern const char file_system_kind_unix[];
@@ -55,4 +55,4 @@ extern const char *target_lbasename (const char *kind, const char *name);
    result from this function.  */
 extern const char *effective_target_file_system_kind (void);
 
-#endif
+#endif /* GDB_FILESYSTEM_H */
index ae22431d5ef174a599308e922cdf8fb03b22a69b..8436929839e7e8f8ef0bee3dcc6c8d6928c21584 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (FRAME_BASE_H)
-#define FRAME_BASE_H 1
+#ifndef GDB_FRAME_BASE_H
+#define GDB_FRAME_BASE_H
 
 class frame_info_ptr;
 struct frame_id;
@@ -88,4 +88,4 @@ extern void frame_base_set_default (struct gdbarch *gdbarch,
 
 extern const struct frame_base *frame_base_find_by_frame (const frame_info_ptr &this_frame);
 
-#endif
+#endif /* GDB_FRAME_BASE_H */
index 0d03b476aef214ad021e7c976339b23f310e1b6e..30850e2401771d4c6bd9ae9c9751aed9453b9554 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #ifndef GDB_FRAME_ID_H
-#define GDB_FRAME_ID_H 1
+#define GDB_FRAME_ID_H
 
 /* Status of a given frame's stack.  */
 
@@ -140,4 +140,4 @@ is_sentinel_frame_id (frame_id id)
   return id.stack_status == FID_STACK_SENTINEL;
 }
 
-#endif /* ifdef GDB_FRAME_ID_H  */
+#endif /* GDB_FRAME_ID_H */
index 53fcd6869e95eaaf806bfb0cd982317c098424f3..1799d3625bd1c21cd69a1bf0ef2c9e20edb41a94 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (FRAME_UNWIND_H)
-#define FRAME_UNWIND_H 1
+#ifndef GDB_FRAME_UNWIND_H
+#define GDB_FRAME_UNWIND_H
 
 struct frame_data;
 class frame_info_ptr;
@@ -235,4 +235,4 @@ value *frame_unwind_got_bytes (const frame_info_ptr &frame, int regnum,
 value *frame_unwind_got_address (const frame_info_ptr &frame, int regnum,
                                 CORE_ADDR addr);
 
-#endif
+#endif /* GDB_FRAME_UNWIND_H */
index e784c17b48071fab7c09733869ea17b0b150ba87..9b41dd958fa4e2d3baad921edfb56f9ac4bf26ea 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (FRAME_H)
-#define FRAME_H 1
+#ifndef GDB_FRAME_H
+#define GDB_FRAME_H
 
 /* The following is the intended naming schema for frame functions.
    It isn't 100% consistent, but it is approaching that.  Frame naming
@@ -1077,4 +1077,4 @@ extern void set_frame_previous_pc_masked (const frame_info_ptr &frame);
 extern bool get_frame_pc_masked (const frame_info_ptr &frame);
 
 
-#endif /* !defined (FRAME_H)  */
+#endif /* GDB_FRAME_H */
index 95347ed224ed70fa4a97cb877ac150f603455ac3..0d78ec4ac6a390874b4a19823efa61147aa617e5 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef FRV_TDEP_H
-#define FRV_TDEP_H
+#ifndef GDB_FRV_TDEP_H
+#define GDB_FRV_TDEP_H
 
 /* Enumerate the possible ABIs for FR-V.  */
 enum frv_abi
@@ -121,4 +121,4 @@ CORE_ADDR frv_fetch_objfile_link_map (struct objfile *objfile);
 struct solib_ops;
 extern const solib_ops frv_so_ops;
 
-#endif /* FRV_TDEP_H */
+#endif /* GDB_FRV_TDEP_H */
index 308d2333bc284ba6eef23932f5d9dd627645ee30..ee4a2473f8d847eada486d90f34b87cef8379864 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef FT32_TDEP_H
-#define FT32_TDEP_H
+#ifndef GDB_FT32_TDEP_H
+#define GDB_FT32_TDEP_H
 
 #include "gdbarch.h"
 
@@ -28,4 +28,4 @@ struct ft32_gdbarch_tdep : gdbarch_tdep_base
   struct type *pc_type = nullptr;
 };
 
-#endif /* FT32_TDEP_H */
+#endif /* GDB_FT32_TDEP_H */
index e7239b88b099c4b1a75bb9eae3bae791f7294e4a..8217f0b1c85fad09824de8a4641d7d51c5ea698e 100644 (file)
@@ -17,8 +17,8 @@
 
 /* This file contains generic functions for writing ELF based core files.  */
 
-#if !defined (GCORE_ELF_H)
-#define GCORE_ELF_H 1
+#ifndef GDB_GCORE_ELF_H
+#define GDB_GCORE_ELF_H
 
 #include "gdb_bfd.h"
 #include "gdbsupport/gdb_signals.h"
@@ -45,4 +45,4 @@ extern void gcore_elf_make_tdesc_note
   (struct gdbarch *gdbarch, bfd *obfd,
    gdb::unique_xmalloc_ptr<char> *note_data, int *note_size);
 
-#endif /* GCORE_ELF_H */
+#endif /* GDB_GCORE_ELF_H */
index 0bedc0a7ba92d61b7ae988e84b796bcb71b3f2f5..21e7a8d29eec5fc490b9c7a5a086aa8783dcaec4 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (GCORE_H)
-#define GCORE_H 1
+#ifndef GDB_GCORE_H
+#define GDB_GCORE_H
 
 #include "gdb_bfd.h"
 
@@ -37,4 +37,4 @@ extern int objfile_find_memory_regions (struct target_ops *self,
 
 extern thread_info *gcore_find_signalled_thread ();
 
-#endif /* GCORE_H */
+#endif /* GDB_GCORE_H */
index e434f89096950bbad7f035e9da209b0460f120f8..86a8bd618eb48f0c6e0c9c6766df13bca2dc6cc1 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_DEMANGLE_H
-#define GDB_DEMANGLE_H
+#ifndef GDB_GDB_DEMANGLE_H
+#define GDB_GDB_DEMANGLE_H
 
 /* True means that encoded C++/ObjC names should be printed out in their
    C++/ObjC form rather than raw.  */
@@ -31,4 +31,4 @@ extern bool asm_demangle;
 /* Check if a character is one of the commonly used C++ marker characters.  */
 extern bool is_cplus_marker (int);
 
-#endif /* GDB_DEMANGLE_H */
+#endif /* GDB_GDB_DEMANGLE_H */
index 20fb8fafc34e1c8b3ed32d45473228148c2a0518..b76abe1226bc8d623a8d5d700efbf28d7a35148b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_STABS_H
-#define GDB_STABS_H
+#ifndef GDB_GDB_STABS_H
+#define GDB_GDB_STABS_H
 
 /* During initial symbol readin, we need to have a structure to keep
    track of which psymtabs have which bincls in them.  This structure
@@ -173,4 +173,4 @@ extern const registry<objfile>::key<dbx_symfile_info> dbx_objfile_data_key;
 #define DBX_BSS_SECTION(o)     (DBX_SYMFILE_INFO(o)->bss_section)
 #define DBX_STAB_SECTION(o)    (DBX_SYMFILE_INFO(o)->stab_section)
 
-#endif /* GDB_STABS_H */
+#endif /* GDB_GDB_STABS_H */
index a93d9aa92e8dd7c1206cc5bc0024acb3e288be9a..d35f2d661a26c823bef72ffb22e9c23a067dfe4a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_BFD_H
-#define GDB_BFD_H
+#ifndef GDB_GDB_BFD_H
+#define GDB_GDB_BFD_H
 
 #include "registry.h"
 #include "gdbsupport/byte-vector.h"
@@ -274,4 +274,4 @@ extern std::string gdb_bfd_errmsg (bfd_error_type error_tag, char **matching);
 
 extern void gdb_bfd_init ();
 
-#endif /* GDB_BFD_H */
+#endif /* GDB_GDB_BFD_H */
index 8eb2e8c750ab797c54a09a5c2d67f3142c3fed1a..d7268641b3c7fbbaaa128cfb8906b2d0fc58f0e1 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_CURSES_H
-#define GDB_CURSES_H 1
+#ifndef GDB_GDB_CURSES_H
+#define GDB_GDB_CURSES_H
 
 #ifdef __MINGW32__
 /* Windows API headers, included e.g. by serial.h, define MOUSE_MOVED,
@@ -71,4 +71,4 @@ extern "C" int tgetnum (const char *);
 #undef reg
 #endif
 
-#endif /* gdb_curses.h */
+#endif /* GDB_GDB_CURSES_H */
index 566f065fd13b7aaae11283a19179ab777c11492e..36cee8031eb69af0de266395877164af1c5137a6 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined(GDB_EXPAT_H)
-#define GDB_EXPAT_H
+#ifndef GDB_GDB_EXPAT_H
+#define GDB_GDB_EXPAT_H
 
 #include <expat.h>
 
@@ -35,4 +35,4 @@
 #define XMLCALL
 #endif
 
-#endif /* !defined(GDB_EXPAT_H) */
+#endif /* GDB_GDB_EXPAT_H */
index 1088e19a4c5bd64e00cf514ba68638ff90f4cd0f..c5e060b4eee66353d8d7a5ce10e96561717b3b42 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_PROC_SERVICE_H
-#define GDB_PROC_SERVICE_H
+#ifndef GDB_GDB_PROC_SERVICE_H
+#define GDB_GDB_PROC_SERVICE_H
 
 #include "gdbsupport/gdb_proc_service.h"
 
@@ -30,4 +30,4 @@ struct ps_prochandle
   thread_info *thread;
 };
 
-#endif /* gdb_proc_service.h */
+#endif /* GDB_GDB_PROC_SERVICE_H */
index 521fed9b0076c953c67b3fd08facce3e9767e19e..69f4955ee9798024ccf287c6a60d99f8546f2629 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_VFORK_H
-#define GDB_VFORK_H
+#ifndef GDB_GDB_VFORK_H
+#define GDB_GDB_VFORK_H
 
 #if HAVE_VFORK_H
 #include <vfork.h>
 #endif
 
-#endif /* GDB_VFORK_H */
+#endif /* GDB_GDB_VFORK_H */
index 909a0e4ac718e83a3a77281137a5b9d01e5dfa21..365f5600c45831d53bda095b0c3aeb2d483bf36c 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_WCHAR_H
-#define GDB_WCHAR_H
+#ifndef GDB_GDB_WCHAR_H
+#define GDB_GDB_WCHAR_H
 
 /* We handle three different modes here.
    
@@ -132,4 +132,4 @@ typedef int gdb_wint_t;
 
 #endif
 
-#endif /* GDB_WCHAR_H */
+#endif /* GDB_GDB_WCHAR_H */
index 3e7b2079839303a1a7966cfef4c4842bf332602f..9024a745761ed4d86e7322f8451d29af6fb000c3 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef GDBARCH_H
-#define GDBARCH_H
+#ifndef GDB_GDBARCH_H
+#define GDB_GDBARCH_H
 
 #include <vector>
 #include "frame.h"
@@ -377,4 +377,4 @@ gdbarch_stack_grows_down (gdbarch *arch)
   return gdbarch_inner_than (arch, 1, 2);
 }
 
-#endif
+#endif /* GDB_GDBARCH_H */
index eb318d557d4e36ae8a37e70fd51861db47a21c23..773a75b9fa8c5b1813da26ce40aed04c10581d0b 100644 (file)
@@ -19,8 +19,8 @@
 
 /* Interface routines for core, executable, etc.  */
 
-#if !defined (GDBCORE_H)
-#define GDBCORE_H 1
+#ifndef GDB_GDBCORE_H
+#define GDB_GDBCORE_H
 
 struct type;
 struct regcache;
@@ -258,4 +258,4 @@ std::optional<core_target_mapped_file_info>
 core_target_find_mapped_file (const char *filename,
                              std::optional<CORE_ADDR> addr);
 
-#endif /* !defined (GDBCORE_H) */
+#endif /* GDB_GDBCORE_H */
index 1011cf8f240f0c60c1f67af5b96189149c64a8f8..174488c083e6f2aeb70f268baaf3b24023565bd8 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDBTHREAD_H
-#define GDBTHREAD_H
+#ifndef GDB_GDBTHREAD_H
+#define GDB_GDBTHREAD_H
 
 struct symtab;
 
@@ -1071,4 +1071,4 @@ extern void thread_try_catch_cmd (thread_info *thr,
 
 extern const char *thread_state_string (enum thread_state state);
 
-#endif /* GDBTHREAD_H */
+#endif /* GDB_GDBTHREAD_H */
index 340727cac6cab5a9c5eed69166ab0b5fb2dc8daa..8b00fec59a1883423ff10762296a1fa15913b8f0 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (GDBTYPES_H)
-#define GDBTYPES_H 1
+#ifndef GDB_GDBTYPES_H
+#define GDB_GDBTYPES_H
 
 /* * \page gdbtypes GDB Types
 
@@ -2825,4 +2825,4 @@ extern unsigned int overload_debug;
 
 extern bool is_nocall_function (const struct type *type);
 
-#endif /* GDBTYPES_H */
+#endif /* GDB_GDBTYPES_H */
index 264e1e707f28972bcf91aca953717c400d48b3f0..17006d0fafc8fc0bdb6a2e6f8c5a6792cb05e226 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GLIBC_TDEP_H
-#define GLIBC_TDEP_H
+#ifndef GDB_GLIBC_TDEP_H
+#define GDB_GLIBC_TDEP_H
 
 struct gdbarch;
 
 extern CORE_ADDR glibc_skip_solib_resolver (struct gdbarch *gdbarch,
                                            CORE_ADDR);
 
-#endif /* glibc-tdep.h */
+#endif /* GDB_GLIBC_TDEP_H */
index 878ce1da43a80e60d23a11312a56d2d063685e33..f1c91048a9922fb83f94a78eebf6cf592974436b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GMP_UTILS_H
-#define GMP_UTILS_H
+#ifndef GDB_GMP_UTILS_H
+#define GDB_GMP_UTILS_H
 
 /* Include <stdio.h> and <stdarg.h> ahead of <gmp.h>, so as to get
    access to GMP's various formatting functions.  */
@@ -663,4 +663,4 @@ gdb_mpz::as_integer_truncate () const
   return result;
 }
 
-#endif
+#endif /* GDB_GMP_UTILS_H */
index 4b9e78c99e2b26d5b570cffee5e02cfaba7c0bf1..01c1ed46f20351a4c7afdee808344975b75aede0 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GNU_NAT_MIG_H
-#define GNU_NAT_MIG_H
+#ifndef GDB_GNU_NAT_MIG_H
+#define GDB_GNU_NAT_MIG_H
 
 #include <mach/boolean.h>
 #include <mach/message.h>
@@ -28,4 +28,4 @@ boolean_t notify_server (mach_msg_header_t *InHeadP,
 boolean_t process_reply_server (mach_msg_header_t *InHeadP,
                                mach_msg_header_t *OutHeadP);
 
-#endif /* GNU_NAT_MIG_H */
+#endif /* GDB_GNU_NAT_MIG_H */
index f1694b8a3a78ed7e4cada1d3e539b44d64a98942..700a01a7d17c6de4a34a3bc3db8c70a525263518 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GNU_NAT_H
-#define GNU_NAT_H
+#ifndef GDB_GNU_NAT_H
+#define GDB_GNU_NAT_H
 
 /* Work around conflict between Mach's 'thread_info' function, and GDB's
    'thread_info' class.  Make the former available as 'mach_thread_info'.  */
@@ -188,4 +188,4 @@ private:
 /* The final/concrete instance.  */
 extern gnu_nat_target *gnu_target;
 
-#endif /* GNU_NAT_H */
+#endif /* GDB_GNU_NAT_H */
index 1aca9ddd118e39380168ee56f3b9b6aac0b38447..030febc4215a62a37a23881dedbdefd3bfc6268d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (GO_LANG_H)
-#define GO_LANG_H 1
+#ifndef GDB_GO_LANG_H
+#define GDB_GO_LANG_H
 
 struct type_print_options;
 
@@ -144,4 +144,4 @@ public:
   { return true; }
 };
 
-#endif /* !defined (GO_LANG_H) */
+#endif /* GDB_GO_LANG_H */
index 8c14809a47ddd10be42a6b999444134e3270cb88..9345625d98a71675fe9a639c92d49500bf9be524 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GREGSET_H
-#define GREGSET_H
+#ifndef GDB_GREGSET_H
+#define GDB_GREGSET_H
 
 #ifdef HAVE_SYS_PROCFS_H
 #include <sys/procfs.h>
@@ -60,4 +60,4 @@ extern void fill_gregset (const struct regcache *regcache,
 extern void fill_fpregset (const struct regcache *regcache,
                           gdb_fpregset_t *fpregs, int regno);
 
-#endif
+#endif /* GDB_GREGSET_H */
index fbf689848a25ecd6a22d26e698b5688843685f04..8d83b8b808ab4920267103639b931bf708ba3678 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GUILE_GUILE_INTERNAL_H
-#define GUILE_GUILE_INTERNAL_H
+#ifndef GDB_GUILE_GUILE_INTERNAL_H
+#define GDB_GUILE_GUILE_INTERNAL_H
 
 /* See README file in this directory for implementation notes, coding
    conventions, et.al.  */
@@ -729,4 +729,4 @@ gdbscm_wrap (Function &&func, Args &&... args)
   return result;
 }
 
-#endif /* GUILE_GUILE_INTERNAL_H */
+#endif /* GDB_GUILE_GUILE_INTERNAL_H */
index 2ab1f7552c758fc5322fff8ed18b3b657324e7da..6ce4864aabdcff2893016f7f29a806601ab99c7b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GUILE_GUILE_H
-#define GUILE_GUILE_H
+#ifndef GDB_GUILE_GUILE_H
+#define GDB_GUILE_GUILE_H
 
 #include "extension.h"
 
@@ -28,4 +28,4 @@ extern const struct extension_language_defn extension_language_guile;
 /* Command element for the 'guile' command.  */
 extern cmd_list_element *guile_cmd_element;
 
-#endif /* GUILE_GUILE_H */
+#endif /* GDB_GUILE_GUILE_H */
index 42aefe6e142613bf0b3a0f9f8ab84244383d65d6..54599ab9ab47ff1ed876adfaade738b63912593b 100644 (file)
@@ -17,9 +17,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef HPPA_BSD_TDEP_H
-#define HPPA_BSD_TDEP_H
+#ifndef GDB_HPPA_BSD_TDEP_H
+#define GDB_HPPA_BSD_TDEP_H
 
 extern void hppabsd_init_abi (struct gdbarch_info, struct gdbarch *);
 
-#endif /* hppa-bsd-tdep.h */
+#endif /* GDB_HPPA_BSD_TDEP_H */
index b1543b0570529f797ff259548b9f1d06ff1a2af4..958afd115a8b7527356a060151ea481f3e034787 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef HPPA_LINUX_OFFSETS_H
-#define HPPA_LINUX_OFFSETS_H
+#ifndef GDB_HPPA_LINUX_OFFSETS_H
+#define GDB_HPPA_LINUX_OFFSETS_H
 
 #define PT_PSW offsetof(struct pt_regs, gr[ 0])
 #define PT_GR1 offsetof(struct pt_regs, gr[ 1])
 #define PT_ISR offsetof(struct pt_regs, isr)
 #define PT_IOR offsetof(struct pt_regs, ior)
 
-#endif /* HPPA_LINUX_OFFSETS_H */
+#endif /* GDB_HPPA_LINUX_OFFSETS_H */
index 0f706536cc9d2d67488542e92c77f072d706113d..e1143a56bcd9eb0e29ff60a0e2c072fe912ed8f2 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef HPPA_TDEP_H
-#define HPPA_TDEP_H
+#ifndef GDB_HPPA_TDEP_H
+#define GDB_HPPA_TDEP_H
 
 #include "gdbarch.h"
 
@@ -214,4 +214,4 @@ extern int hppa_in_solib_call_trampoline (struct gdbarch *gdbarch,
                                          CORE_ADDR pc);
 extern CORE_ADDR hppa_skip_trampoline_code (const frame_info_ptr &, CORE_ADDR pc);
 
-#endif  /* hppa-tdep.h */
+#endif /* GDB_HPPA_TDEP_H */
index a05eb90d4f8379558f05dd2873a58b9dfb480b43..54061ab46d11a1eb50405b4387a799a7bf7d5025 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef I386_BSD_NAT_H
-#define I386_BSD_NAT_H
+#ifndef GDB_I386_BSD_NAT_H
+#define GDB_I386_BSD_NAT_H
 
 #include "x86-bsd-nat.h"
 
@@ -41,4 +41,4 @@ public:
   { i386bsd_store_inferior_registers (regcache, regnum); }
 };
 
-#endif /* i386-bsd-nat.h */
+#endif /* GDB_I386_BSD_NAT_H */
index 0b867fab94c15a2e11ec217e5b7e92d564cbd683..7ccdeeced138d51f69f733bcdcd52f8eb7343547 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef I386_DARWIN_TDEP_H
-#define I386_DARWIN_TDEP_H
+#ifndef GDB_I386_DARWIN_TDEP_H
+#define GDB_I386_DARWIN_TDEP_H
 
 #include "frame.h"
 
@@ -29,4 +29,4 @@ extern const int i386_darwin_thread_state_num_regs;
 
 int darwin_dwarf_signal_frame_p (struct gdbarch *, const frame_info_ptr &);
 
-#endif /* I386_DARWIN_TDEP_H */
+#endif /* GDB_I386_DARWIN_TDEP_H */
index 0a0084219155554f6dc4b2a0330730d3e0b0b0ee..3b953e5843596da70c06d83548d86eb4f5da7c40 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef I386_FBSD_TDEP_H
-#define I386_FBSD_TDEP_H
+#ifndef GDB_I386_FBSD_TDEP_H
+#define GDB_I386_FBSD_TDEP_H
 
 #include "gdbsupport/x86-xstate.h"
 #include "regset.h"
@@ -42,4 +42,4 @@ bool i386_fbsd_core_read_x86_xsave_layout (struct gdbarch *gdbarch,
 
 extern const struct regset i386_fbsd_gregset;
 
-#endif /* i386-fbsd-tdep.h */
+#endif /* GDB_I386_FBSD_TDEP_H */
index e169c1d62bded08a5251cd3d7ade48a6a0e1b520..bd5527c96830eb96bf908c2acef177ad26d510a6 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef I386_LINUX_TDEP_H
-#define I386_LINUX_TDEP_H
+#ifndef GDB_I386_LINUX_TDEP_H
+#define GDB_I386_LINUX_TDEP_H
 
 #include "gdbsupport/x86-xstate.h"
 
@@ -51,4 +51,4 @@ extern bool i386_linux_core_read_x86_xsave_layout (struct gdbarch *gdbarch,
 
 extern int i386_linux_gregset_reg_offset[];
 
-#endif /* i386-linux-tdep.h */
+#endif /* GDB_I386_LINUX_TDEP_H */
index 9df8611b5534c89a6594fa43f9e1380d759a3c2a..680eb027a04137f101fdafb4037537eb02571d90 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef I386_TDEP_H
-#define I386_TDEP_H
+#ifndef GDB_I386_TDEP_H
+#define GDB_I386_TDEP_H
 
 #include "gdbarch.h"
 #include "infrun.h"
@@ -469,4 +469,4 @@ extern int i386_stap_is_single_operand (struct gdbarch *gdbarch,
 extern expr::operation_up i386_stap_parse_special_token
      (struct gdbarch *gdbarch, struct stap_parse_info *p);
 
-#endif /* i386-tdep.h */
+#endif /* GDB_I386_TDEP_H */
index 7b2c3b19a5f9e8d8014f1e5c7441a2f78633706c..bee8a08d19c9f050f13d65e71f10061d308b4495 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef I387_TDEP_H
-#define I387_TDEP_H
+#ifndef GDB_I387_TDEP_H
+#define GDB_I387_TDEP_H
 
 struct gdbarch;
 class frame_info_ptr;
@@ -173,4 +173,4 @@ extern ULONGEST i387_xsave_get_clear_bv (struct gdbarch *gdbarch,
 extern void i387_return_value (struct gdbarch *gdbarch,
                               struct regcache *regcache);
 
-#endif /* i387-tdep.h */
+#endif /* GDB_I387_TDEP_H */
index 4f064bfc333f60c0a66b98a2d655779566f91dad..9d358642d9f03c571c14e5bb1e732c773b3616b6 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef IA64_LIBUNWIND_TDEP_H
-#define IA64_LIBUNWIND_TDEP_H 1
+#ifndef GDB_IA64_LIBUNWIND_TDEP_H
+#define GDB_IA64_LIBUNWIND_TDEP_H
 
 class frame_info_ptr;
 struct frame_id;
@@ -76,4 +76,4 @@ int libunwind_get_reg_special (struct gdbarch *gdbarch,
                               readable_regcache *regcache,
                               int regnum, void *buf);
 
-#endif /* IA64_LIBUNWIND_TDEP_H */
+#endif /* GDB_IA64_LIBUNWIND_TDEP_H */
index 3d5b56e41fe9096b0a7652d74e99f84674289825..9a8acff06b39eb4e2eb65db7f14c270842d25683 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef IA64_TDEP_H
-#define IA64_TDEP_H
+#ifndef GDB_IA64_TDEP_H
+#define GDB_IA64_TDEP_H
 
 #include "gdbarch.h"
 
@@ -265,4 +265,4 @@ extern unw_accessors_t ia64_unw_rse_accessors;
 extern struct libunwind_descr ia64_libunwind_descr;
 #endif
 
-#endif /* ia64-tdep.h */
+#endif /* GDB_IA64_TDEP_H */
index 65d42e135ce0e680f25d9add2d03cca2007a700a..7e49424ed11531efc3ce1dea53635d6178a189cc 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef INF_CHILD_H
-#define INF_CHILD_H
+#ifndef GDB_INF_CHILD_H
+#define GDB_INF_CHILD_H
 
 #include "target.h"
 #include "process-stratum-target.h"
@@ -117,4 +117,4 @@ extern void add_inf_child_target (inf_child_target *target);
    targets use add_inf_child_target instead.  */
 extern void inf_child_open_target (const char *arg, int from_tty);
 
-#endif
+#endif /* GDB_INF_CHILD_H */
index ceabd14bd9e24b9c7600922726ec75ef2ac6fa66..2bf29fa749896ee9da088bcd5d263df444cda177 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef INF_LOOP_H
-#define INF_LOOP_H
+#ifndef GDB_INF_LOOP_H
+#define GDB_INF_LOOP_H
 
 #include "target.h"
 
 extern void inferior_event_handler (enum inferior_event_type event_type);
 
-#endif /* #ifndef INF_LOOP_H */
+#endif /* GDB_INF_LOOP_H */
index 868bee92da8903c6a7b75dcecd01012e7cd1becd..901f7e9162d7af394655535dc512b4b33a773a85 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef INF_PTRACE_H
-#define INF_PTRACE_H
+#ifndef GDB_INF_PTRACE_H
+#define GDB_INF_PTRACE_H
 
 #include "gdbsupport/event-pipe.h"
 #include "inf-child.h"
@@ -113,4 +113,4 @@ private:
 extern pid_t get_ptrace_pid (ptid_t);
 #endif
 
-#endif
+#endif /* GDB_INF_PTRACE_H */
index dcc701b5f317213c31b50bf6af318156fd7c4601..eccf13307c7a6fd61baba11e62d4b4ea0cac9a88 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef INFCALL_H
-#define INFCALL_H
+#ifndef GDB_INFCALL_H
+#define GDB_INFCALL_H
 
 #include "dummy-frame.h"
 #include "gdbsupport/array-view.h"
@@ -71,4 +71,4 @@ extern struct value *
 
 extern void error_call_unknown_return_type (const char *func_name);
 
-#endif
+#endif /* GDB_INFCALL_H */
index 821c7bec94e226ded81b5acafca742d53d1c5bc1..05ddfca54c99e7713a133fc0a76c14d26d0631b5 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef INFERIOR_ITER_H
-#define INFERIOR_ITER_H
+#ifndef GDB_INFERIOR_ITER_H
+#define GDB_INFERIOR_ITER_H
 
 #include "gdbsupport/filtered-iterator.h"
 #include "gdbsupport/safe-iterator.h"
@@ -132,4 +132,4 @@ using all_inferiors_safe_iterator
 
 using all_inferiors_safe_range = iterator_range<all_inferiors_safe_iterator>;
 
-#endif /* !defined (INFERIOR_ITER_H) */
+#endif /* GDB_INFERIOR_ITER_H */
index c08261bdcd3e3cc9a8d68ef4feb35a7655b50486..10f00a1a91442b3a98b0edcdeaa25d581c82e9c7 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (INFERIOR_H)
-#define INFERIOR_H 1
+#ifndef GDB_INFERIOR_H
+#define GDB_INFERIOR_H
 
 #include <exception>
 #include <list>
@@ -866,4 +866,4 @@ valid_global_inferior_id (int id)
   return false;
 }
 
-#endif /* !defined (INFERIOR_H) */
+#endif /* GDB_INFERIOR_H */
index 5f83ca2b4c3c1422b28278d8cb0af8d441707d2a..4574874706eba0a4cfb3ffc27ccfa974e37693f3 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef INFRUN_H
-#define INFRUN_H 1
+#ifndef GDB_INFRUN_H
+#define GDB_INFRUN_H
 
 #include "gdbthread.h"
 #include "symtab.h"
@@ -418,4 +418,4 @@ private:
 };
 
 
-#endif /* INFRUN_H */
+#endif /* GDB_INFRUN_H */
index 3ddc9cf2335fdf2a2af261e4a2efb76c326d9c36..1ad516d9caff030a2989a71d9ea363ea0cc10bcb 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (INLINE_FRAME_H)
-#define INLINE_FRAME_H 1
+#ifndef GDB_INLINE_FRAME_H
+#define GDB_INLINE_FRAME_H
 
 class frame_info_ptr;
 struct frame_unwind;
@@ -70,4 +70,4 @@ const symbol *inline_skipped_symbol (thread_info *thread);
 
 int frame_inlined_callees (const frame_info_ptr &this_frame);
 
-#endif /* !defined (INLINE_FRAME_H) */
+#endif /* GDB_INLINE_FRAME_H */
index 8d80c005ded39600c5c83d3982103b8625dd2f99..987465c894bb12486b5e86d398ec1ae5d0097423 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef INTERPS_H
-#define INTERPS_H
+#ifndef GDB_INTERPS_H
+#define GDB_INTERPS_H
 
 #include "gdbsupport/intrusive_list.h"
 
@@ -378,4 +378,4 @@ extern void interps_notify_memory_changed (inferior *inf, CORE_ADDR addr,
 #define INTERP_TUI             "tui"
 #define INTERP_INSIGHT         "insight"
 
-#endif
+#endif /* GDB_INTERPS_H */
index ade0fb28ce29b9c7b520bb6ab86865da2812348d..59ad900c4e0c5a9f2335b119f33cf1391c83cd80 100644 (file)
--- a/gdb/jit.h
+++ b/gdb/jit.h
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef JIT_H
-#define JIT_H
+#ifndef GDB_JIT_H
+#define GDB_JIT_H
 
 struct inferior;
 struct objfile;
@@ -122,4 +122,4 @@ extern void jit_breakpoint_re_set (void);
 
 extern void jit_event_handler (gdbarch *gdbarch, objfile *jiter);
 
-#endif /* JIT_H */
+#endif /* GDB_JIT_H */
index 6653f9927febc9ff8329ce4f8f611a1d227015d1..e6bfa3c68f1229dc344e079b531d857b185a2ffd 100644 (file)
@@ -20,8 +20,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (LANGUAGE_H)
-#define LANGUAGE_H 1
+#ifndef GDB_LANGUAGE_H
+#define GDB_LANGUAGE_H
 
 #include "symtab.h"
 #include "gdbsupport/function-view.h"
@@ -936,4 +936,4 @@ private:
   enum language m_lang;
 };
 
-#endif /* defined (LANGUAGE_H) */
+#endif /* GDB_LANGUAGE_H */
index 18f491d74d07b327a5fd624215f42fdf4689b7c6..86eb36bbae9078b27954c974f52b667a33d28c9e 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (LINESPEC_H)
-#define LINESPEC_H 1
+#ifndef GDB_LINESPEC_H
+#define GDB_LINESPEC_H
 
 struct symtab;
 
@@ -201,4 +201,4 @@ extern void linespec_complete_label (completion_tracker &tracker,
    advancing EXP_PTR past any parsed text.  */
 
 extern CORE_ADDR linespec_expression_to_pc (const char **exp_ptr);
-#endif /* defined (LINESPEC_H) */
+#endif /* GDB_LINESPEC_H */
index c553aaf0740a35fcec24c26b8e77f234e71bb561..2a306881695ee917fabcdedb07c608aaa36a3869 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef LINUX_FORK_H
-#define LINUX_FORK_H
+#ifndef GDB_LINUX_FORK_H
+#define GDB_LINUX_FORK_H
 
 struct fork_info;
 struct lwp_info;
@@ -30,4 +30,4 @@ extern void linux_fork_detach (int, lwp_info *);
 extern int forks_exist_p (void);
 extern int linux_fork_checkpointing_p (int);
 
-#endif /* LINUX_FORK_H */
+#endif /* GDB_LINUX_FORK_H */
index ae40ce773b4b68949bad1a1562859b6dba997efa..c1c031ea27d0f2a23f8ccbb007e4b21c08ab6994 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef LINUX_NAT_TRAD_H
-#define LINUX_NAT_TRAD_H
+#ifndef GDB_LINUX_NAT_TRAD_H
+#define GDB_LINUX_NAT_TRAD_H
 
 #include "linux-nat.h"
 
@@ -43,4 +43,4 @@ private:
   void store_register (const struct regcache *regcache, int regnum);
 };
 
-#endif /* LINUX_NAT_TRAD_H */
+#endif /* GDB_LINUX_NAT_TRAD_H */
index ee8603743f664cf8ab138e6b9eb6e3a5a2d6aaf5..b630b858e3461bdb08a134ec55bd369848586161 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef LINUX_NAT_H
-#define LINUX_NAT_H
+#ifndef GDB_LINUX_NAT_H
+#define GDB_LINUX_NAT_H
 
 #include "nat/linux-nat.h"
 #include "inf-ptrace.h"
@@ -342,4 +342,4 @@ void linux_nat_switch_fork (ptid_t new_ptid);
    uninitialized in such case).  */
 bool linux_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo);
 
-#endif /* LINUX_NAT_H */
+#endif /* GDB_LINUX_NAT_H */
index 54696124bf254e8edbc726ddff208444f7e1d330..6b1224a689267f96fe78af2056f175d5083a8c82 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef LINUX_RECORD_H
-#define LINUX_RECORD_H
+#ifndef GDB_LINUX_RECORD_H
+#define GDB_LINUX_RECORD_H
 
 struct linux_record_tdep
 {
@@ -550,4 +550,4 @@ extern int record_linux_system_call (enum gdb_syscall num,
                                     struct regcache *regcache,
                                     struct linux_record_tdep *tdep);
 
-#endif /* LINUX_RECORD_H */
+#endif /* GDB_LINUX_RECORD_H */
index 66b03cabaa6af2af3d15b4dfd8f8b84c40fbd996..bf4220bf75bd6145fd073a68c3b2fe5abeca0793 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef LINUX_TDEP_H
-#define LINUX_TDEP_H
+#ifndef GDB_LINUX_TDEP_H
+#define GDB_LINUX_TDEP_H
 
 #include "bfd.h"
 #include "displaced-stepping.h"
@@ -117,4 +117,4 @@ extern CORE_ADDR linux_get_hwcap2 ();
 extern struct link_map_offsets *linux_ilp32_fetch_link_map_offsets ();
 extern struct link_map_offsets *linux_lp64_fetch_link_map_offsets ();
 
-#endif /* linux-tdep.h */
+#endif /* GDB_LINUX_TDEP_H */
index e8cdd0d4ec6aff31fe8dab9d1f9bab1fbda1a012..7772d10426f11cae864169076d085c18501f5595 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef LOCATION_H
-#define LOCATION_H
+#ifndef GDB_LOCATION_H
+#define GDB_LOCATION_H
 
 #include "symtab.h"
 
@@ -365,4 +365,4 @@ extern location_spec_up
                                    const struct language_defn *language,
                                    explicit_completion_info *completion_info);
 
-#endif /* LOCATION_H */
+#endif /* GDB_LOCATION_H */
index b3e37c5b46a8b4e7be8ef79691192bfd1b1feb3f..48e2635feb984ddb3770fc0bd5513d4b1ebcf22e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef LOONGARCH_TDEP_H
-#define LOONGARCH_TDEP_H
+#ifndef GDB_LOONGARCH_TDEP_H
+#define GDB_LOONGARCH_TDEP_H
 
 #include "gdbarch.h"
 #include "arch/loongarch.h"
@@ -51,4 +51,4 @@ struct loongarch_gdbarch_tdep : gdbarch_tdep_base
 extern int loongarch_process_record (struct gdbarch *gdbarch,
                                     struct regcache *regcache, CORE_ADDR addr);
 
-#endif /* LOONGARCH_TDEP_H  */
+#endif /* GDB_LOONGARCH_TDEP_H */
index 9d2634f813bdfba4f871dadfadac7ac508fa31c4..ce773cbf864b8cc6e93ca286d167a5ba68f6939f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef M2_EXP_H
-#define M2_EXP_H
+#ifndef GDB_M2_EXP_H
+#define GDB_M2_EXP_H
 
 #include "expop.h"
 
@@ -81,4 +81,4 @@ public:
 
 } /* namespace expr */
 
-#endif /* M2_EXP_H */
+#endif /* GDB_M2_EXP_H */
index 3d3c6980bb2b18faeb41046391b87cc0ab8dfcaa..1551d7e00d60bd2b12ec3412f4a7a639fc4295ac 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef M2_LANG_H
-#define M2_LANG_H
+#ifndef GDB_M2_LANG_H
+#define GDB_M2_LANG_H
 
 struct type_print_options;
 struct parser_state;
@@ -149,4 +149,4 @@ public:
   { return true; }
 };
 
-#endif /* M2_LANG_H */
+#endif /* GDB_M2_LANG_H */
index 83799a3c69833696b253754ccb7424535d19f0aa..1cc0de38c153fd8d378145a5240398bdee30a8ac 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef M32R_TDEP_H
-#define M32R_TDEP_H
+#ifndef GDB_M32R_TDEP_H
+#define GDB_M32R_TDEP_H
 
 #include "gdbarch.h"
 
@@ -49,4 +49,4 @@ enum m32r_regnum
 
 #define M32R_NUM_REGS 25
 
-#endif /* m32r-tdep.h */
+#endif /* GDB_M32R_TDEP_H */
index dcb3728896e802d4b6ab9e92c85a42110d0642d9..ad5699321443874236185725d8d0858d2fd6deb0 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef M68K_TDEP_H
-#define M68K_TDEP_H
+#ifndef GDB_M68K_TDEP_H
+#define GDB_M68K_TDEP_H
 
 #include "gdbarch.h"
 
@@ -111,4 +111,4 @@ extern void m68k_svr4_init_abi (struct gdbarch_info, struct gdbarch *);
 
 extern int m68kbsd_fpreg_offset (struct gdbarch *gdbarch, int regnum);
 
-#endif /* m68k-tdep.h */
+#endif /* GDB_M68K_TDEP_H */
index 2706f15787f32ff7e6899835de30c147f229bbf0..6fd5dc27916adc0df56106c01245d52bc3449f0f 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef MACROEXP_H
-#define MACROEXP_H
+#ifndef GDB_MACROEXP_H
+#define GDB_MACROEXP_H
 
 struct macro_scope;
 
@@ -81,4 +81,4 @@ int macro_is_digit (int c);
 /* Stringify STR according to C rules and return a null-terminated string.  */
 gdb::unique_xmalloc_ptr<char> macro_stringify (const char *str);
 
-#endif /* MACROEXP_H */
+#endif /* GDB_MACROEXP_H */
index 6a1f5f0a3fedddde6346f674638bba178077412a..ce9ae33838fa23360c40271de2273b75297076f0 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MACROSCOPE_H
-#define MACROSCOPE_H
+#ifndef GDB_MACROSCOPE_H
+#define GDB_MACROSCOPE_H
 
 #include "macrotab.h"
 #include "symtab.h"
@@ -61,4 +61,4 @@ gdb::unique_xmalloc_ptr<struct macro_scope> default_macro_scope (void);
 macro_definition *standard_macro_lookup (const char *name,
                                         const macro_scope &ms);
 
-#endif /* MACROSCOPE_H */
+#endif /* GDB_MACROSCOPE_H */
index d5015954f2035c66e852f0230bd3652739ae4554..1263ba685f31a59b6a381ede6f74c6f5cab6dc5b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MACROTAB_H
-#define MACROTAB_H
+#ifndef GDB_MACROTAB_H
+#define GDB_MACROTAB_H
 
 #include "gdbsupport/function-view.h"
 
@@ -358,4 +358,4 @@ void macro_for_each_in_scope (struct macro_source_file *file, int line,
    of macro filenames printing was "absolute".  */
 extern std::string macro_source_fullname (struct macro_source_file *file);
 
-#endif /* MACROTAB_H */
+#endif /* GDB_MACROTAB_H */
index fa267786d8919e2a119c43c5a4d2f45e1fd13d8c..35dfe9d472947a8e43111fe2b00990497ad30156 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MAIN_H
-#define MAIN_H
+#ifndef GDB_MAIN_H
+#define GDB_MAIN_H
 
 struct captured_main_args
 {
@@ -46,4 +46,4 @@ extern char *windows_get_absolute_argv0 (const char *argv0);
 
 extern void set_gdb_data_directory (const char *new_data_dir);
 
-#endif
+#endif /* GDB_MAIN_H */
index c1860d8cd59288a1de571d6190282c3f30ac848f..5529d8a9d3ab8cca8c53d9069527b9a1305e2e78 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MAINT_H
-#define MAINT_H
+#ifndef GDB_MAINT_H
+#define GDB_MAINT_H
 
 #include "gdbsupport/run-time-clock.h"
 #include <chrono>
@@ -70,4 +70,4 @@ class scoped_command_stats
 extern obj_section *maint_obj_section_from_bfd_section (bfd *abfd,
                                                        asection *asection,
                                                        objfile *ofile);
-#endif /* MAINT_H */
+#endif /* GDB_MAINT_H */
index af0584bd3e61cb80d0bb7e9b97be8366813074d3..4f434226ff96af56a0af30e66ce8575fc122c231 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MDEBUGREAD_H
-#define MDEBUGREAD_H
+#ifndef GDB_MDEBUGREAD_H
+#define GDB_MDEBUGREAD_H
 
 #include "coff/sym.h"
 #include "coff/symconst.h"
@@ -46,4 +46,4 @@ extern void elfmdebug_build_psymtabs (struct objfile *,
                                      const struct ecoff_debug_swap *,
                                      asection *);
 
-#endif /* MDEBUGREAD_H */
+#endif /* GDB_MDEBUGREAD_H */
index dcc52298846c0eb4647bdc9104c6f0cef832fa32..a6c9e6dcd8cbb99ee480a4459494ba984ae23205 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MEMATTR_H
-#define MEMATTR_H
+#ifndef GDB_MEMATTR_H
+#define GDB_MEMATTR_H
 
 enum mem_access_mode
 {
@@ -129,4 +129,4 @@ extern struct mem_region *lookup_mem_region (CORE_ADDR);
 
 void invalidate_target_mem_regions (void);
 
-#endif /* MEMATTR_H */
+#endif /* GDB_MEMATTR_H */
index 525646b6e37e0bd34d2e3330b470ba37e0283f07..59fcd4a9f73a5d8d9330dd0254a3c55c2bbd63ca 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef MEMORY_MAP_H
-#define MEMORY_MAP_H
+#ifndef GDB_MEMORY_MAP_H
+#define GDB_MEMORY_MAP_H
 
 #include "memattr.h"
 
@@ -28,4 +28,4 @@
    return an empty vector.  Does not throw.  */
 std::vector<mem_region> parse_memory_map (const char *memory_map);
 
-#endif
+#endif /* GDB_MEMORY_MAP_H */
index d83fcbd57a6e33654a25ff36b483c945a222633e..1891269511a2fcc0e83dbc933ffacc6d88cd23b7 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MEMRANGE_H
-#define MEMRANGE_H
+#ifndef GDB_MEMRANGE_H
+#define GDB_MEMRANGE_H
 
 /* Defines a [START, START + LENGTH) memory range.  */
 
@@ -62,4 +62,4 @@ extern int mem_ranges_overlap (CORE_ADDR start1, int len1,
 
 extern void normalize_mem_ranges (std::vector<mem_range> *memory);
 
-#endif
+#endif /* GDB_MEMRANGE_H */
index b176371699cd6b0365ff56e1f092e52aa31e87b2..600b4b9db74fa94bd59009ed5340e5f9bdba360c 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MEMTAG_H
-#define MEMTAG_H
+#ifndef GDB_MEMTAG_H
+#define GDB_MEMTAG_H
 
 #include "bfd.h"
 
@@ -47,4 +47,4 @@ bool get_next_core_memtag_section (bfd *abfd, asection *section,
                                   CORE_ADDR address,
                                   memtag_section_info &info);
 
-#endif /* MEMTAG_H */
+#endif /* GDB_MEMTAG_H */
index 76aedfffcd952e891214343deeedaf70c87ed7e6..160c578865db9561be1985d3b6284bb62d005653 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_CMD_BREAK_H
-#define MI_MI_CMD_BREAK_H
+#ifndef GDB_MI_MI_CMD_BREAK_H
+#define GDB_MI_MI_CMD_BREAK_H
 
 #include "gdbsupport/scoped_restore.h"
 
@@ -27,4 +27,4 @@
    catchpoint.  */
 scoped_restore_tmpl<int> setup_breakpoint_reporting (void);
 
-#endif /* MI_MI_CMD_BREAK_H */
+#endif /* GDB_MI_MI_CMD_BREAK_H */
index f2c6b1e9402681f149d98d9e46f5638aea23115c..2059202c8bf01f1a1784ca57e10d827c1322fb66 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_CMDS_H
-#define MI_MI_CMDS_H
+#ifndef GDB_MI_MI_CMDS_H
+#define GDB_MI_MI_CMDS_H
 
 #include "gdbsupport/function-view.h"
 #include <optional>
@@ -238,4 +238,4 @@ extern void remove_mi_cmd_entries (remove_mi_cmd_entries_ftype callback);
 
 extern bool mi_simple_type_p (struct type *type);
 
-#endif /* MI_MI_CMDS_H */
+#endif /* GDB_MI_MI_CMDS_H */
index 38ad35c3e363ffac59fffa513257514752ca891a..4c3951ca8c08cadf956d959e206f4570229757b3 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_COMMON_H
-#define MI_MI_COMMON_H
+#ifndef GDB_MI_MI_COMMON_H
+#define GDB_MI_MI_COMMON_H
 
 /* Represents the reason why GDB is sending an asynchronous command to
    the front end.  NOTE: When modifying this, don't forget to update
@@ -49,4 +49,4 @@ enum async_reply_reason
 
 const char *async_reason_lookup (enum async_reply_reason reason);
 
-#endif /* MI_MI_COMMON_H */
+#endif /* GDB_MI_MI_COMMON_H */
index 89ba199fbce6abb4f8a9d150dbdbeace74a01230..89e0f4d3db668b41061560340181e174aebccc4f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_CONSOLE_H
-#define MI_MI_CONSOLE_H
+#ifndef GDB_MI_MI_CONSOLE_H
+#define GDB_MI_MI_CONSOLE_H
 
 /* An output stream for MI.  Wraps a given output stream with a prefix
    and handles quoting.  This stream is locally buffered.  */
@@ -55,4 +55,4 @@ private:
   char m_quote;
 };
 
-#endif /* MI_MI_CONSOLE_H */
+#endif /* GDB_MI_MI_CONSOLE_H */
index f3dd326fced9e327033ad1ca11fff4463e29853a..5bc35aa565ac243c42b3516d515dcf47a8195b34 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_GETOPT_H
-#define MI_MI_GETOPT_H
+#ifndef GDB_MI_MI_GETOPT_H
+#define GDB_MI_MI_GETOPT_H
 
 /* The option list.  Terminated by NAME==NULL.  ARG_P that the option
    requires an argument.  INDEX is returned to identify the option.  */
@@ -78,4 +78,4 @@ extern int mi_getopt_allow_unknown (const char *prefix, int argc,
 extern int mi_valid_noargs (const char *prefix, int argc,
                            const char *const *argv);
 
-#endif /* MI_MI_GETOPT_H */
+#endif /* GDB_MI_MI_GETOPT_H */
index cd48fcf0aa158f682c57eb299cbe67cf83133f29..8f5eee6f55810187124b7ff0593ed7967fefb08f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_INTERP_H
-#define MI_MI_INTERP_H
+#ifndef GDB_MI_MI_INTERP_H
+#define GDB_MI_MI_INTERP_H
 
 #include "interps.h"
 
@@ -119,4 +119,4 @@ as_mi_interp (struct interp *interp)
   return dynamic_cast<mi_interp *> (interp);
 }
 
-#endif /* MI_MI_INTERP_H */
+#endif /* GDB_MI_MI_INTERP_H */
index 59c9ffa31bbcc79d2a486d5bc047305ddab45385..af670295c1fc062d2fd4e13729139825b9e456a7 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_MAIN_H
-#define MI_MI_MAIN_H
+#ifndef GDB_MI_MI_MAIN_H
+#define GDB_MI_MI_MAIN_H
 
 struct ui_file;
 
@@ -79,4 +79,4 @@ extern void mi_cmd_fix_breakpoint_script_output (const char *command,
 
 extern int mi_parse_thread_group_id (const char *id);
 
-#endif /* MI_MI_MAIN_H */
+#endif /* GDB_MI_MI_MAIN_H */
index 9ad419e5c052912b09332cb5a9c46c0880fe3bf9..0112d5a7dd4589eb00a2e1922259e63b0ed4803b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_OUT_H
-#define MI_MI_OUT_H
+#ifndef GDB_MI_MI_OUT_H
+#define GDB_MI_MI_OUT_H
 
 #include "ui-out.h"
 #include <vector>
@@ -153,4 +153,4 @@ std::unique_ptr<mi_ui_out> mi_out_new (const char *mi_version);
 void mi_out_put (ui_out *uiout, struct ui_file *stream);
 void mi_out_rewind (ui_out *uiout);
 
-#endif /* MI_MI_OUT_H */
+#endif /* GDB_MI_MI_OUT_H */
index 8b685755a5c8e5a6b2085f4c5de18b0cec2b6452..22d10185925f11a3c42cefb719e1a321ad9cf95c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MI_MI_PARSE_H
-#define MI_MI_PARSE_H
+#ifndef GDB_MI_MI_PARSE_H
+#define GDB_MI_MI_PARSE_H
 
 #include "gdbsupport/run-time-clock.h"
 #include <chrono>
@@ -101,4 +101,4 @@ private:
 
 enum print_values mi_parse_print_values (const char *name);
 
-#endif /* MI_MI_PARSE_H */
+#endif /* GDB_MI_MI_PARSE_H */
index 0b4a5a3f4725ad016c4c7e06744eb94700f884d0..7b5924e931734f50d71947593dbd80b7bd63597a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MICROBLAZE_TDEP_H
-#define MICROBLAZE_TDEP_H 1
+#ifndef GDB_MICROBLAZE_TDEP_H
+#define GDB_MICROBLAZE_TDEP_H
 
 #include "gdbarch.h"
 
@@ -120,4 +120,4 @@ struct microblaze_frame_cache
    Only used for native debugging.  */
 #define MICROBLAZE_BREAKPOINT {0xb9, 0xcc, 0x00, 0x60}
 
-#endif /* microblaze-tdep.h */
+#endif /* GDB_MICROBLAZE_TDEP_H */
index 4e6d5db91395ce4f18a9158e20472dede86228c3..3eea55847bd58572012fb2199a5e7bf9dae53a93 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MINSYMS_H
-#define MINSYMS_H
+#ifndef GDB_MINSYMS_H
+#define GDB_MINSYMS_H
 
 struct program_space;
 struct type;
@@ -326,4 +326,4 @@ CORE_ADDR minimal_symbol_upper_bound (bound_minimal_symbol minsym);
 type *find_minsym_type_and_address (minimal_symbol *msymbol, objfile *objf,
                                    CORE_ADDR *address_p);
 
-#endif /* MINSYMS_H */
+#endif /* GDB_MINSYMS_H */
index ec834d0474a7cfb438d5b327bd176aaef25ad236..201b1e5a7930427a369382a89b7850e2db75c56c 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MIPS_FBSD_TDEP_H
-#define MIPS_FBSD_TDEP_H
+#ifndef GDB_MIPS_FBSD_TDEP_H
+#define GDB_MIPS_FBSD_TDEP_H
 
 void mips_fbsd_supply_fpregs (struct regcache *, int, const void *, size_t);
 void mips_fbsd_supply_gregs (struct regcache *, int, const void *, size_t);
 void mips_fbsd_collect_fpregs (const struct regcache *, int, void *, size_t);
 void mips_fbsd_collect_gregs (const struct regcache *, int, void *, size_t);
 
-#endif /* MIPS_FBSD_TDEP_H */
+#endif /* GDB_MIPS_FBSD_TDEP_H */
index 2c4c35954c4e5b5daedc0b40482a99aa4ddec0dc..8670c0b7e159559803d749afcf29c9e073fa6e69 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MIPS_LINUX_TDEP_H
-#define MIPS_LINUX_TDEP_H
+#ifndef GDB_MIPS_LINUX_TDEP_H
+#define GDB_MIPS_LINUX_TDEP_H
 
 /* Copied from <asm/elf.h>.  */
 #define ELF_NGREG       45
@@ -113,4 +113,4 @@ extern const struct target_desc *tdesc_mips64_linux;
 extern const struct target_desc *tdesc_mips_dsp_linux;
 extern const struct target_desc *tdesc_mips64_dsp_linux;
 
-#endif /* MIPS_LINUX_TDEP_H */
+#endif /* GDB_MIPS_LINUX_TDEP_H */
index 034261fbf44238e877dbb7d79ebe0672c5f15f13..e9544f0f1bfc174323ebdf4c36943156cc902cd8 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MIPS_NBSD_TDEP_H
-#define MIPS_NBSD_TDEP_H
+#ifndef GDB_MIPS_NETBSD_TDEP_H
+#define GDB_MIPS_NETBSD_TDEP_H
 
 void mipsnbsd_supply_reg (struct regcache *, const char *, int);
 void mipsnbsd_fill_reg (const struct regcache *, char *, int);
@@ -26,4 +26,4 @@ void mipsnbsd_fill_reg (const struct regcache *, char *, int);
 void mipsnbsd_supply_fpreg (struct regcache *, const char *, int);
 void mipsnbsd_fill_fpreg (const struct regcache *, char *, int);
 
-#endif /* MIPS_NBSD_TDEP_H */
+#endif /* GDB_MIPS_NETBSD_TDEP_H */
index eec1fb56f4e11b4d5cebc31f8a06d0b664982c14..df589cf71b892606dcd55cdf1a87bc20a0605471 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MIPS_TDEP_H
-#define MIPS_TDEP_H
+#ifndef GDB_MIPS_TDEP_H
+#define GDB_MIPS_TDEP_H
 
 #include "objfiles.h"
 #include "gdbarch.h"
@@ -201,4 +201,4 @@ in_mips_stubs_section (CORE_ADDR pc)
   return pc_in_section (pc, ".MIPS.stubs");
 }
 
-#endif /* MIPS_TDEP_H */
+#endif /* GDB_MIPS_TDEP_H */
index 683a6ec2e145387d2caf81542d177aed8d3f4f96..bec5f04253af5a48168a84adec88f4ef5bc6ee97 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MN10300_TDEP_H
-#define MN10300_TDEP_H
+#ifndef GDB_MN10300_TDEP_H
+#define GDB_MN10300_TDEP_H
 
 #include "gdbarch.h"
 
@@ -88,4 +88,4 @@ get_am33_mode (gdbarch *arch)
   return tdep->am33_mode;
 }
 
-#endif /* MN10300_TDEP_H */
+#endif /* GDB_MN10300_TDEP_H */
index 64bfc825fc14e2924d40899017464bbc0c1e1765..329d9972b49e80c7a5e590d0fa288b364b051c57 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef MOXIE_TDEP_H
-#define MOXIE_TDEP_H
+#ifndef GDB_MOXIE_TDEP_H
+#define GDB_MOXIE_TDEP_H
 
 #include "gdbarch.h"
 
@@ -42,4 +42,4 @@ enum moxie_regnum
 
 #define MOXIE_NUM_REGS 18
 
-#endif /* moxie-tdep.h */
+#endif /* GDB_MOXIE_TDEP_H */
index 849eb84854d1ccde2c3d284df96d87bdcf52cdd4..ca949aa614f4416f67d374662f6265d951bdbc21 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAMESPACE_H
-#define NAMESPACE_H
+#ifndef GDB_NAMESPACE_H
+#define GDB_NAMESPACE_H
 
 #include "gdbsupport/gdb_obstack.h"
 
@@ -126,4 +126,4 @@ extern void add_using_directive (struct using_direct **using_directives,
                                 const unsigned int decl_line,
                                 struct obstack *obstack);
 
-#endif /* NAMESPACE_H */
+#endif /* GDB_NAMESPACE_H */
index 0d50eaab0dec8baf111fc2f22e3163be9f5e3de9..9f9c85ec6af179c7ebeceed98d24a7d0c0c421ca 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_AARCH64_HW_POINT_H
-#define NAT_AARCH64_HW_POINT_H
+#ifndef GDB_NAT_AARCH64_HW_POINT_H
+#define GDB_NAT_AARCH64_HW_POINT_H
 
 /* Macro definitions, data structures, and code for the hardware
    breakpoint and hardware watchpoint support follow.  We use the
@@ -136,4 +136,4 @@ void aarch64_show_debug_reg_state (struct aarch64_debug_reg_state *state,
 
 int aarch64_region_ok_for_watchpoint (CORE_ADDR addr, int len);
 
-#endif /* NAT_AARCH64_HW_POINT_H */
+#endif /* GDB_NAT_AARCH64_HW_POINT_H */
index cf749c34ae7975e9761f48865aecd08b6f166b85..618f79f15875808ef7db7f139cacd465acb6a65d 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_AARCH64_LINUX_HW_POINT_H
-#define NAT_AARCH64_LINUX_HW_POINT_H
+#ifndef GDB_NAT_AARCH64_LINUX_HW_POINT_H
+#define GDB_NAT_AARCH64_LINUX_HW_POINT_H
 
 #include "gdbsupport/break-common.h"
 
@@ -109,4 +109,4 @@ void aarch64_linux_get_debug_reg_capacity (int tid);
 
 struct aarch64_debug_reg_state *aarch64_get_debug_reg_state (pid_t pid);
 
-#endif /* NAT_AARCH64_LINUX_HW_POINT_H */
+#endif /* GDB_NAT_AARCH64_LINUX_HW_POINT_H */
index f4df74811626fa05ecabe155597adc8c3cc04611..969bb52b812e1a2e2c28d18cdf36802fc3cb0a6f 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_AARCH64_LINUX_H
-#define NAT_AARCH64_LINUX_H
+#ifndef GDB_NAT_AARCH64_LINUX_H
+#define GDB_NAT_AARCH64_LINUX_H
 
 #include <signal.h>
 
@@ -133,4 +133,4 @@ ps_err_e aarch64_ps_get_thread_area (struct ps_prochandle *ph,
    used for aarch64 state.  */
 int aarch64_tls_register_count (int tid);
 
-#endif /* NAT_AARCH64_LINUX_H */
+#endif /* GDB_NAT_AARCH64_LINUX_H */
index 28dd8158c9091c1cef9d16b294aa7e47eb9882cc..e02a0818963549d1a3391fc6c18755b8eba9b28a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_AARCH64_MTE_LINUX_PTRACE_H
-#define NAT_AARCH64_MTE_LINUX_PTRACE_H
+#ifndef GDB_NAT_AARCH64_MTE_LINUX_PTRACE_H
+#define GDB_NAT_AARCH64_MTE_LINUX_PTRACE_H
 
 /* MTE allocation tag access */
 
@@ -47,4 +47,4 @@ extern bool aarch64_mte_fetch_memtags (int tid, CORE_ADDR address, size_t len,
 extern bool aarch64_mte_store_memtags (int tid, CORE_ADDR address, size_t len,
                                       const gdb::byte_vector &tags);
 
-#endif /* NAT_AARCH64_MTE_LINUX_PTRACE_H */
+#endif /* GDB_NAT_AARCH64_MTE_LINUX_PTRACE_H */
index 2be45588785edef40adf627a80540bff18f3ff98..2c6d899e931d73710664bb97b56745159a74aa80 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_AARCH64_SCALABLE_LINUX_PTRACE_H
-#define NAT_AARCH64_SCALABLE_LINUX_PTRACE_H
+#ifndef GDB_NAT_AARCH64_SCALABLE_LINUX_PTRACE_H
+#define GDB_NAT_AARCH64_SCALABLE_LINUX_PTRACE_H
 
 #include <signal.h>
 #include <sys/utsname.h>
@@ -176,4 +176,4 @@ aarch64_zt_regs_copy_to_reg_buf (int tid, struct reg_buffer_common *reg_buf,
 extern void
 aarch64_zt_regs_copy_from_reg_buf (int tid, struct reg_buffer_common *reg_buf,
                                   int zt_regnum);
-#endif /* NAT_AARCH64_SCALABLE_LINUX_PTRACE_H */
+#endif /* GDB_NAT_AARCH64_SCALABLE_LINUX_PTRACE_H */
index 8db524250a82ad5cfe2125f49e697441e68554d4..bfda9be617a9baf1e84a6b821a0e4660beae1da4 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_AARCH64_SCALABLE_LINUX_SIGCONTEXT_H
-#define NAT_AARCH64_SCALABLE_LINUX_SIGCONTEXT_H
+#ifndef GDB_NAT_AARCH64_SCALABLE_LINUX_SIGCONTEXT_H
+#define GDB_NAT_AARCH64_SCALABLE_LINUX_SIGCONTEXT_H
 
 #ifndef SVE_SIG_ZREGS_SIZE
 
@@ -325,4 +325,4 @@ struct user_za_header {
        (ZA_PT_ZA_OFFSET + ZA_PT_ZA_SIZE(vq))
 #endif /* ZA_PT_SIZE */
 
-#endif /* NAT_AARCH64_SCALABLE_LINUX_SIGCONTEXT_H */
+#endif /* GDB_NAT_AARCH64_SCALABLE_LINUX_SIGCONTEXT_H */
index b8fd8c0e2ae5506519d3c1bd7b5254a003915e20..1e102ae99b3c31bb0c5ee06cc2cc2f599150424b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_AMD64_LINUX_SIGINFO_H
-#define NAT_AMD64_LINUX_SIGINFO_H
+#ifndef GDB_NAT_AMD64_LINUX_SIGINFO_H
+#define GDB_NAT_AMD64_LINUX_SIGINFO_H
 
 #include <signal.h>
 
@@ -55,4 +55,4 @@ int amd64_linux_siginfo_fixup_common (siginfo_t *native, gdb_byte *inf,
                                      int direction,
                                      enum amd64_siginfo_fixup_mode mode);
 
-#endif /* NAT_AMD64_LINUX_SIGINFO_H */
+#endif /* GDB_NAT_AMD64_LINUX_SIGINFO_H */
index 0fd42181ac71e7e032c6b9ff70d446a9875d5b04..41dad71ca54666ec2f338bab1b7f23f3961f82f6 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_FORK_INFERIOR_H
-#define NAT_FORK_INFERIOR_H
+#ifndef GDB_NAT_FORK_INFERIOR_H
+#define GDB_NAT_FORK_INFERIOR_H
 
 #include <string>
 #include "gdbsupport/function-view.h"
@@ -92,4 +92,4 @@ extern void gdb_flush_out_err ();
    function does not return.  */
 [[noreturn]] extern void trace_start_error_with_name (const char *string);
 
-#endif /* NAT_FORK_INFERIOR_H */
+#endif /* GDB_NAT_FORK_INFERIOR_H */
index 81727cbdbd62019d0fb0fa7c6e87e36a0086d016..17858848a62366a6b03449c83e89439675323738 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_GDB_PTRACE_H
-#define NAT_GDB_PTRACE_H
+#ifndef GDB_NAT_GDB_PTRACE_H
+#define GDB_NAT_GDB_PTRACE_H
 
 /* The <sys/ptrace.h> header was introduced with 4.4BSD, and provided
    the PT_* symbolic constants for the ptrace(2) request numbers.  The
         ptrace ((PTRACE_TYPE_ARG1) request, pid, addr, data)
 #endif
 
-#endif /* NAT_GDB_PTRACE_H */
+#endif /* GDB_NAT_GDB_PTRACE_H */
index 0e683787c40d0d1d7a5d261f9debe002b6494654..446b92129dde244ca0d5b315b18174382448c2ee 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_GDB_THREAD_DB_H
-#define NAT_GDB_THREAD_DB_H
+#ifndef GDB_NAT_GDB_THREAD_DB_H
+#define GDB_NAT_GDB_THREAD_DB_H
 
 #ifdef HAVE_THREAD_DB_H
 #include <thread_db.h>
@@ -73,4 +73,4 @@ typedef td_err_e (td_thr_tlsbase_ftype) (const td_thrhandle_t *th,
 typedef const char ** (td_symbol_list_ftype) (void);
 typedef td_err_e (td_ta_delete_ftype) (td_thragent_t *);
 
-#endif /* NAT_GDB_THREAD_DB_H */
+#endif /* GDB_NAT_GDB_THREAD_DB_H */
index 598805deef2fcc52d49b1b0ed2a612f290c7aa80..87eb62b3efec934d32d995fd7015c7c9e22f33d1 100644 (file)
@@ -16,8 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_GLIBC_THREAD_DB_H
-#define NAT_GLIBC_THREAD_DB_H
+#ifndef GDB_NAT_GLIBC_THREAD_DB_H
+#define GDB_NAT_GLIBC_THREAD_DB_H
 
 /* This is the debugger interface for the NPTL library.  It is
    modelled closely after the interface with same names in Solaris
@@ -455,4 +455,4 @@ extern td_err_e td_thr_dbsuspend (const td_thrhandle_t *__th);
 /* Resume execution of thread TH.  */
 extern td_err_e td_thr_dbresume (const td_thrhandle_t *__th);
 
-#endif /* NAT_GLIBC_THREAD_DB_H */
+#endif /* GDB_NAT_GLIBC_THREAD_DB_H */
index c93626b64399da5cb76f44219d80072567c71113..f222d51de9f4e457ce5ac978e77eeb2e1a685558 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_I386_LINUX_H
-#define NAT_I386_LINUX_H
+#ifndef GDB_NAT_I386_LINUX_H
+#define GDB_NAT_I386_LINUX_H
 
 /* Does the current host support the GETFPXREGS request?  The system header
    file may or may not define it, but even if it is defined, the kernel
@@ -34,4 +34,4 @@
    variable.  */
 extern tribool have_ptrace_getfpxregs;
 
-#endif /* NAT_I386_LINUX_H */
+#endif /* GDB_NAT_I386_LINUX_H */
index 0771f4b5a6504585d0f51d413d404f4dc9b5d7db..6fd8107367301f6d547117edf7bc12e891f6ffea 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LINUX_BTRACE_H
-#define NAT_LINUX_BTRACE_H
+#ifndef GDB_NAT_LINUX_BTRACE_H
+#define GDB_NAT_LINUX_BTRACE_H
 
 #include "gdbsupport/btrace-common.h"
 #include "gdbsupport/gdb-checked-static-cast.h"
@@ -86,4 +86,4 @@ extern enum btrace_error linux_read_btrace (struct btrace_data *btrace,
 extern const struct btrace_config *
   linux_btrace_conf (const struct btrace_target_info *);
 
-#endif /* NAT_LINUX_BTRACE_H */
+#endif /* GDB_NAT_LINUX_BTRACE_H */
index 298ff05665381709488a6aee3f3bf1d7b5fddb5a..4327292950b323bebfc01cbe36873732f3b2d7f9 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LINUX_NAMESPACES_H
-#define NAT_LINUX_NAMESPACES_H
+#ifndef GDB_NAT_LINUX_NAMESPACES_H
+#define GDB_NAT_LINUX_NAMESPACES_H
 
 /* Set to true to enable debugging of Linux namespaces code.  */
 
@@ -73,4 +73,4 @@ extern int linux_mntns_unlink (pid_t pid, const char *filename);
 extern ssize_t linux_mntns_readlink (pid_t pid, const char *filename,
                                     char *buf, size_t bufsiz);
 
-#endif /* NAT_LINUX_NAMESPACES_H */
+#endif /* GDB_NAT_LINUX_NAMESPACES_H */
index b9fba7924b9abcfc44ffbba3d7b8657e63fd3bdd..f85d072ac3645b21b154cb9ef5f7afc430c685ca 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LINUX_NAT_H
-#define NAT_LINUX_NAT_H
+#ifndef GDB_NAT_LINUX_NAT_H
+#define GDB_NAT_LINUX_NAT_H
 
 #include "gdbsupport/function-view.h"
 #include "target/waitstatus.h"
@@ -94,4 +94,4 @@ extern void linux_stop_lwp (struct lwp_info *lwp);
 
 extern int lwp_is_stepping (struct lwp_info *lwp);
 
-#endif /* NAT_LINUX_NAT_H */
+#endif /* GDB_NAT_LINUX_NAT_H */
index a82fb08b998ebfcad2f5a6eb805137c0c61431d2..b68811648bdb7b91ca327228acdd5d1daa06cb4c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LINUX_OSDATA_H
-#define NAT_LINUX_OSDATA_H
+#ifndef GDB_NAT_LINUX_OSDATA_H
+#define GDB_NAT_LINUX_OSDATA_H
 
 /* Returns the CPU core that thread PTID is currently running on.  */
 
@@ -27,4 +27,4 @@ extern int linux_common_core_of_thread (ptid_t ptid);
 extern LONGEST linux_common_xfer_osdata (const char *annex, gdb_byte *readbuf,
                                         ULONGEST offset, ULONGEST len);
 
-#endif /* NAT_LINUX_OSDATA_H */
+#endif /* GDB_NAT_LINUX_OSDATA_H */
index 0238fe0c7e547a9ed4448cbc18c866a94aa7246d..ab6727076ad3ff3e4d450698c3084d99009c06be 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LINUX_PERSONALITY_H
-#define NAT_LINUX_PERSONALITY_H
+#ifndef GDB_NAT_LINUX_PERSONALITY_H
+#define GDB_NAT_LINUX_PERSONALITY_H
 
 class maybe_disable_address_space_randomization
 {
@@ -43,4 +43,4 @@ private:
   int m_personality_orig;
 };
 
-#endif /* NAT_LINUX_PERSONALITY_H */
+#endif /* GDB_NAT_LINUX_PERSONALITY_H */
index 64224801c8f28ee9f87d1caea262e1989ec5462a..d484cc83d520d01eed548e8f5098cb135a5e35d1 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LINUX_PROCFS_H
-#define NAT_LINUX_PROCFS_H
+#ifndef GDB_NAT_LINUX_PROCFS_H
+#define GDB_NAT_LINUX_PROCFS_H
 
 #include <unistd.h>
 
@@ -96,4 +96,4 @@ extern const char *linux_proc_pid_to_exec_file (int pid);
 
 extern void linux_proc_init_warnings ();
 
-#endif /* NAT_LINUX_PROCFS_H */
+#endif /* GDB_NAT_LINUX_PROCFS_H */
index a3b4ca8d17680efb3481269fa55cc4ea237df937..c7d40234044061cc85ffbb138d3d08c5a2f8c1ad 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LINUX_PTRACE_H
-#define NAT_LINUX_PTRACE_H
+#ifndef GDB_NAT_LINUX_PTRACE_H
+#define GDB_NAT_LINUX_PTRACE_H
 
 #include "nat/gdb_ptrace.h"
 #include "gdbsupport/gdb_wait.h"
@@ -186,4 +186,4 @@ extern int linux_ptrace_get_extended_event (int wstat);
 extern int linux_is_extended_waitstatus (int wstat);
 extern int linux_wstatus_maybe_breakpoint (int wstat);
 
-#endif /* NAT_LINUX_PTRACE_H */
+#endif /* GDB_NAT_LINUX_PTRACE_H */
index e069f8a84a8adfb903a4528e18525d8e84454954..b75782d45207b5d360ed0749bbccd02975fc53db 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LINUX_WAITPID_H
-#define NAT_LINUX_WAITPID_H
+#ifndef GDB_NAT_LINUX_WAITPID_H
+#define GDB_NAT_LINUX_WAITPID_H
 
 /* Wrapper function for waitpid which handles EINTR.  */
 extern int my_waitpid (int pid, int *status, int flags);
@@ -27,4 +27,4 @@ extern int my_waitpid (int pid, int *status, int flags);
    messages only.  */
 extern std::string status_to_str (int status);
 
-#endif /* NAT_LINUX_WAITPID_H */
+#endif /* GDB_NAT_LINUX_WAITPID_H */
index fd79285a046fecae166ef0d85ba8eeb6459d9c83..799df89b428d0b5365c0f64570db7ac1cf7ad143 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
-#ifndef NAT_LOONGARCH_HW_POINT_H
-#define NAT_LOONGARCH_HW_POINT_H
+#ifndef GDB_NAT_LOONGARCH_HW_POINT_H
+#define GDB_NAT_LOONGARCH_HW_POINT_H
 
 /* Macro definitions, data structures, and code for the hardware
    breakpoint and hardware watchpoint support follow.  We use the
@@ -100,4 +100,4 @@ void loongarch_show_debug_reg_state (struct loongarch_debug_reg_state *state,
 
 int loongarch_region_ok_for_watchpoint (CORE_ADDR addr, int len);
 
-#endif /* NAT_LOONGARCH_HW_POINT_H */
+#endif /* GDB_NAT_LOONGARCH_HW_POINT_H */
index 8d96443f5e0a81bfd6a9c29384d16088b7c9b523..fb722aab50cfd558d99d9187ab8668f1310947ff 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LOONGARCH_LINUX_HW_POINT_H
-#define NAT_LOONGARCH_LINUX_HW_POINT_H
+#ifndef GDB_NAT_LOONGARCH_LINUX_HW_POINT_H
+#define GDB_NAT_LOONGARCH_LINUX_HW_POINT_H
 
 #include "gdbsupport/break-common.h" /* For enum target_hw_bp_type.  */
 
@@ -123,4 +123,4 @@ struct loongarch_debug_reg_state *loongarch_get_debug_reg_state (pid_t pid);
 void loongarch_remove_debug_reg_state (pid_t pid);
 
 
-#endif /* NAT_LOONGARCH_LINUX_HW_POINT_H */
+#endif /* GDB_NAT_LOONGARCH_LINUX_HW_POINT_H */
index f4bb75af88cdb9590f7dae286c5a357e8755281b..0505bf376afecd5a029f8b5331e0996cddf7d329 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_LOONGARCH_LINUX_H
-#define NAT_LOONGARCH_LINUX_H
+#ifndef GDB_NAT_LOONGARCH_LINUX_H
+#define GDB_NAT_LOONGARCH_LINUX_H
 
 #include <signal.h>
 
@@ -39,4 +39,4 @@ void loongarch_linux_new_thread (struct lwp_info *lwp);
 
 void loongarch_linux_delete_thread (struct arch_lwp_info *arch_lwp);
 
-#endif /* LOONGARCH_LINUX_H */
+#endif /* GDB_NAT_LOONGARCH_LINUX_H */
index a37eabd2058b4d97201a305fb6552f9744477977..b18b009f3b7a8f31cdffdd5c920d2067d9e70e69 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_MIPS_LINUX_WATCH_H
-#define NAT_MIPS_LINUX_WATCH_H
+#ifndef GDB_NAT_MIPS_LINUX_WATCH_H
+#define GDB_NAT_MIPS_LINUX_WATCH_H
 
 #include <asm/ptrace.h>
 #include "gdbsupport/break-common.h"
@@ -116,4 +116,4 @@ int mips_linux_read_watch_registers (long lwpid,
                                     struct pt_watch_regs *watch_readback,
                                     int *watch_readback_valid, int force);
 
-#endif /* NAT_MIPS_LINUX_WATCH_H */
+#endif /* GDB_NAT_MIPS_LINUX_WATCH_H */
index cc529cfd0c6a3087d008185f843fc49878694958..1ffd705e3befd67e0c717f97eea272bcd3be59fa 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_NETBSD_NAT_H
-#define NAT_NETBSD_NAT_H
+#ifndef GDB_NAT_NETBSD_NAT_H
+#define GDB_NAT_NETBSD_NAT_H
 
 #include "gdbsupport/function-view.h"
 
@@ -91,4 +91,4 @@ extern int read_memory (pid_t pid, unsigned char *readbuf, CORE_ADDR offset,
                        size_t len, size_t *xfered_len);
 }
 
-#endif
+#endif /* GDB_NAT_NETBSD_NAT_H */
index b51e2278f4b6f56d9317b8c2a170daca1ffd552d..3efc1b9a9bf64b45e38f82bf6cc8f04cb3bbf14f 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_PPC_LINUX_H
-#define NAT_PPC_LINUX_H
+#ifndef GDB_NAT_PPC_LINUX_H
+#define GDB_NAT_PPC_LINUX_H
 
 #include <asm/ptrace.h>
 #include <asm/cputable.h>
 /* Return the wordsize of the target, either 4 or 8 bytes.  */
 int ppc_linux_target_wordsize (int tid);
 
-#endif /* NAT_PPC_LINUX_H */
+#endif /* GDB_NAT_PPC_LINUX_H */
index fa9d5bcb7f59d30edd4f3cba6e929bc6402f6e05..875135ed979f019b33fdef47a4e564cc07073acb 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_RISCV_LINUX_TDESC_H
-#define NAT_RISCV_LINUX_TDESC_H
+#ifndef GDB_NAT_RISCV_LINUX_TDESC_H
+#define GDB_NAT_RISCV_LINUX_TDESC_H
 
 #include "arch/riscv.h"
 
@@ -25,4 +25,4 @@
    corresponding features object.  */
 struct riscv_gdbarch_features riscv_linux_read_features (int tid);
 
-#endif /* NAT_RISCV_LINUX_TDESC_H */
+#endif /* GDB_NAT_RISCV_LINUX_TDESC_H */
index dc637d4ed048b8d7affa240c633e0a4ac71832d9..c01f58fdb8f7c048bfd80aedc9e45734931248c9 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_WINDOWS_NAT_H
-#define NAT_WINDOWS_NAT_H
+#ifndef GDB_NAT_WINDOWS_NAT_H
+#define GDB_NAT_WINDOWS_NAT_H
 
 #include <windows.h>
 #include <psapi.h>
@@ -557,4 +557,4 @@ extern bool initialize_loadable ();
 
 }
 
-#endif
+#endif /* GDB_NAT_WINDOWS_NAT_H */
index 5e9ce604f4ebaf7748c6eec7ee93d8991878008a..02a204c13486d9117067f992ec2661bfe91e8c78 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_X86_CPUID_H
-#define NAT_X86_CPUID_H
+#ifndef GDB_NAT_X86_CPUID_H
+#define GDB_NAT_X86_CPUID_H
 
 /* Always include the header for the cpu bit defines.  */
 #include "x86-gcc-cpuid.h"
@@ -82,4 +82,4 @@ x86_cpuid_count (unsigned int __level, unsigned int __sublevel,
 #undef nullptr
 #endif
 
-#endif /* NAT_X86_CPUID_H */
+#endif /* GDB_NAT_X86_CPUID_H */
index 795cb112f88667d07c387b49f9a7182cd6f795ff..3dcbf8e3028c8fa1e29f0eb571d471cd3bb4eebf 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_X86_DREGS_H
-#define NAT_X86_DREGS_H
+#ifndef GDB_NAT_X86_DREGS_H
+#define GDB_NAT_X86_DREGS_H
 
 /* Support for hardware watchpoints and breakpoints using the x86
    debug registers.
@@ -133,4 +133,4 @@ extern int x86_dr_stopped_by_watchpoint (struct x86_debug_reg_state *state);
    triggered.  Otherwise return false.  */
 extern int x86_dr_stopped_by_hw_breakpoint (struct x86_debug_reg_state *state);
 
-#endif /* NAT_X86_DREGS_H */
+#endif /* GDB_NAT_X86_DREGS_H */
index dfd12587d813c3415a9a16d00507c123e5ccd78d..b0f2d239af3d4f227831e47a30855577cfcea7b3 100644 (file)
@@ -3,8 +3,8 @@
  * include this directly, but pull in x86-cpuid.h and use that func.
  */
 
-#ifndef NAT_X86_GCC_CPUID_H
-#define NAT_X86_GCC_CPUID_H
+#ifndef GDB_NAT_X86_GCC_CPUID_H
+#define GDB_NAT_X86_GCC_CPUID_H
 
 /*
  * Copyright (C) 2007-2024 Free Software Foundation, Inc.
@@ -273,4 +273,4 @@ __get_cpuid_count (unsigned int __leaf, unsigned int __subleaf,
   return 1;
 }
 
-#endif /* NAT_X86_GCC_CPUID_H */
+#endif /* GDB_NAT_X86_GCC_CPUID_H */
index 2b30c4a7a62e5fc9c11302f96c42dec56f7e542c..6f6a6e3d24e63feca3ac85f40ca0c641731b8019 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_X86_LINUX_DREGS_H
-#define NAT_X86_LINUX_DREGS_H
+#ifndef GDB_NAT_X86_LINUX_DREGS_H
+#define GDB_NAT_X86_LINUX_DREGS_H
 
 /* Return the address stored in the current inferior's debug register
    REGNUM.  */
@@ -50,4 +50,4 @@ extern unsigned long x86_linux_dr_get_status (void);
 
 extern void x86_linux_update_debug_registers (struct lwp_info *lwp);
 
-#endif /* NAT_X86_LINUX_DREGS_H */
+#endif /* GDB_NAT_X86_LINUX_DREGS_H */
index 69df930a0790aee1b5595f060944017332d9408f..2a2d8697cbe0dacc669bf6ecf6f4dccb9fe27235 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_X86_LINUX_TDESC_H
-#define NAT_X86_LINUX_TDESC_H
+#ifndef GDB_NAT_X86_LINUX_TDESC_H
+#define GDB_NAT_X86_LINUX_TDESC_H
 
 #include "gdbsupport/function-view.h"
 
@@ -47,4 +47,4 @@ struct x86_xsave_layout;
 extern const target_desc *x86_linux_tdesc_for_tid
   (int tid, uint64_t *xcr0_storage, x86_xsave_layout *xsave_layout_storage);
 
-#endif /* NAT_X86_LINUX_TDESC_H */
+#endif /* GDB_NAT_X86_LINUX_TDESC_H */
index 15153ea277eb329fd35891afbf2b7f41ada3f01d..7c0ac7718b6e1e7a3b8bafcaa2c0eca7fe56717a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_X86_LINUX_H
-#define NAT_X86_LINUX_H
+#ifndef GDB_NAT_X86_LINUX_H
+#define GDB_NAT_X86_LINUX_H
 
 #include "nat/linux-nat.h"
 
@@ -75,4 +75,4 @@ private:
 
 extern x86_linux_arch_size x86_linux_ptrace_get_arch_size (int tid);
 
-#endif /* NAT_X86_LINUX_H */
+#endif /* GDB_NAT_X86_LINUX_H */
index 199d39a521750d3a8b9f6f864b9f18248838cb99..14b58cd031207a097fa1cb29e9d0aa6398f20760 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NAT_X86_XSTATE_H
-#define NAT_X86_XSTATE_H
+#ifndef GDB_NAT_X86_XSTATE_H
+#define GDB_NAT_X86_XSTATE_H
 
 #include "gdbsupport/x86-xstate.h"
 
@@ -32,4 +32,4 @@ int x86_xsave_length ();
 
 x86_xsave_layout x86_fetch_xsave_layout (uint64_t xcr0, int len);
 
-#endif /* NAT_X86_XSTATE_H */
+#endif /* GDB_NAT_X86_XSTATE_H */
index a4d62848c51e9904d0830e37eabcd09a154efd41..18c360d7bdb2f70d7bfbbd66bfa2abd3eddbb435 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NDS32_TDEP_H
-#define NDS32_TDEP_H
+#ifndef GDB_NDS32_TDEP_H
+#define GDB_NDS32_TDEP_H
 
 #include "gdbarch.h"
 
@@ -53,4 +53,4 @@ struct nds32_gdbarch_tdep : gdbarch_tdep_base
   /* ELF ABI info.  */
   int elf_abi = 0;
 };
-#endif /* NDS32_TDEP_H */
+#endif /* GDB_NDS32_TDEP_H */
index 4895b088d131cb993ec739c04ad2ef7946390257..87e076f69e72b1c3326ccb32c397405d114da4e9 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NBSD_NAT_H
-#define NBSD_NAT_H
+#ifndef GDB_NETBSD_NAT_H
+#define GDB_NETBSD_NAT_H
 
 #include "inf-ptrace.h"
 
@@ -61,4 +61,4 @@ protected:
   void post_startup_inferior (ptid_t ptid) override;
 };
 
-#endif /* netbsd-nat.h */
+#endif /* GDB_NETBSD_NAT_H */
index 3a9d527ca816b79de3ecda9627bda713bb7e0034..2e2993ea5dce8d37aabcdb8b859a623f8ed730ef 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef NBSD_TDEP_H
-#define NBSD_TDEP_H
+#ifndef GDB_NETBSD_TDEP_H
+#define GDB_NETBSD_TDEP_H
 
 int nbsd_pc_in_sigtramp (CORE_ADDR, const char *);
 
@@ -44,4 +44,4 @@ extern void nbsd_info_proc_mappings_entry (int addr_bit, ULONGEST kve_start,
                                           int kve_flags, int kve_protection,
                                           const char *kve_path);
 
-#endif /* NBSD_TDEP_H */
+#endif /* GDB_NETBSD_TDEP_H */
index 879d7475d9d529e195f086ac8e141ddb7953a115..6a8dc39c53a104d7209273889a9293f2cbe1e66c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined(OBJC_LANG_H)
-#define OBJC_LANG_H
+#ifndef GDB_OBJC_LANG_H
+#define GDB_OBJC_LANG_H
 
 struct stoken;
 
@@ -48,4 +48,4 @@ struct symbol *lookup_struct_typedef (const char *name,
                                      const struct block *block,
                                      int noerr);
 
-#endif
+#endif /* GDB_OBJC_LANG_H */
index 43d888e2a5a3fbf0f673f07f6904910610ad6e0c..e0a84bcdc2e57497a6412c746480a6e4a3724a54 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (OBJFILE_FLAGS_H)
-#define OBJFILE_FLAGS_H
+#ifndef GDB_OBJFILE_FLAGS_H
+#define GDB_OBJFILE_FLAGS_H
 
 #include "gdbsupport/enum-flags.h"
 
@@ -60,4 +60,4 @@ enum objfile_flag : unsigned
 
 DEF_ENUM_FLAGS_TYPE (enum objfile_flag, objfile_flags);
 
-#endif /* !defined (OBJFILE_FLAGS_H) */
+#endif /* GDB_OBJFILE_FLAGS_H */
index 3e4b5727ee96bc75552f35ed4dffe74ac4c2dde9..4ac56d70741c8d70427ec66a3bbdb34e85133c75 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (OBJFILES_H)
-#define OBJFILES_H
+#ifndef GDB_OBJFILES_H
+#define GDB_OBJFILES_H
 
 #include "gdbsupport/gdb_obstack.h"
 #include "objfile-flags.h"
@@ -1061,4 +1061,4 @@ extern void objfile_register_static_link
 extern const struct dynamic_prop *objfile_lookup_static_link
   (struct objfile *objfile, const struct block *block);
 
-#endif /* !defined (OBJFILES_H) */
+#endif /* GDB_OBJFILES_H */
index 0811a82d85cac90caf8ee7a1fe49d4eccbc98f6a..35ee212e09f8c78aba1a2cdc0d336725747912b8 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef OBSD_NAT_H
-#define OBSD_NAT_H
+#ifndef GDB_OBSD_NAT_H
+#define GDB_OBSD_NAT_H
 
 #include "inf-ptrace.h"
 
@@ -41,4 +41,4 @@ protected:
   void post_startup_inferior (ptid_t) override;
 };
 
-#endif /* obsd-nat.h */
+#endif /* GDB_OBSD_NAT_H */
index 85cea7be7cf8ef14b68ee1fe0076a87c8f4fc770..c018513cb1bcd34af1a20346cfb78f23781ae1bf 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef OBSD_TDEP_H
-#define OBSD_TDEP_H 1
+#ifndef GDB_OBSD_TDEP_H
+#define GDB_OBSD_TDEP_H
 
 struct gdbarch;
 
 CORE_ADDR obsd_skip_solib_resolver (struct gdbarch *, CORE_ADDR);
 void obsd_init_abi (struct gdbarch_info, struct gdbarch *);
 
-#endif /* obsd-tdep.h */
+#endif /* GDB_OBSD_TDEP_H */
index 06c0cf1dae8d5ef8300e7ea81b3f0315003a1948..077014c8401fac20dd48d18ce530e9cea89d363c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef OBSERVABLE_H
-#define OBSERVABLE_H
+#ifndef GDB_OBSERVABLE_H
+#define GDB_OBSERVABLE_H
 
 #include "gdbsupport/observable.h"
 #include "target/waitstatus.h"
@@ -259,4 +259,4 @@ extern observable<bool /* enabled */> tui_enabled;
 
 } /* namespace gdb */
 
-#endif /* OBSERVABLE_H */
+#endif /* GDB_OBSERVABLE_H */
index 4e84e72c269dd47339e021aa8bdd5f7b701efbd2..b510f32d16e9cce24f0e2bf9dea9f637bfcd8f5c 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef OR1K_LINUX_TDEP_H
-#define OR1K_LINUX_TDEP_H
+#ifndef GDB_OR1K_LINUX_TDEP_H
+#define GDB_OR1K_LINUX_TDEP_H
 
 /* Target descriptions.  */
 extern struct target_desc *tdesc_or1k_linux;
 
-#endif /* OR1K_LINUX_TDEP_H */
+#endif /* GDB_OR1K_LINUX_TDEP_H */
index 6107cc4612c0cf21aa8bb611025c3e1b1d57da0a..f3072572e573303c9fe7eac59339e105362eb868 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License along
    With this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef OR1K_TDEP_H
-#define OR1K_TDEP_H
+#ifndef GDB_OR1K_TDEP_H
+#define GDB_OR1K_TDEP_H
 
 #ifndef TARGET_OR1K
 #define TARGET_OR1K
@@ -60,4 +60,4 @@ extern std::vector<CORE_ADDR> or1k_software_single_step
   (struct regcache *regcache);
 
 
-#endif /* OR1K_TDEP_H */
+#endif /* GDB_OR1K_TDEP_H */
index 2d828d54227594857374cf1156e8d6c603b888e5..982c7a747cd405cf8d96955e484586fbebed51d0 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef OSABI_H
-#define OSABI_H
+#ifndef GDB_OSABI_H
+#define GDB_OSABI_H
 
 #include "gdbsupport/osabi.h"
 
@@ -56,4 +56,4 @@ void generic_elf_osabi_sniff_abi_tag_sections (bfd *, asection *,
    which calls set_tdesc_osabi and an 'enum gdb_osabi' value is needed.  */
 const char *gdbarch_osabi_enum_name (enum gdb_osabi osabi);
 
-#endif /* OSABI_H */
+#endif /* GDB_OSABI_H */
index 09259b6c9ae1b412212548e0243681da8bbac90f..9de443ac4de62297309ad8d4939a74a216fc9409 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef OSDATA_H
-#define OSDATA_H
+#ifndef GDB_OSDATA_H
+#define GDB_OSDATA_H
 
 #include <vector>
 
@@ -57,4 +57,4 @@ const std::string *get_osdata_column (const osdata_item &item,
    available types of OS data.  */
 void info_osdata (const char *type);
 
-#endif /* OSDATA_H */
+#endif /* GDB_OSDATA_H */
index fe12e7cab33d6bc54d6a50d525ff1f4569409f36..abb981aeaed7f8f369305defa95d072248918e3a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef P_LANG_H
-#define P_LANG_H
+#ifndef GDB_P_LANG_H
+#define GDB_P_LANG_H
 
 /* This file is derived from c-lang.h */
 
@@ -252,4 +252,4 @@ private:
                                   struct type *type) const;
 };
 
-#endif /* P_LANG_H */
+#endif /* GDB_P_LANG_H */
index 9774a465ee2103d4affc54360d704c5946549a6e..eaa3c4111414e7d1198388cae4f3a882085a9510 100644 (file)
@@ -20,8 +20,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (PARSER_DEFS_H)
-#define PARSER_DEFS_H 1
+#ifndef GDB_PARSER_DEFS_H
+#define GDB_PARSER_DEFS_H
 
 #include "expression.h"
 #include "symtab.h"
@@ -389,4 +389,4 @@ extern bool fits_in_type (int n_sign, const gdb_mpz &n, int type_bits,
 
 extern void parser_fprintf (FILE *, const char *, ...) ATTRIBUTE_PRINTF (2, 3);
 
-#endif /* PARSER_DEFS_H */
+#endif /* GDB_PARSER_DEFS_H */
index b9c0e6bb3512c1658a565576af71dedcb1cdb10b..93ba9045f2ffce7aea8c6c86a2aa6006ee1dead4 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PPC_FBSD_TDEP_H
-#define PPC_FBSD_TDEP_H
+#ifndef GDB_PPC_FBSD_TDEP_H
+#define GDB_PPC_FBSD_TDEP_H
 
 struct regset;
 
@@ -26,4 +26,4 @@ struct regset;
 const struct regset *ppc_fbsd_gregset (int);
 const struct regset *ppc_fbsd_fpregset (void);
 
-#endif /* PPC_FBSD_TDEP_H  */
+#endif /* GDB_PPC_FBSD_TDEP_H */
index 8a0a59f2b70d2795b692e6113496649822eee8ae..a1db503c9f5522695a879fb9bd5c95d9a190d306 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PPC_LINUX_TDEP_H
-#define PPC_LINUX_TDEP_H
+#ifndef GDB_PPC_LINUX_TDEP_H
+#define GDB_PPC_LINUX_TDEP_H
 
 #include "ppc-tdep.h"
 
@@ -65,4 +65,4 @@ extern const struct regset ppc32_linux_cpprregset;
 extern const struct regset ppc32_linux_cdscrregset;
 extern const struct regset ppc32_linux_ctarregset;
 
-#endif /* PPC_LINUX_TDEP_H */
+#endif /* GDB_PPC_LINUX_TDEP_H */
index 6a92020f5ab292828ed560e1e9725778596bbe7b..47a8b25782a288069d006b50eca2851230b2aad1 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PPC_NBSD_TDEP_H
-#define PPC_NBSD_TDEP_H
+#ifndef GDB_PPC_NETBSD_TDEP_H
+#define GDB_PPC_NETBSD_TDEP_H
 
 struct regset;
 
@@ -29,4 +29,4 @@ extern struct ppc_reg_offsets ppcnbsd_reg_offsets;
 extern const struct regset ppcnbsd_gregset;
 extern const struct regset ppcnbsd_fpregset;
 
-#endif /* PPC_NBSD_TDEP_H */
+#endif /* GDB_PPC_NETBSD_TDEP_H */
index 70396abdf844690f08dffb51d4d30fbe0f4bf377..7f5e7b99850fe4359e5909a4dfba4a6d9b8c391e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PPC_OBSD_TDEP_H
-#define PPC_OBSD_TDEP_H
+#ifndef GDB_PPC_OBSD_TDEP_H
+#define GDB_PPC_OBSD_TDEP_H
 
 struct regset;
 struct regcache;
@@ -49,4 +49,4 @@ extern void ppcobsd_collect_gregset (const struct regset *regset,
                                     const struct regcache *regcache,
                                     int regnum, void *gregs, size_t len);
 
-#endif /* ppc-obsd-tdep.h */
+#endif /* GDB_PPC_OBSD_TDEP_H */
index 2b0916a916f889b6893b2d918d907b600a304f7c..c03fbd2ec52e70aa6acd22deb3735cfd71ea9b9f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PPC_RAVENSCAR_THREAD_H
-#define PPC_RAVENSCAR_THREAD_H
+#ifndef GDB_PPC_RAVENSCAR_THREAD_H
+#define GDB_PPC_RAVENSCAR_THREAD_H
 
 struct gdbarch;
 
@@ -26,4 +26,4 @@ extern void register_ppc_ravenscar_ops (struct gdbarch *gdbarch);
 
 extern void register_e500_ravenscar_ops (struct gdbarch *gdbarch);
 
-#endif
+#endif /* GDB_PPC_RAVENSCAR_THREAD_H */
index db31c7f199acf7cb6ff1a8dfd4979bc0b2fd4571..3176c155fe335869efe3d52ce53aa1acdbf3f60e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PPC_TDEP_H
-#define PPC_TDEP_H
+#ifndef GDB_PPC_TDEP_H
+#define GDB_PPC_TDEP_H
 
 #include "gdbarch.h"
 
@@ -458,4 +458,4 @@ extern const struct target_desc *tdesc_powerpc_vsx32;
 extern const struct target_desc *tdesc_powerpc_altivec64;
 extern const struct target_desc *tdesc_powerpc_altivec32;
 
-#endif /* ppc-tdep.h */
+#endif /* GDB_PPC_TDEP_H */
index ff0e3fdd033e5facbc2444de5926b2fbbb4e8226..7bea549dda06351cd5642882d5af39846c3010ab 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PPC64_TDEP_H
-#define PPC64_TDEP_H
+#ifndef GDB_PPC64_TDEP_H
+#define GDB_PPC64_TDEP_H
 
 struct gdbarch;
 class frame_info_ptr;
@@ -33,4 +33,4 @@ extern CORE_ADDR ppc64_convert_from_func_ptr_addr (struct gdbarch *gdbarch,
 
 extern void ppc64_elf_make_msymbol_special (asymbol *,
                                            struct minimal_symbol *);
-#endif /* PPC64_TDEP_H  */
+#endif /* GDB_PPC64_TDEP_H */
index 41e728ad049e03ec1e7a687775b0332b238489b8..00b3f9086b417d3afeeb21f65585ddbd0a9f7578 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (PROBE_H)
-#define PROBE_H 1
+#ifndef GDB_PROBE_H
+#define GDB_PROBE_H
 
 #include "symtab.h"
 
@@ -309,4 +309,4 @@ extern struct value *probe_safe_evaluate_at_pc (const frame_info_ptr &frame,
 
 bool ignore_probe_p (const char *provider, const char *name,
                     const char *objfile_name, const char *TYPE);
-#endif /* !defined (PROBE_H) */
+#endif /* GDB_PROBE_H */
index 8ef7d7ccd3451869abda8c61b1091ad3529a6687..5f8fe39f78f8634e4e5dcc6de47aa4fa4843c230 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PROC_UTILS_H
-#define PROC_UTILS_H
+#ifndef GDB_PROC_UTILS_H
+#define GDB_PROC_UTILS_H
 
 /* From proc-why.c */
 
@@ -117,4 +117,4 @@ extern  void  procfs_note      (const char *, const char *, int);
    word used to write to the /proc/PID/ctl file.  */
 typedef long procfs_ctl_t;
 
-#endif /* PROC_UTILS_H */
+#endif /* GDB_PROC_UTILS_H */
index 9aa9d874ecbbaa174f7e5c20756e477b170892c4..8a0e139cd0c2753f979e3b40516a48fb6dc80b9e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PROCESS_STRATUM_TARGET_H
-#define PROCESS_STRATUM_TARGET_H
+#ifndef GDB_PROCESS_STRATUM_TARGET_H
+#define GDB_PROCESS_STRATUM_TARGET_H
 
 #include "target.h"
 #include <set>
@@ -173,4 +173,4 @@ extern std::set<process_stratum_target *> all_non_exited_process_targets ();
 
 extern void switch_to_target_no_thread (process_stratum_target *target);
 
-#endif /* !defined (PROCESS_STRATUM_TARGET_H) */
+#endif /* GDB_PROCESS_STRATUM_TARGET_H */
index e0c1dd654cadb5329f1053b0afadbc030eb0511e..0dafb9a88b449f73eb5147f05d005f3b7c6338c1 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PROCFS_H
-#define PROCFS_H
+#ifndef GDB_PROCFS_H
+#define GDB_PROCFS_H
 
 /* Return a ptid for which we guarantee we will be able to find a
    'live' procinfo.  */
 
 extern ptid_t procfs_first_available (void);
 
-#endif /* PROCFS_H */
+#endif /* GDB_PROCFS_H */
index 84721bd2665120fd8bc732d916e9ed59dce85254..5cdb7ee3435b01d2bb020fece2dccac9c9de31c4 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PRODUCER_H
-#define PRODUCER_H
+#ifndef GDB_PRODUCER_H
+#define GDB_PRODUCER_H
 
 /* Check for GCC >= 4.x according to the symtab->producer string.  Return minor
    version (x) of 4.x in such case.  If it is not GCC or it is GCC older than
@@ -50,4 +50,4 @@ extern bool producer_is_llvm (const char *producer);
    Sets MAJOR and MINOR accordingly, if not NULL.  */
 extern bool producer_is_clang (const char *producer, int *major, int *minor);
 
-#endif
+#endif /* GDB_PRODUCER_H */
index fa512710a25c7a8c1b320a3b9ea2455cc6a20c4b..52c493bf687b5b047b595328501d8f433b87db3a 100644 (file)
@@ -16,8 +16,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef PROGSPACE_AND_THREAD_H
-#define PROGSPACE_AND_THREAD_H
+#ifndef GDB_PROGSPACE_AND_THREAD_H
+#define GDB_PROGSPACE_AND_THREAD_H
 
 #include "progspace.h"
 #include "gdbthread.h"
@@ -37,4 +37,4 @@ class scoped_restore_current_pspace_and_thread
    current thread, if there's one and it isn't executing.  */
 void switch_to_program_space_and_thread (program_space *pspace);
 
-#endif
+#endif /* GDB_PROGSPACE_AND_THREAD_H */
index d426dfaabf97a5a41822ee3bcc00ec8e9ff0f67e..7de970b385eb339249cf78876163b0ca68385727 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef PROGSPACE_H
-#define PROGSPACE_H
+#ifndef GDB_PROGSPACE_H
+#define GDB_PROGSPACE_H
 
 #include "target.h"
 #include "gdb_bfd.h"
@@ -424,4 +424,4 @@ extern address_space_ref_ptr maybe_new_address_space ();
    mappings.  */
 extern void update_address_spaces (void);
 
-#endif
+#endif /* GDB_PROGSPACE_H */
index ea784f90dd2cd40acf8b7f0312597b7405e344ff..39235d591fc5b076e2acab22aef65b333526dd52 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PROLOGUE_VALUE_H
-#define PROLOGUE_VALUE_H
+#ifndef GDB_PROLOGUE_VALUE_H
+#define GDB_PROLOGUE_VALUE_H
 
 /* What sort of value is this?  This determines the interpretation
    of subsequent fields.  */
@@ -327,4 +327,4 @@ private:
   struct area_entry *m_entry;
 };
 
-#endif /* PROLOGUE_VALUE_H */
+#endif /* GDB_PROLOGUE_VALUE_H */
index b23aadbf26a53cf36b02a6a20e41d7fb6dc18b00..411c95e8cda3db9422863b4e9fcd0e8a3ce9c6e8 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PSYMTAB_H
-#define PSYMTAB_H
+#ifndef GDB_PSYMTAB_H
+#define GDB_PSYMTAB_H
 
 #include "objfiles.h"
 #include <string_view>
@@ -688,4 +688,4 @@ private:
   std::shared_ptr<psymtab_storage> m_partial_symtabs;
 };
 
-#endif /* PSYMTAB_H */
+#endif /* GDB_PSYMTAB_H */
index a7238241f6842454e326487c83a56d3642198035..e4491db6361cc4c27c70563864c597ab79821cad 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PY_EVENT_H
-#define PYTHON_PY_EVENT_H
+#ifndef GDB_PYTHON_PY_EVENT_H
+#define GDB_PYTHON_PY_EVENT_H
 
 #include "py-events.h"
 #include "command.h"
@@ -85,4 +85,4 @@ extern int evpy_add_attribute (PyObject *event,
                               const char *name, PyObject *attr)
   CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION;
 
-#endif /* PYTHON_PY_EVENT_H */
+#endif /* GDB_PYTHON_PY_EVENT_H */
index e628e0fd63e866c8204196bdcec56e2035a249c7..b44c4371f2438c6aed29ff1ae68bb14a1dc1e857 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PY_EVENTS_H
-#define PYTHON_PY_EVENTS_H
+#ifndef GDB_PYTHON_PY_EVENTS_H
+#define GDB_PYTHON_PY_EVENTS_H
 
 #include "command.h"
 #include "python-internal.h"
@@ -54,4 +54,4 @@ extern events_object gdb_py_events;
 extern eventregistry_object *create_eventregistry_object (void);
 extern bool evregpy_no_listeners_p (eventregistry_object *registry);
 
-#endif /* PYTHON_PY_EVENTS_H */
+#endif /* GDB_PYTHON_PY_EVENTS_H */
index 85604de5188a25612de17760dfdc5d77b6220ecc..efbdda84bae6db51a4def4a687e62f45519c987b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PY_INSTRUCTION_H
-#define PYTHON_PY_INSTRUCTION_H
+#ifndef GDB_PYTHON_PY_INSTRUCTION_H
+#define GDB_PYTHON_PY_INSTRUCTION_H
 
 #include "python-internal.h"
 
@@ -32,4 +32,4 @@
 
 extern PyTypeObject *py_insn_get_insn_type ();
 
-#endif /* PYTHON_PY_INSTRUCTION_H */
+#endif /* GDB_PYTHON_PY_INSTRUCTION_H */
index 3be5860d2c460338b1a98d2faae1ef467c315482..30465bb798fa404ba03744056344688fc4507a48 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PY_RECORD_BTRACE_H
-#define PYTHON_PY_RECORD_BTRACE_H
+#ifndef GDB_PYTHON_PY_RECORD_BTRACE_H
+#define GDB_PYTHON_PY_RECORD_BTRACE_H
 
 #include "python-internal.h"
 
@@ -94,4 +94,4 @@ extern PyObject *recpy_bt_func_next (PyObject *self, void *closure);
 /* Implementation of RecordAuxiliary.decoded [str].  */
 extern PyObject *recpy_bt_aux_data (PyObject *self, void *closure);
 
-#endif /* PYTHON_PY_RECORD_BTRACE_H */
+#endif /* GDB_PYTHON_PY_RECORD_BTRACE_H */
index 7125e4eba05fe886c74513c7ba376ca7413a8110..df9577616025eb0ebe6af19b288fb760d65ea39b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PY_RECORD_FULL_H
-#define PYTHON_PY_RECORD_FULL_H
+#ifndef GDB_PYTHON_PY_RECORD_FULL_H
+#define GDB_PYTHON_PY_RECORD_FULL_H
 
 #include "python-internal.h"
 
@@ -28,4 +28,4 @@ extern PyObject *recpy_full_method (PyObject *self, void *value);
 /* Implementation of record.format [str].  */
 extern PyObject *recpy_full_format (PyObject *self, void *value);
 
-#endif /* PYTHON_PY_RECORD_FULL_H */
+#endif /* GDB_PYTHON_PY_RECORD_FULL_H */
index 0988584abeabc41c1b5bd686b37e5e3157b512c8..1492de6cee51accb9e9e5c445e6266395bb20065 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PY_RECORD_H
-#define PYTHON_PY_RECORD_H
+#ifndef GDB_PYTHON_PY_RECORD_H
+#define GDB_PYTHON_PY_RECORD_H
 
 #include "inferior.h"
 #include "python-internal.h"
@@ -78,4 +78,4 @@ extern PyObject *recpy_gap_new (int reason_code, const char *reason_string,
 extern PyObject *recpy_aux_new (thread_info *thread, enum record_method method,
                                Py_ssize_t number);
 
-#endif /* PYTHON_PY_RECORD_H */
+#endif /* GDB_PYTHON_PY_RECORD_H */
index 35029e8d673fdf2d6943dedacc857628a4abfbcf..938068e780324264053fd09dee6e6c7e9c2c8aa7 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PY_REF_H
-#define PYTHON_PY_REF_H
+#ifndef GDB_PYTHON_PY_REF_H
+#define GDB_PYTHON_PY_REF_H
 
 #include "gdbsupport/gdb_ref_ptr.h"
 
@@ -42,4 +42,4 @@ struct gdbpy_ref_policy
 template<typename T = PyObject> using gdbpy_ref
   = gdb::ref_ptr<T, gdbpy_ref_policy<T>>;
 
-#endif /* PYTHON_PY_REF_H */
+#endif /* GDB_PYTHON_PY_REF_H */
index 6cae0a729dbb350acf59588963eafa822d52f734..450d8c23b4a06383d26465104d8c1ebe743da0f0 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PY_STOPEVENT_H
-#define PYTHON_PY_STOPEVENT_H
+#ifndef GDB_PYTHON_PY_STOPEVENT_H
+#define GDB_PYTHON_PY_STOPEVENT_H
 
 #include "py-event.h"
 
@@ -35,4 +35,4 @@ extern gdbpy_ref<> create_breakpoint_event_object (const gdbpy_ref<> &dict,
 extern gdbpy_ref<> create_signal_event_object (const gdbpy_ref<> &dict,
                                               enum gdb_signal stop_signal);
 
-#endif /* PYTHON_PY_STOPEVENT_H */
+#endif /* GDB_PYTHON_PY_STOPEVENT_H */
index a3a7294c303bb4cbd228283b196e20ddeb56e68d..c48f260c15fddbe06f28e23b33b5e78c6174c25c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PYTHON_INTERNAL_H
-#define PYTHON_PYTHON_INTERNAL_H
+#ifndef GDB_PYTHON_PYTHON_INTERNAL_H
+#define GDB_PYTHON_PYTHON_INTERNAL_H
 
 #include "extension.h"
 #include "extension-priv.h"
@@ -1145,4 +1145,4 @@ gdbpy_type_ready (PyTypeObject *type, PyObject *mod = nullptr)
 # define PyType_Ready POISONED_PyType_Ready
 #endif
 
-#endif /* PYTHON_PYTHON_INTERNAL_H */
+#endif /* GDB_PYTHON_PYTHON_INTERNAL_H */
index e6279482ce04155f86cca3acefcfbce8c163b45c..e8032853e8e5aef0d60337a39e4bdc45e64b15a4 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PYTHON_PYTHON_H
-#define PYTHON_PYTHON_H
+#ifndef GDB_PYTHON_PYTHON_H
+#define GDB_PYTHON_PYTHON_H
 
 #include "extension.h"
 
@@ -34,4 +34,4 @@ extern cmd_list_element *python_cmd_element;
    at other times.  */
 extern struct objfile *gdbpy_current_objfile;
 
-#endif /* PYTHON_PYTHON_H */
+#endif /* GDB_PYTHON_PYTHON_H */
index 32c31269225fadf207b14f0b546a8c43e1597658..046b3575e7f9dd82e70781ae4d23b033a293ed18 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RAVENSCAR_THREAD_H
-#define RAVENSCAR_THREAD_H
+#ifndef GDB_RAVENSCAR_THREAD_H
+#define GDB_RAVENSCAR_THREAD_H
 
 /* Architecture-specific hooks.  */
 
@@ -130,4 +130,4 @@ private:
   CORE_ADDR get_stack_base (struct regcache *) const;
 };
 
-#endif /* !defined (RAVENSCAR_THREAD_H) */
+#endif /* GDB_RAVENSCAR_THREAD_H */
index b6e6c4df03025cb37dfa70497d2a2f1e3aac83cc..5ab3208f6597b3bed3fc2c4f99e3c60e1fd83939 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RECORD_BTRACE_H
-#define RECORD_BTRACE_H
+#ifndef GDB_RECORD_BTRACE_H
+#define GDB_RECORD_BTRACE_H
 
 /* Push the record_btrace target.  */
 extern void record_btrace_push_target (void);
@@ -29,4 +29,4 @@ extern void record_btrace_push_target (void);
    NULL if the cpu was configured as auto.  */
 extern const struct btrace_cpu *record_btrace_get_cpu (void);
 
-#endif /* RECORD_BTRACE_H */
+#endif /* GDB_RECORD_BTRACE_H */
index 07f97d241a21b0f7b1bfff260717108df4e58b38..0852d2a73ef7c86d4dc9da00d4803adc4a0f98cb 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RECORD_FULL_H
-#define RECORD_FULL_H
+#ifndef GDB_RECORD_FULL_H
+#define GDB_RECORD_FULL_H
 
 #include "gdbsupport/scoped_restore.h"
 
@@ -36,4 +36,4 @@ extern bool record_full_is_replaying ();
 
 extern scoped_restore_tmpl<int> record_full_gdb_operation_disable_set ();
 
-#endif /* RECORD_FULL_H */
+#endif /* GDB_RECORD_FULL_H */
index aea6507c9471a1bc329ade1b732e799a2a4d8067..524d3506f2c08cf743de5411bacbacaca2e1300a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RECORD_H
-#define RECORD_H
+#ifndef GDB_RECORD_H
+#define GDB_RECORD_H
 
 #include "target/waitstatus.h"
 #include "gdbsupport/enum-flags.h"
@@ -117,4 +117,4 @@ extern void record_start (const char *method, const char *format,
 /* Stop recording.  Throw on failure.  */
 extern void record_stop (int from_tty);
 
-#endif /* RECORD_H */
+#endif /* GDB_RECORD_H */
index 7123698fb3bb47d5d33cc37184641701ece3eefb..71f17b349c9dcb1149cd8d4802dfd0b6a3c21915 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef REGCACHE_H
-#define REGCACHE_H
+#ifndef GDB_REGCACHE_H
+#define GDB_REGCACHE_H
 
 #include "gdbsupport/array-view.h"
 #include "gdbsupport/common-regcache.h"
@@ -557,4 +557,4 @@ protected:
   gdbarch *m_gdbarch;
 };
 
-#endif /* REGCACHE_H */
+#endif /* GDB_REGCACHE_H */
index 0ba7a08bb0c57ae0866854fd3e4b16804226fd70..8715229fcdbdfd4ab8bab6b6d2943a5e099e3ce6 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef REGFORMATS_REGDEF_H
-#define REGFORMATS_REGDEF_H
+#ifndef GDB_REGFORMATS_REGDEF_H
+#define GDB_REGFORMATS_REGDEF_H
 
 namespace gdb {
 
@@ -64,4 +64,4 @@ struct reg
 
 } /* namespace gdb */
 
-#endif /* REGFORMATS_REGDEF_H */
+#endif /* GDB_REGFORMATS_REGDEF_H */
index 1be1f0ad613dc37e189d282f0b45996e0e2707d9..24f81e4675be4a1893c232466a92f234a7f33b29 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef REGGROUPS_H
-#define REGGROUPS_H
+#ifndef GDB_REGGROUPS_H
+#define GDB_REGGROUPS_H
 
 struct gdbarch;
 
@@ -98,4 +98,4 @@ extern const reggroup *reggroup_find (struct gdbarch *gdbarch,
 extern int default_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
                                        const struct reggroup *reggroup);
 
-#endif
+#endif /* GDB_REGGROUPS_H */
index b6b941f56fd3e331090b674aa301a64ad31ce23e..32216545cb0fa1b11404972ccc1dccfd6ae1fb59 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef REGISTRY_H
-#define REGISTRY_H
+#ifndef GDB_REGISTRY_H
+#define GDB_REGISTRY_H
 
 #include <type_traits>
 
@@ -225,4 +225,4 @@ private:
   }
 };
 
-#endif /* REGISTRY_H */
+#endif /* GDB_REGISTRY_H */
index 5fab2e16d9cc74f821b3bac100e20eddb2452888..44eaf1406bc187a19b302f6eb9ac62467148ee3f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef REGSET_H
-#define REGSET_H 1
+#ifndef GDB_REGSET_H
+#define GDB_REGSET_H
 
 struct gdbarch;
 struct regcache;
@@ -52,4 +52,4 @@ struct regset
 #define REGSET_VARIABLE_SIZE 1 /* Accept a larger regset section size
                                   in a core file without warning.  */
 
-#endif /* regset.h */
+#endif /* GDB_REGSET_H */
index 479dc46888ee157ac49cff7e5fa463701b54c77d..d406895bc7ee82b8e464ca49c336d55a54b0fd3b 100644 (file)
@@ -19,8 +19,8 @@
 
 /* See the GDB User Guide for details of the GDB remote protocol.  */
 
-#ifndef REMOTE_FILEIO_H
-#define REMOTE_FILEIO_H
+#ifndef GDB_REMOTE_FILEIO_H
+#define GDB_REMOTE_FILEIO_H
 
 #include "gdbsupport/fileio.h"
 
@@ -44,4 +44,4 @@ extern void initialize_remote_fileio (
 extern void remote_fileio_to_host_stat (struct fio_stat *fst,
                                        struct stat *st);
 
-#endif
+#endif /* GDB_REMOTE_FILEIO_H */
index 4c5b50a0d12bb2a3221376862e25aaf7217a6d1b..cca26b09f95e3175da2246aa4b482015fc7c8c8d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef REMOTE_NOTIF_H
-#define REMOTE_NOTIF_H
+#ifndef GDB_REMOTE_NOTIF_H
+#define GDB_REMOTE_NOTIF_H
 
 #include <list>
 #include <memory>
@@ -131,4 +131,4 @@ extern const notif_client notif_client_stop;
 
 extern bool notif_debug;
 
-#endif /* REMOTE_NOTIF_H */
+#endif /* GDB_REMOTE_NOTIF_H */
index bfe3c65b4637bfcb59d86b9c4d611ebdd1301181..e0335dfe66f3b85f2fc3801c1319f5711618650a 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef REMOTE_H
-#define REMOTE_H
+#ifndef GDB_REMOTE_H
+#define GDB_REMOTE_H
 
 #include "remote-notif.h"
 
@@ -126,4 +126,4 @@ extern bool is_remote_target (process_stratum_target *target);
 
 extern bool remote_register_is_expedited (int regnum);
 
-#endif
+#endif /* GDB_REMOTE_H */
index c797b231a8ea00a9fa84163e0e1a1e74f1533386..22ae08d3678ca7d5236e35b55616cac274e2ec6b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RISCV_FBSD_TDEP_H
-#define RISCV_FBSD_TDEP_H
+#ifndef GDB_RISCV_FBSD_TDEP_H
+#define GDB_RISCV_FBSD_TDEP_H
 
 #include "regset.h"
 
@@ -35,4 +35,4 @@
 extern const struct regset riscv_fbsd_gregset;
 extern const struct regset riscv_fbsd_fpregset;
 
-#endif /* RISCV_FBSD_TDEP_H */
+#endif /* GDB_RISCV_FBSD_TDEP_H */
index a586a85583a4e3a14dc1fee9f504e6db74f5d76b..8773043801787a5c0ffcdb675d87755f709d4330 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RISCV_RAVENSCAR_THREAD_H
-#define RISCV_RAVENSCAR_THREAD_H
+#ifndef GDB_RISCV_RAVENSCAR_THREAD_H
+#define GDB_RISCV_RAVENSCAR_THREAD_H
 
 struct gdbarch;
 
 extern void register_riscv_ravenscar_ops (struct gdbarch *gdbarch);
 
-#endif
+#endif /* GDB_RISCV_RAVENSCAR_THREAD_H */
index 4bdc2e7a3d5dddae19aae8d3bdc56d56717632d0..15c2c4cafcb2e9ce19e4955cba17f5203b1fdd04 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RISCV_TDEP_H
-#define RISCV_TDEP_H
+#ifndef GDB_RISCV_TDEP_H
+#define GDB_RISCV_TDEP_H
 
 #include "arch/riscv.h"
 #include "gdbarch.h"
@@ -180,4 +180,4 @@ extern void riscv_supply_regset (const struct regset *regset,
 /* The names of the RISC-V target description features.  */
 extern const char *riscv_feature_name_csr;
 
-#endif /* RISCV_TDEP_H */
+#endif /* GDB_RISCV_TDEP_H */
index 52cffc310843594673de1aebfbd288a76dc4ef39..5e4f7865ac6543178db4f569f0ead177330b52d5 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RS6000_AIX_TDEP_H
-#define RS6000_AIX_TDEP_H
+#ifndef GDB_RS6000_AIX_TDEP_H
+#define GDB_RS6000_AIX_TDEP_H
 
 extern ULONGEST rs6000_aix_ld_info_to_xml (struct gdbarch *gdbarch,
                                           const gdb_byte *ldi_buf,
@@ -25,4 +25,4 @@ extern ULONGEST rs6000_aix_ld_info_to_xml (struct gdbarch *gdbarch,
                                           ULONGEST len,
                                           int close_ldinfo_fd);
 
-#endif /* RS6000_AIX_TDEP_H */
+#endif /* GDB_RS6000_AIX_TDEP_H */
index f5c5904cfb4553e85c7c8dfd63df0e2149e13e6d..e0496e1a0509d81c5964a7023b550e0a63b649f5 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RUST_EXP_H
-#define RUST_EXP_H
+#ifndef GDB_RUST_EXP_H
+#define GDB_RUST_EXP_H
 
 #include "expop.h"
 
@@ -226,4 +226,4 @@ public:
 
 } /* namespace expr */
 
-#endif /* RUST_EXP_H */
+#endif /* GDB_RUST_EXP_H */
index 866d1ac1f6d7d1524ce0d849d7177acaa8777b43..c3369a0223ab724ba0fa836f45817d687ee4bbde 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef RUST_LANG_H
-#define RUST_LANG_H
+#ifndef GDB_RUST_LANG_H
+#define GDB_RUST_LANG_H
 
 #include "demangle.h"
 #include "language.h"
@@ -228,4 +228,4 @@ private:
                   const struct value_print_options *options) const;
 };
 
-#endif /* RUST_LANG_H */
+#endif /* GDB_RUST_LANG_H */
index 2f9741dca965fd1e403b9ac0fed4f4dd779dfeaa..b2efb5b1d2f58af07471f023f538c95231968f67 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef S390_LINUX_TDEP_H
-#define S390_LINUX_TDEP_H
+#ifndef GDB_S390_LINUX_TDEP_H
+#define GDB_S390_LINUX_TDEP_H
 
 #define S390_IS_GREGSET_REGNUM(i)                                      \
   (((i) >= S390_PSWM_REGNUM && (i) <= S390_A15_REGNUM)                 \
@@ -64,4 +64,4 @@ extern const struct target_desc *tdesc_s390x_vx_linux64;
 extern const struct target_desc *tdesc_s390x_tevx_linux64;
 extern const struct target_desc *tdesc_s390x_gs_linux64;
 
-#endif /* S390_LINUX_TDEP_H */
+#endif /* GDB_S390_LINUX_TDEP_H */
index 10f775f468f84bbc3bc84c0710aa938477f4b663..bfcb8f17c5646c8b8eb6b3fd03703afc2537c1ed 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef S390_TDEP_H
-#define S390_TDEP_H
+#ifndef GDB_S390_TDEP_H
+#define GDB_S390_TDEP_H
 
 #include "prologue-value.h"
 #include "gdbarch.h"
@@ -322,4 +322,4 @@ extern struct value *s390_trad_frame_prev_register
 extern const struct target_desc *tdesc_s390_linux32;
 extern const struct target_desc *tdesc_s390x_linux64;
 
-#endif /* S390_TDEP_H */
+#endif /* GDB_S390_TDEP_H */
index 2446e9ad41b0c8eb6a256b26324e8126bd7e0d43..6fd83da46799a501bcf30b981001ce85835b315b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SCOPED_MOCK_CONTEXT_H
-#define SCOPED_MOCK_CONTEXT_H
+#ifndef GDB_SCOPED_MOCK_CONTEXT_H
+#define GDB_SCOPED_MOCK_CONTEXT_H
 
 #include "inferior.h"
 #include "gdbthread.h"
@@ -78,4 +78,4 @@ struct scoped_mock_context
 } // namespace selftests
 #endif /* GDB_SELF_TEST */
 
-#endif /* !defined (SCOPED_MOCK_CONTEXT_H) */
+#endif /* GDB_SCOPED_MOCK_CONTEXT_H */
index 84494076bd7a77f781875f80805a72c95839cf9e..db11723395e726f284ff05b8310471a1acbdc776 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SELFTEST_ARCH_H
-#define SELFTEST_ARCH_H
+#ifndef GDB_SELFTEST_ARCH_H
+#define GDB_SELFTEST_ARCH_H
 
 typedef void self_test_foreach_arch_function (struct gdbarch *);
 
@@ -31,4 +31,4 @@ extern void
                              self_test_foreach_arch_function *function);
 }
 
-#endif /* SELFTEST_ARCH_H */
+#endif /* GDB_SELFTEST_ARCH_H */
index 1a37ff1f49ace28be17e72b6b5a8f36ea83e05fa..36bee59f0f0844bfa57a4498d62da62486acd045 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (SENTINEL_FRAME_H)
-#define SENTINEL_FRAME_H 1
+#ifndef GDB_SENTINEL_FRAME_H
+#define GDB_SENTINEL_FRAME_H
 
 struct frame_unwind;
 struct regcache;
@@ -36,4 +36,4 @@ extern void *sentinel_frame_cache (struct regcache *regcache);
 
 extern const struct frame_unwind sentinel_frame_unwind;
 
-#endif /* !defined (SENTINEL_FRAME_H)  */
+#endif /* GDB_SENTINEL_FRAME_H */
index 37fe0a2e5f5e4f592e2342438e58c50124767828..ecb7c99ea62965a16008f0773ede87e5faafd5d0 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SER_BASE_H
-#define SER_BASE_H
+#ifndef GDB_SER_BASE_H
+#define GDB_SER_BASE_H
 
 #include "serial.h"
 
@@ -50,4 +50,4 @@ extern void ser_base_write (struct serial *scb, const void *buf, size_t count);
 extern void ser_base_async (struct serial *scb, int async_p);
 extern int ser_base_readchar (struct serial *scb, int timeout);
 
-#endif
+#endif /* GDB_SER_BASE_H */
index 2c0a59df5df139de09a6fdf80c2b6292c00bbc6e..08fc62b29ab676d2f57c587a96bbb2d75aaacc1e 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SER_EVENT_H
-#define SER_EVENT_H
+#ifndef GDB_SER_EVENT_H
+#define GDB_SER_EVENT_H
 
 /* This is used to be able to signal the event loop (or any other
    select/poll) of events, in a race-free manner.
@@ -48,4 +48,4 @@ extern void serial_event_set (struct serial_event *event);
    call is made.  */
 extern void serial_event_clear (struct serial_event *event);
 
-#endif
+#endif /* GDB_SER_EVENT_H */
index 6ff3662cefd9f328a0eb822f23976ebfc713f59e..a1ebcf3c2a861f372b09d15474351fd033cc49a9 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SER_TCP_H
-#define SER_TCP_H
+#ifndef GDB_SER_TCP_H
+#define GDB_SER_TCP_H
 
 struct serial;
 
@@ -28,4 +28,4 @@ extern int net_read_prim (struct serial *scb, size_t count);
 extern int net_write_prim (struct serial *scb, const void *buf, size_t count);
 extern void ser_tcp_send_break (struct serial *scb);
 
-#endif
+#endif /* GDB_SER_TCP_H */
index 253c95b24c0dc45e0966f7b19e8b4f2d1203ae36..487921f8d53c5f971d46ada5c7560f4beea9fe85 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SER_UNIX_H
-#define SER_UNIX_H
+#ifndef GDB_SER_UNIX_H
+#define GDB_SER_UNIX_H
 
 extern int ser_unix_read_prim (struct serial *scb, size_t count);
 extern int ser_unix_write_prim (struct serial *scb, const void *buf, 
                                size_t count);
 
-#endif
+#endif /* GDB_SER_UNIX_H */
index 69507e6929565cb591d4c98ec091e9d0379322f1..017b8904c35184548a11f633adce8845b86ea6f7 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SERIAL_H
-#define SERIAL_H
+#ifndef GDB_SERIAL_H
+#define GDB_SERIAL_H
 
 #ifdef USE_WIN32API
 #include <winsock2.h>
@@ -326,4 +326,4 @@ extern void serial_done_wait_handle (struct serial *);
 
 #endif /* USE_WIN32API */
 
-#endif /* SERIAL_H */
+#endif /* GDB_SERIAL_H */
index 1b1f019920af3198a65dc5f38e06523ab12810d7..dd524406b259459e8ca5adc6eb8f1bd21bbbf6ee 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SH_TDEP_H
-#define SH_TDEP_H
+#ifndef GDB_SH_TDEP_H
+#define GDB_SH_TDEP_H
 
 #include "gdbarch.h"
 
@@ -115,4 +115,4 @@ void sh_corefile_supply_regset (const struct regset *regset,
 void sh_corefile_collect_regset (const struct regset *regset,
                                 const struct regcache *regcache,
                                 int regnum, void *regs, size_t len);
-#endif /* SH_TDEP_H */
+#endif /* GDB_SH_TDEP_H */
index 7f8f9422a02de4f7e3d68a8a4646b5ccd8187b77..76ecfeae3d9b5b5b90bd7adf445293ba6e8c5e9d 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SIM_REGNO_H
-#define SIM_REGNO_H
+#ifndef GDB_SIM_REGNO_H
+#define GDB_SIM_REGNO_H
 
 /* The gdbarch_register_sim_regno (REGNUM) method, when there is a
    corresponding simulator register, returns that register number as a
@@ -40,4 +40,4 @@ enum sim_regno {
 
 extern int one2one_register_sim_regno (struct gdbarch *gdbarch, int regnum);
 
-#endif
+#endif /* GDB_SIM_REGNO_H */
index c3e6cbf98ba6372feaefa4edc5f93f0721aaa11f..5625a7962fcf53426d46a0a872880898c8e27306 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (SKIP_H)
-#define SKIP_H
+#ifndef GDB_SKIP_H
+#define GDB_SKIP_H
 
 struct symtab_and_line;
 
@@ -25,4 +25,4 @@ struct symtab_and_line;
 bool function_name_is_marked_for_skip (const char *function_name,
                                       const symtab_and_line &function_sal);
 
-#endif /* !defined (SKIP_H) */
+#endif /* GDB_SKIP_H */
index a189666f05ee5f6f7a4f1568a2ea94db5ee4f2e6..8e505d30e0e930321d9f8657793306e3484a169e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOL2_TDEP_H
-#define SOL2_TDEP_H 1
+#ifndef GDB_SOL2_TDEP_H
+#define GDB_SOL2_TDEP_H
 
 struct gdbarch;
 
@@ -26,4 +26,4 @@ int sol2_sigtramp_p (const frame_info_ptr &this_frame);
 
 void sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch);
 
-#endif /* sol2-tdep.h */
+#endif /* GDB_SOL2_TDEP_H */
index 6487460b04c3b2894b925410390845c3a3fba3e2..79cad4dcdee7eefd15d125dca8201454f90b2e57 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOLIB_AIX_H
-#define SOLIB_AIX_H
+#ifndef GDB_SOLIB_AIX_H
+#define GDB_SOLIB_AIX_H
 
 struct solib_ops;
 extern const solib_ops solib_aix_so_ops;
 
 extern CORE_ADDR solib_aix_get_toc_value (CORE_ADDR pc);
 
-#endif
+#endif /* GDB_SOLIB_AIX_H */
index d6be9eb5b426798d7d7f8e1ce2aeb834ce72bf8d..d62d6805137acb16498120490073a8e3c92cc0cc 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOLIB_DARWIN_H
-#define SOLIB_DARWIN_H
+#ifndef GDB_SOLIB_DARWIN_H
+#define GDB_SOLIB_DARWIN_H
 
 struct solib_ops;
 
 extern const solib_ops darwin_so_ops;
 
-#endif /* solib-darwin.h */
+#endif /* GDB_SOLIB_DARWIN_H */
index e1f7d14384823fa05198e5e1fcb2d68634a9c3a5..2777939f7f996dcfe94621682373e462eaf66073 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOLIB_DSBT_H
-#define SOLIB_DSBT_H
+#ifndef GDB_SOLIB_DSBT_H
+#define GDB_SOLIB_DSBT_H
 
 struct solib_ops;
 
 extern const solib_ops dsbt_so_ops;
 
-#endif /* solib-dsbt.h */
+#endif /* GDB_SOLIB_DSBT_H */
index 579fe6d984392bb5086e9e70ae15b05c9e024555..37cdaff4882ef5e0f773331e15296959ad84f827 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOLIB_SVR4_H
-#define SOLIB_SVR4_H
+#ifndef GDB_SOLIB_SVR4_H
+#define GDB_SOLIB_SVR4_H
 
 #include "solist.h"
 
@@ -112,4 +112,4 @@ extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void);
    SVR4 run time loader.  */
 int svr4_in_dynsym_resolve_code (CORE_ADDR pc);
 
-#endif /* solib-svr4.h */
+#endif /* GDB_SOLIB_SVR4_H */
index 70f53c5455323942bb7de39bbb315a9b2a50213a..f03e221588eb7febf3bdaad95a4d76803586b3d7 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOLIB_TARGET_H
-#define SOLIB_TARGET_H
+#ifndef GDB_SOLIB_TARGET_H
+#define GDB_SOLIB_TARGET_H
 
 struct solib_ops;
 extern const solib_ops solib_target_so_ops;
 
-#endif /* solib-target.h */
+#endif /* GDB_SOLIB_TARGET_H */
index eacff65f9a6d4e0f32a636e691404016f928c62a..577bcae7e955c368f6f02e4c918100ecb4f65264 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOLIB_H
-#define SOLIB_H
+#ifndef GDB_SOLIB_H
+#define GDB_SOLIB_H
 
 /* Forward decl's for prototypes */
 struct solib;
@@ -136,4 +136,4 @@ extern void update_solib_breakpoints (void);
 
 extern void handle_solib_event (void);
 
-#endif /* SOLIB_H */
+#endif /* GDB_SOLIB_H */
index 8ad0aefd9e32b264b08a853eb3577829a8e74767..9a157a4bbae111b7a26943941d6a055b7e8f0f11 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOLIST_H
-#define SOLIST_H
+#ifndef GDB_SOLIST_H
+#define GDB_SOLIST_H
 
 #define SO_NAME_MAX_PATH_SIZE 512      /* FIXME: Should be dynamic */
 
@@ -204,4 +204,4 @@ extern gdb_bfd_ref_ptr solib_bfd_open (const char *in_pathname);
    unable to find an address within the library SO.  */
 extern std::optional<CORE_ADDR> default_find_solib_addr (solib &so);
 
-#endif
+#endif /* GDB_SOLIST_H */
index d4cb7d00ae82f0c65bb4d6357dd8019618ee45e8..35eeb1cb204710d375469b3e4e7b483cefce355c 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOURCE_CACHE_H
-#define SOURCE_CACHE_H
+#ifndef GDB_SOURCE_CACHE_H
+#define GDB_SOURCE_CACHE_H
 
 #include <unordered_map>
 #include <unordered_set>
@@ -104,4 +104,4 @@ private:
 /* The global source cache.  */
 extern source_cache g_source_cache;
 
-#endif /* SOURCE_CACHE_H */
+#endif /* GDB_SOURCE_CACHE_H */
index f56e7b5eb3d6861a07fbd24952a5693dd7a827c5..8ff1ebd330798bbdb6d72e9238b799bc5fda5835 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SOURCE_H
-#define SOURCE_H
+#ifndef GDB_SOURCE_H
+#define GDB_SOURCE_H
 
 #include "gdbsupport/pathstuff.h"
 #include "gdbsupport/scoped_fd.h"
@@ -223,4 +223,4 @@ extern void forget_cached_source_info (void);
    need to would make things slower than necessary.  */
 extern void select_source_symtab ();
 
-#endif
+#endif /* GDB_SOURCE_H */
index 29d994c2a41ecb495cb71b831bc89c6fb8ec9cbc..712c9d0ac1230d43d18df2d79bfd87b97f399419 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SPARC_NAT_H
-#define SPARC_NAT_H 1
+#ifndef GDB_SPARC_NAT_H
+#define GDB_SPARC_NAT_H
 
 #include "target.h"
 
@@ -82,4 +82,4 @@ struct sparc_target : public BaseTarget
   }
 };
 
-#endif /* sparc-nat.h */
+#endif /* GDB_SPARC_NAT_H */
index d45f6ba8ba5264d750f86d10af5379d5f9bb692c..5f2749f5cd542a819beb889df573b671a15d0209 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SPARC_RAVENSCAR_THREAD_H
-#define SPARC_RAVENSCAR_THREAD_H
+#ifndef GDB_SPARC_RAVENSCAR_THREAD_H
+#define GDB_SPARC_RAVENSCAR_THREAD_H
 
 struct gdbarch;
 
 extern void register_sparc_ravenscar_ops (struct gdbarch *gdbarch);
-#endif
+#endif /* GDB_SPARC_RAVENSCAR_THREAD_H */
index 2d8c50768be040dd01feb5e76d6ba0907e0d09bb..4fd7e6b0f741ab3fa6dc1e35db91d9bac367f151 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SPARC_TDEP_H
-#define SPARC_TDEP_H 1
+#ifndef GDB_SPARC_TDEP_H
+#define GDB_SPARC_TDEP_H
 
 #include "gdbarch.h"
 
@@ -264,4 +264,4 @@ extern void sparc32nbsd_init_abi (struct gdbarch_info info,
 extern struct trad_frame_saved_reg *
   sparc32nbsd_sigcontext_saved_regs (const frame_info_ptr &next_frame);
 
-#endif /* sparc-tdep.h */
+#endif /* GDB_SPARC_TDEP_H */
index 6fcd91ee8d35f9114de8c06be718121d037641f8..a19af4a1b5d8153137f5bc902ee5d276f9e9e465 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SPARC64_TDEP_H
-#define SPARC64_TDEP_H 1
+#ifndef GDB_SPARC64_TDEP_H
+#define GDB_SPARC64_TDEP_H
 
 class frame_info_ptr;
 struct gdbarch;
@@ -137,4 +137,4 @@ extern const struct sparc_fpregmap sparc64_bsd_fpregmap;
 
 extern void sparc64_forget_process (pid_t pid);
 
-#endif /* sparc64-tdep.h */
+#endif /* GDB_SPARC64_TDEP_H */
index 7d8a9ccbde306cead6732981e9ed8ff8728c8954..a88b593b4436f94e423d2b324c0c11ec44189721 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef STABSREAD_H
-#define STABSREAD_H
+#ifndef GDB_STABSREAD_H
+#define GDB_STABSREAD_H
 
 struct objfile;
 struct legacy_psymtab;
@@ -305,4 +305,4 @@ struct symloc
     int file_string_offset;
     enum language pst_language;
   };
-#endif /* STABSREAD_H */
+#endif /* GDB_STABSREAD_H */
index e7242c710367d935145a453e143e4225a3835a2d..e87ba322deec025066f7839473a765483c43e5ac 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef STACK_H
-#define STACK_H
+#ifndef GDB_STACK_H
+#define GDB_STACK_H
 
 gdb::unique_xmalloc_ptr<char> find_frame_funname (const frame_info_ptr &frame,
                                                  enum language *funlang,
@@ -84,4 +84,4 @@ void frame_apply_all_cmd_completer (struct cmd_list_element *ignore,
                                    completion_tracker &tracker,
                                    const char *text, const char */*word*/);
 
-#endif /* #ifndef STACK_H */
+#endif /* GDB_STACK_H */
index 1401b876ba7af18b2b899b6731ba8dc2aea16ce9..e757d80ef389195e432a281a8eadfc11cc2b0cf5 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (STAP_PROBE_H)
-#define STAP_PROBE_H 1
+#ifndef GDB_STAP_PROBE_H
+#define GDB_STAP_PROBE_H
 
 #include "parser-defs.h"
 
@@ -66,4 +66,4 @@ struct stap_parse_info
   int inside_paren_p;
 };
 
-#endif /* !defined (STAP_PROBE_H) */
+#endif /* GDB_STAP_PROBE_H */
index 19dd5e3690737374e89b7a22e2c4ce6e84d0d541..3db532cc86b7bc48431083a4bce5ab73c52480dd 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (SYMFILE_ADD_FLAGS_H)
-#define SYMFILE_ADD_FLAGS_H
+#ifndef GDB_SYMFILE_ADD_FLAGS_H
+#define GDB_SYMFILE_ADD_FLAGS_H
 
 #include "gdbsupport/enum-flags.h"
 
@@ -54,4 +54,4 @@ enum symfile_add_flag : unsigned
 
 DEF_ENUM_FLAGS_TYPE (enum symfile_add_flag, symfile_add_flags);
 
-#endif /* !defined(SYMFILE_ADD_FLAGS_H) */
+#endif /* GDB_SYMFILE_ADD_FLAGS_H */
index 74187c82f97993ce8877cbc7d39be980ca1556bf..9a207c581ae7deaaa19111fae34feec99c896000 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (SYMFILE_H)
-#define SYMFILE_H
+#ifndef GDB_SYMFILE_H
+#define GDB_SYMFILE_H
 
 /* This file requires that you first include "bfd.h".  */
 #include "symtab.h"
@@ -416,4 +416,4 @@ extern int readnever_symbol_files;
 
 extern void symbol_file_command (const char *, int);
 
-#endif /* !defined(SYMFILE_H) */
+#endif /* GDB_SYMFILE_H */
index ef4d450d08e0d5060f231dbd6f5ce0dfc2fd9929..e6b2882dea26b5a1917da3de6d3785ec759469fa 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (SYMTAB_H)
-#define SYMTAB_H 1
+#ifndef GDB_SYMTAB_H
+#define GDB_SYMTAB_H
 
 #include <array>
 #include <vector>
@@ -3024,4 +3024,4 @@ std::optional<CORE_ADDR> find_epilogue_using_linetable (CORE_ADDR func_addr);
 extern struct symbol *search_symbol_list (const char *name, int num,
                                          struct symbol **syms);
 
-#endif /* !defined(SYMTAB_H) */
+#endif /* GDB_SYMTAB_H */
index c742932644f08ca0338247b022c3597c752c3d74..4faae112dc79e0084bb41e5b6a49f993ab93286d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_CONNECTION_H
-#define TARGET_CONNECTION_H
+#ifndef GDB_TARGET_CONNECTION_H
+#define GDB_TARGET_CONNECTION_H
 
 #include <string>
 
@@ -37,4 +37,4 @@ void connection_list_remove (process_stratum_target *t);
    it.  */
 std::string make_target_connection_string (process_stratum_target *t);
 
-#endif /* TARGET_CONNECTION_H */
+#endif /* GDB_TARGET_CONNECTION_H */
index 4acc82f83ce07e621df471b9c125ae4f8ae11495..a199a2382f25cda6fa587c9ccc2d72e0a3fc3002 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_DCACHE_H
-#define TARGET_DCACHE_H
+#ifndef GDB_TARGET_DCACHE_H
+#define GDB_TARGET_DCACHE_H
 
 #include "dcache.h"
 #include "progspace.h"
@@ -33,4 +33,4 @@ extern int stack_cache_enabled_p (void);
 
 extern int code_cache_enabled_p (void);
 
-#endif /* TARGET_DCACHE_H */
+#endif /* GDB_TARGET_DCACHE_H */
index 4a4e72e4bb9a469da6761b66263d717cac60ff4b..7530cf06f762ece7eac026e614f74f5d076a8760 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_DEBUG_H
-#define TARGET_DEBUG_H
+#ifndef GDB_TARGET_DEBUG_H
+#define GDB_TARGET_DEBUG_H
 
 /* Printers for the debug target.  Each prints an object of a given
    type to a string that needn't be freed.  Most printers are macros,
@@ -379,4 +379,4 @@ target_debug_print_x86_xsave_layout (const x86_xsave_layout &layout)
 
   return s;
 }
-#endif /* TARGET_DEBUG_H */
+#endif /* GDB_TARGET_DEBUG_H */
index dc83db0acf28c35f67d915d29b87549f99e416a6..5bd79737d8236583370d4f3dbd7978d7178beb01 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_DESCRIPTIONS_H
-#define TARGET_DESCRIPTIONS_H 1
+#ifndef GDB_TARGET_DESCRIPTIONS_H
+#define GDB_TARGET_DESCRIPTIONS_H
 #include "gdbsupport/tdesc.h"
 #include "gdbarch.h"
 
@@ -236,4 +236,4 @@ void record_xml_tdesc (const char *xml_file,
 }
 #endif
 
-#endif /* TARGET_DESCRIPTIONS_H */
+#endif /* GDB_TARGET_DESCRIPTIONS_H */
index a649f5ceb860d892d93c29821567fd19d6f19164..0b9cd7a84097c4ca5446bafad55810f6cc81e25b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_FLOAT_H
-#define TARGET_FLOAT_H
+#ifndef GDB_TARGET_FLOAT_H
+#define GDB_TARGET_FLOAT_H
 
 #include "expression.h"
 
@@ -58,4 +58,4 @@ extern void target_float_binop (enum exp_opcode opcode,
 extern int target_float_compare (const gdb_byte *x, const struct type *type_x,
                                 const gdb_byte *y, const struct type *type_y);
 
-#endif /* TARGET_FLOAT_H */
+#endif /* GDB_TARGET_FLOAT_H */
index be84b27fd43206cf63bc6161321171dfb01b00aa..5b45f152b51fd917758c2ee19a696d9e038d409e 100644 (file)
@@ -41,8 +41,8 @@
    dummy target at the bottom stratum, so we can call the target
    methods without checking them.  */
 
-#if !defined (TARGET_H)
-#define TARGET_H
+#ifndef GDB_TARGET_H
+#define GDB_TARGET_H
 
 struct objfile;
 struct ui_file;
@@ -2629,4 +2629,4 @@ extern void target_prepare_to_generate_core (void);
 /* See to_done_generating_core.  */
 extern void target_done_generating_core (void);
 
-#endif /* !defined (TARGET_H) */
+#endif /* GDB_TARGET_H */
index 2f13aa9ada1409d90ec1402227666ed15757b9ef..024e39b5bce0f5e6e0c71ffda0a0fb1bcbe7b25c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_RESUME_H
-#define TARGET_RESUME_H
+#ifndef GDB_TARGET_RESUME_H
+#define GDB_TARGET_RESUME_H
 
 /* Ways to "resume" a thread.  */
 
@@ -34,4 +34,4 @@ enum resume_kind
   resume_stop
 };
 
-#endif /* TARGET_RESUME_H */
+#endif /* GDB_TARGET_RESUME_H */
index 408db3558b0cfa6bd387db010a1d3cad535290aa..87a3464e323c1ee4b88a35524c0c71b82324c3d5 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_TARGET_H
-#define TARGET_TARGET_H
+#ifndef GDB_TARGET_TARGET_H
+#define GDB_TARGET_TARGET_H
 
 #include "target/waitstatus.h"
 #include "target/wait.h"
@@ -262,4 +262,4 @@ private:
   static target_terminal_state m_terminal_state;
 };
 
-#endif /* TARGET_TARGET_H */
+#endif /* GDB_TARGET_TARGET_H */
index 304f61497aac529af9383bfb1ade0cbb6f794232..026a42f9a30ef8297471b3a6c3a540babf1fa3e4 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_WAIT_H
-#define TARGET_WAIT_H
+#ifndef GDB_TARGET_WAIT_H
+#define GDB_TARGET_WAIT_H
 
 #include "gdbsupport/enum-flags.h"
 
@@ -34,4 +34,4 @@ enum target_wait_flag : unsigned
 
 DEF_ENUM_FLAGS_TYPE (enum target_wait_flag, target_wait_flags);
 
-#endif /* TARGET_WAIT_H */
+#endif /* GDB_TARGET_WAIT_H */
index 7d5ad3f97769c62b2555ec3efcf2a5abe5fc91a2..0ba5b9cecbfc591897d1cd0fa03573fec43bca1e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TARGET_WAITSTATUS_H
-#define TARGET_WAITSTATUS_H
+#ifndef GDB_TARGET_WAITSTATUS_H
+#define GDB_TARGET_WAITSTATUS_H
 
 #include "diagnostics.h"
 #include "gdb/signals.h"
@@ -470,4 +470,4 @@ enum target_stop_reason
   TARGET_STOPPED_BY_SINGLE_STEP
 };
 
-#endif /* TARGET_WAITSTATUS_H */
+#endif /* GDB_TARGET_WAITSTATUS_H */
index 236ab67745b1ac0ae349e90ae2f58cdf8bf14ed6..154b4be952bb06871c2468371cce8e27897ee19e 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (TERMINAL_H)
-#define TERMINAL_H 1
+#ifndef GDB_TERMINAL_H
+#define GDB_TERMINAL_H
 
 struct inferior;
 
@@ -43,4 +43,4 @@ extern void gdb_save_tty_state (void);
    have had a chance to alter it.  */
 extern void set_initial_gdb_ttystate (void);
 
-#endif /* !defined (TERMINAL_H) */
+#endif /* GDB_TERMINAL_H */
index 54924e0699472ba7a4d2ed9c2f32776dc4bbc892..b88c154da8ff40d0ab0b5d616cab96d6e9146b1d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TEST_TARGET_H
-#define TEST_TARGET_H
+#ifndef GDB_TEST_TARGET_H
+#define GDB_TEST_TARGET_H
 
 #include "process-stratum-target.h"
 
@@ -62,4 +62,4 @@ public:
 } // namespace selftests
 #endif /* GDB_SELF_TEST */
 
-#endif /* !defined (TEST_TARGET_H) */
+#endif /* GDB_TEST_TARGET_H */
index ed117719c0d2dbfc8bdc0a776dd5546a7e85c57d..36efee75abcc87ee702cac024944f70030bdf749 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef THREAD_FSM_H
-#define THREAD_FSM_H
+#ifndef GDB_THREAD_FSM_H
+#define GDB_THREAD_FSM_H
 
 #include "mi/mi-common.h"
 
@@ -129,4 +129,4 @@ protected:
   }
 };
 
-#endif /* THREAD_FSM_H */
+#endif /* GDB_THREAD_FSM_H */
index a2fd9891a571939c18c32f566b4d5de5d998b91f..89537213ac0b2b077bfbebaee2c2aca3ae6e1319 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef THREAD_ITER_H
-#define THREAD_ITER_H
+#ifndef GDB_THREAD_ITER_H
+#define GDB_THREAD_ITER_H
 
 #include "gdbsupport/filtered-iterator.h"
 #include "gdbsupport/iterator-range.h"
@@ -249,4 +249,4 @@ private:
   ptid_t m_filter_ptid;
 };
 
-#endif /* THREAD_ITER_H */
+#endif /* GDB_THREAD_ITER_H */
index 886e1b8b30982989360d62d7fc4881e86dce9f99..03a8a3ebb55e24e49de7f4227f5f60e73c8127b1 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TIC6X_TDEP_H
-#define TIC6X_TDEP_H
+#ifndef GDB_TIC6X_TDEP_H
+#define GDB_TIC6X_TDEP_H
 
 #include "gdbarch.h"
 
@@ -57,4 +57,4 @@ struct tic6x_gdbarch_tdep : gdbarch_tdep_base
   int has_gp = 0; /* Has general purpose registers A16 - A31 and B16 - B31.  */
 };
 
-#endif /* TIC6X_TDEP_H */
+#endif /* GDB_TIC6X_TDEP_H */
index 0ea58bb552dd09acae8c4380c1d68b0934428a24..f971f91b4f675a7d66405751edbbb239ba5e86ba 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TID_PARSE_H
-#define TID_PARSE_H
+#ifndef GDB_TID_PARSE_H
+#define GDB_TID_PARSE_H
 
 #include "cli/cli-utils.h"
 
@@ -194,4 +194,4 @@ private:
 extern int tid_is_in_list (const char *list, int default_inferior,
                           int inf_num, int thr_num);
 
-#endif /* TID_PARSE_H */
+#endif /* GDB_TID_PARSE_H */
index 893035a627323e7067fb6eb034e5b6f1a2910188..5430281bed572d9310dc64e164e80aeb89a0dec8 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TILEGX_TDEP_H
-#define TILEGX_TDEP_H
+#ifndef GDB_TILEGX_TDEP_H
+#define GDB_TILEGX_TDEP_H
 
 /* TILE-Gx has 56 general purpose registers (R0 - R52, TP, SP, LR),
    plus 8 special general purpose registers (network and ZERO),
@@ -107,4 +107,4 @@ enum tilegx_regnum
 
 enum { tilegx_reg_size = 8 };
 
-#endif /* tilegx-tdep.h */
+#endif /* GDB_TILEGX_TDEP_H */
index 07cdc5a49c1852721b8f69963c9f9b4accf75e3b..166845ed317cdd4604174ea1750c2ba50f783d9d 100644 (file)
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TOP_H
-#define TOP_H
+#ifndef GDB_TOP_H
+#define GDB_TOP_H
 
 #include "gdbsupport/event-loop.h"
 #include "gdbsupport/next-iterator.h"
@@ -133,4 +133,4 @@ extern bool check_quiet_mode ();
 
 extern void unbuffer_stream (FILE *stream);
 
-#endif
+#endif /* GDB_TOP_H */
index 08a681cb8cfb6e8b54e4ec8bd8b76929504d8bd3..9f821c5314cac57fb88dc7dfb74de3c801bc5ebf 100644 (file)
@@ -17,9 +17,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef CTF_H
-#define CTF_H
+#ifndef GDB_TRACECTF_H
+#define GDB_TRACECTF_H
 
 extern struct trace_file_writer *ctf_trace_file_writer_new (void);
 
-#endif
+#endif /* GDB_TRACECTF_H */
index 90967eff85556017e1118b053cc6151d9dc6cb40..028f70dabd3dc5603e88b582349e0a058b0a448e 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TRACEFILE_H
-#define TRACEFILE_H 1
+#ifndef GDB_TRACEFILE_H
+#define GDB_TRACEFILE_H
 
 #include "tracepoint.h"
 #include "target.h"
@@ -151,4 +151,4 @@ public:
 
 extern void tracefile_fetch_registers (struct regcache *regcache, int regno);
 
-#endif /* TRACEFILE_H */
+#endif /* GDB_TRACEFILE_H */
index 8b3f971740eda77e67f1e7b85651d74f49869e35..029813b144e715873f9abeb93688c1c04b8c1ba4 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (TRACEPOINT_H)
-#define TRACEPOINT_H 1
+#ifndef GDB_TRACEPOINT_H
+#define GDB_TRACEPOINT_H
 
 #include "breakpoint.h"
 #include "memrange.h"
@@ -431,4 +431,4 @@ extern struct bp_location *get_traceframe_location (int *stepping_frame_p);
 /* Command element for the 'while-stepping' command.  */
 extern cmd_list_element *while_stepping_cmd_element;
 
-#endif /* TRACEPOINT_H */
+#endif /* GDB_TRACEPOINT_H */
index ca8792baa17d20e932412b09ba65dcb98dcb0c5e..40a3f74d44a44292b2104b64413f919b1efbc5df 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TRAD_FRAME_H
-#define TRAD_FRAME_H
+#ifndef GDB_TRAD_FRAME_H
+#define GDB_TRAD_FRAME_H
 
 #include "frame.h"
 
@@ -203,4 +203,4 @@ struct value *trad_frame_get_prev_register (const frame_info_ptr &this_frame,
                                            trad_frame_saved_reg this_saved_regs[],
                                            int regnum);
 
-#endif
+#endif /* GDB_TRAD_FRAME_H */
index d9e54f5981a2b24da4a48d137129941789cac3a0..a7288c1889cf25b3e121d473bde703f00c458655 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TRAMP_FRAME_H
-#define TRAMP_FRAME_H
+#ifndef GDB_TRAMP_FRAME_H
+#define GDB_TRAMP_FRAME_H
 
 #include "frame.h"
 #include "frame-unwind.h"      /* For frame_prev_arch_ftype.  */
@@ -85,4 +85,4 @@ struct tramp_frame
 void tramp_frame_prepend_unwinder (struct gdbarch *gdbarch,
                                   const struct tramp_frame *tramp);
 
-#endif
+#endif /* GDB_TRAMP_FRAME_H */
index f167d959c2cf7f6ad60f57b9b8a58f21226a3ae3..61f8cf3b161d3d900b99e7fa849f3d8a9a7e93e6 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_COMMAND_H
-#define TUI_TUI_COMMAND_H
+#ifndef GDB_TUI_TUI_COMMAND_H
+#define GDB_TUI_TUI_COMMAND_H
 
 #include "tui/tui-data.h"
 
@@ -62,4 +62,4 @@ tui_cmd_win ()
   return dynamic_cast<tui_cmd_window *> (tui_win_list[CMD_WIN]);
 }
 
-#endif /* TUI_TUI_COMMAND_H */
+#endif /* GDB_TUI_TUI_COMMAND_H */
index 79a41637d214613be76477dfc8115471881f87d0..6f2087bb262bfb0b8268eee5a0595ef61b8acd3b 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_DATA_H
-#define TUI_TUI_DATA_H
+#ifndef GDB_TUI_TUI_DATA_H
+#define GDB_TUI_TUI_DATA_H
 
 #include "tui/tui.h"
 #include "gdb_curses.h"
@@ -297,4 +297,4 @@ extern struct tui_win_info *tui_prev_win (struct tui_win_info *);
 
 extern unsigned int tui_tab_width;
 
-#endif /* TUI_TUI_DATA_H */
+#endif /* GDB_TUI_TUI_DATA_H */
index c5e8eb483d191aa94bd14c1e75bc68b254e50987..a49719a0dca2d2534bd227c216b5b14c66890df2 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_DISASM_H
-#define TUI_TUI_DISASM_H
+#ifndef GDB_TUI_TUI_DISASM_H
+#define GDB_TUI_TUI_DISASM_H
 
 #include "gdbsupport/gdb-checked-static-cast.h"
 #include "tui/tui.h"
@@ -76,4 +76,4 @@ tui_disasm_win ()
 
 extern void tui_get_begin_asm_address (struct gdbarch **, CORE_ADDR *);
 
-#endif /* TUI_TUI_DISASM_H */
+#endif /* GDB_TUI_TUI_DISASM_H */
index b723f3974eaf24d4b6ef264a4f33df3ecdfa4bef..6178a90a6c68e690ba24d147e9a00171e2c48b32 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_FILE_H
-#define TUI_TUI_FILE_H
+#ifndef GDB_TUI_TUI_FILE_H
+#define GDB_TUI_TUI_FILE_H
 
 #include "ui-file.h"
 
@@ -41,4 +41,4 @@ private:
   bool m_buffered;
 };
 
-#endif /* TUI_TUI_FILE_H */
+#endif /* GDB_TUI_TUI_FILE_H */
index 97683826544eccdee96141339924691aa0e19c4d..21ba169713cfadf896ba8a8dddeb99eab8b217eb 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_HOOKS_H
-#define TUI_TUI_HOOKS_H
+#ifndef GDB_TUI_TUI_HOOKS_H
+#define GDB_TUI_TUI_HOOKS_H
 
 extern void tui_install_hooks (void);
 extern void tui_remove_hooks (void);
 
-#endif /* TUI_TUI_HOOKS_H */
+#endif /* GDB_TUI_TUI_HOOKS_H */
index 9e7eecdf5f42be942a5fda73980bcf61f3f82976..66b3b90dfe317c6eef2e1f90b8466cce4af64000 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_IO_H
-#define TUI_TUI_IO_H
+#ifndef GDB_TUI_TUI_IO_H
+#define GDB_TUI_TUI_IO_H
 
 #include "gdb_curses.h"
 
@@ -60,4 +60,4 @@ extern cli_ui_out *tui_old_uiout;
    next line.  */
 extern void tui_inject_newline_into_command_window ();
 
-#endif /* TUI_TUI_IO_H */
+#endif /* GDB_TUI_TUI_IO_H */
index a401efcb8538f30de619bd6f2464cb40ebbd6371..22d7c722d6dac66fa1c9525edce7f11f5804ffb1 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_LAYOUT_H
-#define TUI_TUI_LAYOUT_H
+#ifndef GDB_TUI_TUI_LAYOUT_H
+#define GDB_TUI_TUI_LAYOUT_H
 
 #include "ui-file.h"
 
@@ -418,4 +418,4 @@ using known_window_names_range
 
 extern known_window_names_range all_known_window_names ();
 
-#endif /* TUI_TUI_LAYOUT_H */
+#endif /* GDB_TUI_TUI_LAYOUT_H */
index ec05f45706925aae429b1f1a6fa5debd93f972a7..5eda4bde0a66e639da8950e9156001c9e8cc15fd 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_LOCATION_H
-#define TUI_TUI_LOCATION_H
+#ifndef GDB_TUI_TUI_LOCATION_H
+#define GDB_TUI_TUI_LOCATION_H
 
 /* Class used to track the current location that the TUI is displaying.  An
    instance of this class will be created; as events occur within GDB the
@@ -85,4 +85,4 @@ private:
 
 extern tui_location_tracker tui_location;
 
-#endif /* TUI_TUI_LOCATION_H */
+#endif /* GDB_TUI_TUI_LOCATION_H */
index fa1a3dd30a39389b70b66e49222c0b4b66ee62a9..48f6aa0ddde0620c679039e3e96185a0004fd596 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_REGS_H
-#define TUI_TUI_REGS_H
+#ifndef GDB_TUI_TUI_REGS_H
+#define GDB_TUI_TUI_REGS_H
 
 #include "gdbsupport/gdb-checked-static-cast.h"
 #include "tui/tui-data.h"
@@ -160,4 +160,4 @@ tui_data_win ()
   return gdb::checked_static_cast<tui_data_window *> (tui_win_list[DATA_WIN]);
 }
 
-#endif /* TUI_TUI_REGS_H */
+#endif /* GDB_TUI_TUI_REGS_H */
index d8f7189ad73b28533c6eba3c9a64046111614147..24c1009fc7cd5b66ae05ff20c3afe6f2a504e9f2 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_SOURCE_H
-#define TUI_TUI_SOURCE_H
+#ifndef GDB_TUI_TUI_SOURCE_H
+#define GDB_TUI_TUI_SOURCE_H
 
 #include "gdbsupport/gdb-checked-static-cast.h"
 #include "tui/tui-data.h"
@@ -95,4 +95,4 @@ tui_src_win ()
   return gdb::checked_static_cast<tui_source_window *> (tui_win_list[SRC_WIN]);
 }
 
-#endif /* TUI_TUI_SOURCE_H */
+#endif /* GDB_TUI_TUI_SOURCE_H */
index f7cd2d4191c2c2fefa7d450b2fee0fd391671304..8b507fd31af04797d12fdd67cac4a4c71bc8311c 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_STATUS_H
-#define TUI_TUI_STATUS_H
+#ifndef GDB_TUI_TUI_STATUS_H
+#define GDB_TUI_TUI_STATUS_H
 
 #include "tui/tui-data.h"
 
@@ -61,4 +61,4 @@ tui_status_win ()
 extern void tui_show_status_content (void);
 extern void tui_show_frame_info (const frame_info_ptr &);
 
-#endif /* TUI_TUI_STATUS_H */
+#endif /* GDB_TUI_TUI_STATUS_H */
index 9b03d01c430977553feb1df719d65a82a419a51e..15219930149fd3b58dc9056d54462695c829855f 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_WIN_H
-#define TUI_TUI_WIN_H
+#ifndef GDB_TUI_TUI_WIN_H
+#define GDB_TUI_TUI_WIN_H
 
 #include "tui/tui-data.h"
 
@@ -61,4 +61,4 @@ extern bool style_tui_current_position;
 /* Whether to replace the spaces in the left margin with '_' and '0'.  */
 extern bool tui_left_margin_verbose;
 
-#endif /* TUI_TUI_WIN_H */
+#endif /* GDB_TUI_TUI_WIN_H */
index 83ecb7d1645aa75600ceed0f98c5cc3310f90702..b037e79fce9033344c8d2ec41093f4032d3e77f4 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_WINGENERAL_H
-#define TUI_TUI_WINGENERAL_H
+#ifndef GDB_TUI_TUI_WINGENERAL_H
+#define GDB_TUI_TUI_WINGENERAL_H
 
 #include "gdb_curses.h"
 
@@ -50,4 +50,4 @@ private:
   bool m_saved_suppress;
 };
 
-#endif /* TUI_TUI_WINGENERAL_H */
+#endif /* GDB_TUI_TUI_WINGENERAL_H */
index a262c635e5a37c343889ab7862f542ed964ecfd7..2883ec9cf9f122543a8b746bfe21b5f78a2e3b36 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_WINSOURCE_H
-#define TUI_TUI_WINSOURCE_H
+#ifndef GDB_TUI_TUI_WINSOURCE_H
+#define GDB_TUI_TUI_WINSOURCE_H
 
 #include "gdbsupport/observable.h"
 #include "tui/tui-data.h"
@@ -368,4 +368,4 @@ extern std::string tui_copy_source_line (const char **ptr,
 /* Constant definitions. */
 #define SCROLL_THRESHOLD 2     /* Threshold for lazy scroll.  */
 
-#endif /* TUI_TUI_WINSOURCE_H */
+#endif /* GDB_TUI_TUI_WINSOURCE_H */
index 388fd1e6eb21233f860c62a9eff923921a075047..319bd2e5b4dfd7151f75ae6670fcfdd3297910b6 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_TUI_H
-#define TUI_TUI_H
+#ifndef GDB_TUI_TUI_H
+#define GDB_TUI_TUI_H
 
 /* Flag to control tui debugging.  */
 
@@ -96,4 +96,4 @@ extern void tui_set_key_mode (enum tui_key_mode mode);
 
 extern bool tui_active;
 
-#endif /* TUI_TUI_H */
+#endif /* GDB_TUI_TUI_H */
index faef3c85f67c84e0aa27889e28ac513e134ac5c1..87c0fe20c5a09696ae0af7cd40a087623cf5f963 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TYPE_STACK_H
-#define TYPE_STACK_H
+#ifndef GDB_TYPE_STACK_H
+#define GDB_TYPE_STACK_H
 
 #include "gdbtypes.h"
 #include <vector>
@@ -203,4 +203,4 @@ private:
   std::vector<union type_stack_elt> m_elements;
 };
 
-#endif /* TYPE_STACK_H */
+#endif /* GDB_TYPE_STACK_H */
index 3cba02f7172c0e85792535baa620557490debec1..7f1fbf453f21f566da557c5ac4ac8ddf6edc2857 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TYPEPRINT_H
-#define TYPEPRINT_H
+#ifndef GDB_TYPEPRINT_H
+#define GDB_TYPEPRINT_H
 
 #include "gdbsupport/gdb_obstack.h"
 #include "gdbsupport/unordered_set.h"
@@ -213,4 +213,4 @@ extern void val_print_not_allocated (struct ui_file *stream);
 
 extern void val_print_not_associated (struct ui_file *stream);
 
-#endif
+#endif /* GDB_TYPEPRINT_H */
index dcbc16220586550fea63fcd271bbd278f83e7355..5379bb3458d296da628b6064a70d26210593cfc9 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef UI_FILE_H
-#define UI_FILE_H
+#ifndef GDB_UI_FILE_H
+#define GDB_UI_FILE_H
 
 #include <string>
 #include "ui-style.h"
@@ -467,4 +467,4 @@ private:
   bool m_needs_timestamp = true;
 };
 
-#endif
+#endif /* GDB_UI_FILE_H */
index f9d96dea87598bd710ac54eb811db48c472ab8a6..5d0328108f939e880d68703929c1d406207c54e2 100644 (file)
@@ -20,8 +20,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef UI_OUT_H
-#define UI_OUT_H 1
+#ifndef GDB_UI_OUT_H
+#define GDB_UI_OUT_H
 
 #include <vector>
 
@@ -658,4 +658,4 @@ private:
   std::optional<buffering_file> m_buffered_uiout;
 };
 
-#endif /* UI_OUT_H */
+#endif /* GDB_UI_OUT_H */
index 1b7b5fafb9d92cd4dcadff0bfada95a29a184d5d..53ac2897c7879241639ed8c45afe9aa179fefc8a 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef UI_STYLE_H
-#define UI_STYLE_H
+#ifndef GDB_UI_STYLE_H
+#define GDB_UI_STYLE_H
 
 /* Styles that can be applied to a ui_file.  */
 struct ui_file_style
@@ -250,4 +250,4 @@ private:
 
 extern bool skip_ansi_escape (const char *buf, int *n_read);
 
-#endif /* UI_STYLE_H */
+#endif /* GDB_UI_STYLE_H */
index 869714c607409a291a5cc050806b19c69e7ab48d..3380bf2cac6d052cb4d6db5ac1c9a05aa17fc9cc 100644 (file)
--- a/gdb/ui.h
+++ b/gdb/ui.h
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef UI_H
-#define UI_H
+#ifndef GDB_UI_H
+#define GDB_UI_H
 
 #include "gdbsupport/event-loop.h"
 #include "gdbsupport/intrusive_list.h"
@@ -230,4 +230,4 @@ ui_range all_uis ()
   return ui_range (ui_list);
 }
 
-#endif /* UI_H */
+#endif /* GDB_UI_H */
index baa3581a0baff473f43128454e1a4946d5d0464c..67a28dd429e8d7b3b11ea4bc3e8a7d019573ff72 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef USER_REGS_H
-#define USER_REGS_H
+#ifndef GDB_USER_REGS_H
+#define GDB_USER_REGS_H
 
 /* Implement both builtin, and architecture specific, per-frame user
    visible registers.
@@ -69,4 +69,4 @@ extern void user_reg_add_builtin (const char *name,
 extern void user_reg_add (struct gdbarch *gdbarch, const char *name, 
                          user_reg_read_ftype *read, const void *baton);
 
-#endif
+#endif /* GDB_USER_REGS_H */
index d69c81ca834f32b7b44d2a2719bab5f801e76ac7..b9044e680d41b3c52c8cb4a9838722835271b0f3 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef UTILS_H
-#define UTILS_H
+#ifndef GDB_UTILS_H
+#define GDB_UTILS_H
 
 #include <chrono>
 
@@ -486,4 +486,4 @@ private:
   std::vector<string_file> m_warnings;
 };
 
-#endif /* UTILS_H */
+#endif /* GDB_UTILS_H */
index 4f194b7700898821e192907ef581d36e5ca44010..834e9d97ffdf74d35fce3c3c7642c3dbc3b5c156 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef VALPRINT_H
-#define VALPRINT_H
+#ifndef GDB_VALPRINT_H
+#define GDB_VALPRINT_H
 
 #include "cli/cli-option.h"
 
@@ -337,4 +337,4 @@ extern void common_val_print_checked
    const struct value_print_options *options,
    const struct language_defn *language);
 
-#endif
+#endif /* GDB_VALPRINT_H */
index c8166a77332e8b5fcabbe5b06bc516427088b79d..2c94e09cbf3ac5f6c236be0e380b1e27a65b208b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (VALUE_H)
-#define VALUE_H 1
+#ifndef GDB_VALUE_H
+#define GDB_VALUE_H
 
 #include "frame.h"
 #include "extension.h"
@@ -1723,4 +1723,4 @@ void pseudo_to_concat_raw (const frame_info_ptr &next_frame,
                           int raw_reg_1_num, int raw_reg_2_num,
                           int raw_reg_3_num);
 
-#endif /* !defined (VALUE_H) */
+#endif /* GDB_VALUE_H */
index 4254f8b549e8ac5d7a597a87fd5b0862abd9bd4f..46e25e797c825adb1b30d7906013483eae1f8aa4 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef VAROBJ_ITER_H
-#define VAROBJ_ITER_H
+#ifndef GDB_VAROBJ_ITER_H
+#define GDB_VAROBJ_ITER_H
 
 /* A node or item of varobj, composed of the name and the value.  */
 
@@ -39,4 +39,4 @@ public:
   virtual std::unique_ptr<varobj_item> next () = 0;
 };
 
-#endif /* VAROBJ_ITER_H */
+#endif /* GDB_VAROBJ_ITER_H */
index 426c3b7d628787a7fea05762adf7375a9d364b54..9d19f53fb3ee7d5c59f596e9d4531250097b4f89 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef VAROBJ_H
-#define VAROBJ_H 1
+#ifndef GDB_VAROBJ_H
+#define GDB_VAROBJ_H
 
 #include "symtab.h"
 #include "gdbtypes.h"
@@ -355,4 +355,4 @@ extern void varobj_restrict_range (const std::vector<varobj *> &children,
 
 extern bool varobj_default_is_path_expr_parent (const struct varobj *var);
 
-#endif /* VAROBJ_H */
+#endif /* GDB_VAROBJ_H */
index 72b072d692db8495ef4cb746de98953692016f35..fbc35d97c4e01fe0633b34006e3c7caddeb0b741 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef VAX_TDEP_H
-#define VAX_TDEP_H
+#ifndef GDB_VAX_TDEP_H
+#define GDB_VAX_TDEP_H
 
 /* Register numbers of various important registers.  */
 
@@ -36,4 +36,4 @@ enum vax_regnum
 /* Number of machine registers.  */
 #define VAX_NUM_REGS 17
 
-#endif /* vax-tdep.h */
+#endif /* GDB_VAX_TDEP_H */
index 3fbb1ea35df067ec7b2411c2e71fc8c7d3c2e2f6..b36e7f4551266b2ee1772c80368833c1e301eed9 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef WINDOWS_NAT_H
-#define WINDOWS_NAT_H
+#ifndef GDB_WINDOWS_NAT_H
+#define GDB_WINDOWS_NAT_H
 
 /* A pointer to a function that should return non-zero iff REGNUM
    corresponds to one of the segment registers.  */
@@ -36,4 +36,4 @@ int amd64_windows_segment_register_p (int regnum);
 extern const int amd64_mappings[];
 #endif
 
-#endif
+#endif /* GDB_WINDOWS_NAT_H */
index f122f7aaa61ca28fb5aad8598b5cb2a3a62e278c..abb25331938d3052ab07c7118fbb468118427cc2 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef WINDOWS_TDEP_H
-#define WINDOWS_TDEP_H
+#ifndef GDB_WINDOWS_TDEP_H
+#define GDB_WINDOWS_TDEP_H
 
 #include "frame-unwind.h"
 
@@ -75,4 +75,4 @@ struct cygwin_sigwrapper_frame_unwind : public frame_unwind
   gdb::array_view<const gdb::array_view<const gdb_byte>> patterns_list;
 };
 
-#endif
+#endif /* GDB_WINDOWS_TDEP_H */
index 7b1ba7a1f4429cc5b0799c7d0eaf026b895d5fde..b1745448ecec7ef87eeee5ddcac81309e4b2185c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef X86_BSD_NAT_H
-#define X86_BSD_NAT_H
+#ifndef GDB_X86_BSD_NAT_H
+#define GDB_X86_BSD_NAT_H
 
 #include "x86-nat.h"
 
@@ -43,4 +43,4 @@ class x86bsd_nat_target : public BaseTarget
 };
 #endif /* HAVE_PT_GETDBREGS */
 
-#endif /* x86-bsd-nat.h */
+#endif /* GDB_X86_BSD_NAT_H */
index a202e77c788f931785717a428108de7902d48350..66f2b2f61b2fd54e4837f56f93a90a0979c64f23 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef X86_FBSD_NAT_H
-#define X86_FBSD_NAT_H
+#ifndef GDB_X86_FBSD_NAT_H
+#define GDB_X86_FBSD_NAT_H
 
 #include <sys/ptrace.h>
 
@@ -53,4 +53,4 @@ private:
 #endif
 };
 
-#endif /* x86-bsd-nat.h */
+#endif /* GDB_X86_FBSD_NAT_H */
index 4efe54618478dc69c110a6daa3e4be0ddefa9d66..3c2241bb0b6865e19e8bf43f2baca0515b5374b6 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef X86_LINUX_NAT_H
-#define X86_LINUX_NAT_H 1
+#ifndef GDB_X86_LINUX_NAT_H
+#define GDB_X86_LINUX_NAT_H
 
 #include "gdb_proc_service.h"
 #include "linux-nat.h"
@@ -92,4 +92,4 @@ private:
 extern ps_err_e x86_linux_get_thread_area (pid_t pid, void *addr,
                                           unsigned int *base_addr);
 
-#endif
+#endif /* GDB_X86_LINUX_NAT_H */
index f07cefa027ddacab0f819e94e0bfa74f71126684..1b8fdd38325265d69f18c78e9020e563034a6a5e 100644 (file)
@@ -20,8 +20,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef X86_NAT_H
-#define X86_NAT_H 1
+#ifndef GDB_X86_NAT_H
+#define GDB_X86_NAT_H
 
 #include "breakpoint.h"
 #include "nat/x86-dregs.h"
@@ -114,4 +114,4 @@ struct x86_nat_target : public BaseTarget
   { return x86_stopped_by_hw_breakpoint (); }
 };
 
-#endif /* X86_NAT_H */
+#endif /* GDB_X86_NAT_H */
index 7ab47814d41ac1c7964dfde091244dd891a94a8e..2b5853adb8a5cab8edb8c89b8ce639184e5c8267 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef X86_TDEP_H
-#define X86_TDEP_H
+#ifndef GDB_X86_TDEP_H
+#define GDB_X86_TDEP_H
 
 /* Checks whether PC lies in an indirect branch thunk using registers
    REGISTER_NAMES[LO] (inclusive) to REGISTER_NAMES[HI] (exclusive).  */
@@ -27,4 +27,4 @@ extern bool x86_in_indirect_branch_thunk (CORE_ADDR pc,
                                          const char * const *register_names,
                                          int lo, int hi);
 
-#endif /* x86-tdep.h */
+#endif /* GDB_X86_TDEP_H */
index 8bc729e3dff5cda5f36777cd4575659a19595a80..7528dec4a6cebf373713c5822947a1ba8d133808 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef XCOFFREAD_H
-#define XCOFFREAD_H
+#ifndef GDB_XCOFFREAD_H
+#define GDB_XCOFFREAD_H
 
 extern CORE_ADDR xcoff_get_toc_offset (struct objfile *);
 
 extern int xcoff_get_n_import_files (bfd *abfd);
 
-#endif /* XCOFFREAD_H */
+#endif /* GDB_XCOFFREAD_H */
index 417771ea4e979f267659605992bc5aedc302f33e..463e0fb16e0fdae253372e0ac90b2bd5b786a549 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef XML_BUILTIN_H
-#define XML_BUILTIN_H
+#ifndef GDB_XML_BUILTIN_H
+#define GDB_XML_BUILTIN_H
 
 /* The text of compiled-in XML documents, from xml-builtin.c
    (generated).  */
 
 extern const char *const xml_builtin[][2];
 
-#endif /* XML_BUILTIN_H */
+#endif /* GDB_XML_BUILTIN_H */
index 2ff0e3ca8c534be229d057ce03d0a863334120f6..f467d7fc3f0f42708b2d3e0bd38ffe88c65bbe05 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef XML_SUPPORT_H
-#define XML_SUPPORT_H
+#ifndef GDB_XML_SUPPORT_H
+#define GDB_XML_SUPPORT_H
 
 #include "gdbsupport/gdb_obstack.h"
 #include "gdbsupport/xml-utils.h"
@@ -234,4 +234,4 @@ ULONGEST gdb_xml_parse_ulongest (struct gdb_xml_parser *parser,
 extern std::optional<gdb::char_vector> xml_fetch_content_from_file
     (const char *filename, const char *dirname);
 
-#endif
+#endif /* GDB_XML_SUPPORT_H */
index 60cfb71ada2c6260f738af55409c1c311dda06e8..579805d93947956db648ecceb0d39e0c79ec1b83 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef XML_SYSCALL_H
-#define XML_SYSCALL_H 1
+#ifndef GDB_XML_SYSCALL_H
+#define GDB_XML_SYSCALL_H
 
 /* Function used to set the name of the file which contains
    information about the system calls present in the current
@@ -66,4 +66,4 @@ bool get_syscalls_by_group (struct gdbarch *gdbarch, const char *group,
 
 const char **get_syscall_group_names (struct gdbarch *gdbarch);
 
-#endif /* XML_SYSCALL_H */
+#endif /* GDB_XML_SYSCALL_H */
index cd6e79cc24fa0f1225a8713ff98c9a9b367ddfe7..ec71c682f86a815ee2d061be34093cf4f37070f1 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef XML_TDESC_H
-#define XML_TDESC_H
+#ifndef GDB_XML_TDESC_H
+#define GDB_XML_TDESC_H
 
 #include <optional>
 #include <string>
@@ -49,4 +49,4 @@ std::optional<std::string> target_fetch_description_xml (target_ops *ops);
 
 const struct target_desc *string_read_description_xml (const char *xml);
 
-#endif /* XML_TDESC_H */
+#endif /* GDB_XML_TDESC_H */
index b76ed1373805ecd334acf4d9ad91c6f01e7938d9..832b4fbf33ab6a34dcad61833a2c2573c4b98aa8 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef XTENSA_TDEP_H
-#define XTENSA_TDEP_H
+#ifndef GDB_XTENSA_TDEP_H
+#define GDB_XTENSA_TDEP_H
 
 #include "arch/xtensa.h"
 #include "gdbarch.h"
@@ -249,4 +249,4 @@ struct xtensa_gdbarch_tdep : gdbarch_tdep_base
    data structure to their corresponding register in the AR register 
    file (see xtensa-tdep.c).  */
 
-#endif /* XTENSA_TDEP_H */
+#endif /* GDB_XTENSA_TDEP_H */
index b3fcbc65a4afd5c58bb2599bac564bf9ea9db80f..af749618a1b2894e34ae002be4661e8ff355f5aa 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef YY_REMAP_H
-#define YY_REMAP_H
+#ifndef GDB_YY_REMAP_H
+#define GDB_YY_REMAP_H
 
 /* Remap normal yacc parser interface names (yyparse, yylex, yyerror,
    etc), as well as gratuitously global symbol names, so we can have
@@ -93,4 +93,4 @@
 # define YYDEBUG 1  /* Default to yydebug support */
 #endif
 
-#endif /* YY_REMAP_H */
+#endif /* GDB_YY_REMAP_H */
index 4b36024d1f01961600f4e13136fbd6021d66ea06..19a7d046f7a3a84df93636da7a2139d2c23e4ae1 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef Z80_TDEP_H
-#define Z80_TDEP_H
+#ifndef GDB_Z80_TDEP_H
+#define GDB_Z80_TDEP_H
 
 /* Register pair constants
    Order optimized for gdb-stub implementation
@@ -49,4 +49,4 @@ enum z80_regnum
 #define EZ80_NUM_REGS  (Z80_NUM_REGS + 1)
 #define EZ80_REG_BYTES (EZ80_NUM_REGS*3)
 
-#endif /* z80-tdep.h */
+#endif /* GDB_Z80_TDEP_H */
index ff1c45fa1c1a7b548b62ab2bad63e51539293852..173eac24389a9732be1b95b1d8db59cbff3644cd 100644 (file)
@@ -26,4 +26,4 @@ const target_desc * aarch32_linux_read_description ();
 
 bool is_aarch32_linux_description (const target_desc *tdesc);
 
-#endif /* linux-aarch32-tdesc.h.  */
+#endif /* GDBSERVER_LINUX_AARCH32_TDESC_H */
index 76a30c3c73a2708f9f35e36c195f8ffe412a22ab..bf12c8f5b681e184e6111e89e509a900082e0149 100644 (file)
@@ -28,4 +28,4 @@ const target_desc * arm_linux_read_description (arm_fp_type fp_type);
 
 arm_fp_type arm_linux_get_tdesc_fp_type (const target_desc *tdesc);
 
-#endif /* linux-arm-tdesc.h.  */
+#endif /* GDBSERVER_LINUX_ARM_TDESC_H */
index e5a1fed84b976b8ce230e2cd5e9981ce193bd93d..305ed70fff24c83d9e7a9464f4a295b99314ac85 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_AGENT_H
-#define COMMON_AGENT_H
+#ifndef GDBSUPPORT_AGENT_H
+#define GDBSUPPORT_AGENT_H
 
 #include "gdbsupport/preprocessor.h"
 
@@ -65,4 +65,4 @@ bool agent_capability_check (enum agent_capa);
 
 void agent_capability_invalidate (void);
 
-#endif /* COMMON_AGENT_H */
+#endif /* GDBSUPPORT_AGENT_H */
index 5bf9ed77dbf364412d526626185702f3ca3af871..5054d7013fac2d7e73904de6b9ea8fcb20348921 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_ARRAY_VIEW_H
-#define COMMON_ARRAY_VIEW_H
+#ifndef GDBSUPPORT_ARRAY_VIEW_H
+#define GDBSUPPORT_ARRAY_VIEW_H
 
 #include "traits.h"
 #include <algorithm>
@@ -296,4 +296,4 @@ make_array_view (U *array, size_t size) noexcept
 
 } /* namespace gdb */
 
-#endif
+#endif /* GDBSUPPORT_ARRAY_VIEW_H */
index 95ab3e290ba9ae08d0ea9224dfb375740d090a75..1202231be0c34f981d714861d8bded5f8b6c206c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_BREAK_COMMON_H
-#define COMMON_BREAK_COMMON_H
+#ifndef GDBSUPPORT_BREAK_COMMON_H
+#define GDBSUPPORT_BREAK_COMMON_H
 
 enum target_hw_bp_type
   {
@@ -28,4 +28,4 @@ enum target_hw_bp_type
     hw_execute = 3             /* Execute HW breakpoint */
   };
 
-#endif /* COMMON_BREAK_COMMON_H */
+#endif /* GDBSUPPORT_BREAK_COMMON_H */
index 490a176c297d1123d8e4c53e0707e11e9ebd8a88..6278fa3573721c5f6bfa760b9a66934da2ce0f81 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_BTRACE_COMMON_H
-#define COMMON_BTRACE_COMMON_H
+#ifndef GDBSUPPORT_BTRACE_COMMON_H
+#define GDBSUPPORT_BTRACE_COMMON_H
 
 /* Branch tracing (btrace) is a per-thread control-flow execution trace of the
    inferior.  For presentation purposes, the branch trace is represented as a
@@ -285,4 +285,4 @@ extern const char *btrace_format_short_string (enum btrace_format format);
 extern int btrace_data_append (struct btrace_data *dst,
                               const struct btrace_data *src);
 
-#endif /* COMMON_BTRACE_COMMON_H */
+#endif /* GDBSUPPORT_BTRACE_COMMON_H */
index 54f4cc2edf29310102a666253936315066ed1169..0586d40016e933f5c7eb0797538cc007f03533dc 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_BYTE_VECTOR_H
-#define COMMON_BYTE_VECTOR_H
+#ifndef GDBSUPPORT_BYTE_VECTOR_H
+#define GDBSUPPORT_BYTE_VECTOR_H
 
 #include "gdbsupport/def-vector.h"
 
@@ -60,4 +60,4 @@ using char_vector = gdb::def_vector<char>;
 
 } /* namespace gdb */
 
-#endif /* COMMON_DEF_VECTOR_H */
+#endif /* GDBSUPPORT_BYTE_VECTOR_H */
index 985cf81ff7dd80a1a9406b4b3f5fb8afde97e07c..12b7774763c0700331618fa0ae9d873b6049e729 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_CLEANUPS_H
-#define COMMON_CLEANUPS_H
+#ifndef GDBSUPPORT_CLEANUPS_H
+#define GDBSUPPORT_CLEANUPS_H
 
 #include <functional>
 
@@ -27,4 +27,4 @@ extern void add_final_cleanup (std::function<void ()> &&func);
 /* Run all the registered functions.  */
 extern void do_final_cleanups ();
 
-#endif /* COMMON_CLEANUPS_H */
+#endif /* GDBSUPPORT_CLEANUPS_H */
index b41d6a401cc8a4cf7c6020ff70ea1a88680a2543..6c793dc33d4ca944dcb6bd3d4b052a0577d2d7ae 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_COMMON_DEBUG_H
-#define COMMON_COMMON_DEBUG_H
+#ifndef GDBSUPPORT_COMMON_DEBUG_H
+#define GDBSUPPORT_COMMON_DEBUG_H
 
 #include <optional>
 #include "gdbsupport/preprocessor.h"
@@ -271,4 +271,4 @@ make_scoped_debug_start_end (PT &&pred, const char *module, const char *func,
                                   __func__, "enter", "exit",   \
                                   nullptr)
 
-#endif /* COMMON_COMMON_DEBUG_H */
+#endif /* GDBSUPPORT_COMMON_DEBUG_H */
index d246a84bf7541c56b77abf0159d3f0f23cea4177..2cb71e2ebca6dd684ef2a798e7a9b8117ac5e633 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_COMMON_DEFS_H
-#define COMMON_COMMON_DEFS_H
+#ifndef GDBSUPPORT_COMMON_DEFS_H
+#define GDBSUPPORT_COMMON_DEFS_H
 
 #if defined (__SANITIZE_THREAD__) && defined (__GNUC__) \
   && !defined (__clang__) && __GNUC__ <= 13
 #define HAVE_USEFUL_SBRK 1
 #endif
 
-#endif /* COMMON_COMMON_DEFS_H */
+#endif /* GDBSUPPORT_COMMON_DEFS_H */
index 8f53cd475dad30348229783af299c3ca5fc58d50..ff0059a79897dc343007730d4e70cb13a47d54c4 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_COMMON_EXCEPTIONS_H
-#define COMMON_COMMON_EXCEPTIONS_H
+#ifndef GDBSUPPORT_COMMON_EXCEPTIONS_H
+#define GDBSUPPORT_COMMON_EXCEPTIONS_H
 
 #include <setjmp.h>
 #include <new>
@@ -358,4 +358,4 @@ struct gdb_quit_bad_alloc
 [[noreturn]] [[noreturn]] extern void throw_forced_quit (const char *fmt, ...)
   ATTRIBUTE_PRINTF (1, 2);
 
-#endif /* COMMON_COMMON_EXCEPTIONS_H */
+#endif /* GDBSUPPORT_COMMON_EXCEPTIONS_H */
index d149f8eed418a8021c075725a39baa0114d8d3b8..289cc8f1b3041eeb9336ffb9d7b0fb85556c6cb6 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_COMMON_GDBTHREAD_H
-#define COMMON_COMMON_GDBTHREAD_H
+#ifndef GDBSUPPORT_COMMON_GDBTHREAD_H
+#define GDBSUPPORT_COMMON_GDBTHREAD_H
 
 struct process_stratum_target;
 
@@ -25,4 +25,4 @@ struct process_stratum_target;
 extern void switch_to_thread (process_stratum_target *proc_target,
                              ptid_t ptid);
 
-#endif /* COMMON_COMMON_GDBTHREAD_H */
+#endif /* GDBSUPPORT_COMMON_GDBTHREAD_H */
index cc625aec2368ebaacd3b224be2cd3231d914f2eb..ef99815894515a64c3f80e768b5157b382f0e412 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_COMMON_INFERIOR_H
-#define COMMON_COMMON_INFERIOR_H
+#ifndef GDBSUPPORT_COMMON_INFERIOR_H
+#define GDBSUPPORT_COMMON_INFERIOR_H
 
 #include "gdbsupport/array-view.h"
 
@@ -57,4 +57,4 @@ extern bool startup_with_shell;
 extern std::string
 construct_inferior_arguments (gdb::array_view<char * const>);
 
-#endif /* COMMON_COMMON_INFERIOR_H */
+#endif /* GDBSUPPORT_COMMON_INFERIOR_H */
index 87ffc22a5e6903f86ad1735ca81e862c63065211..cd30ae949cad24da287882292c04ff723d59b547 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_COMMON_REGCACHE_H
-#define COMMON_COMMON_REGCACHE_H
+#ifndef GDBSUPPORT_COMMON_REGCACHE_H
+#define GDBSUPPORT_COMMON_REGCACHE_H
 
 struct reg_buffer_common;
 
@@ -126,4 +126,4 @@ struct reg_buffer_common
   virtual bool raw_compare (int regnum, const void *buf, int offset) const = 0;
 };
 
-#endif /* COMMON_COMMON_REGCACHE_H */
+#endif /* GDBSUPPORT_COMMON_REGCACHE_H */
index 19d3f49ca0f9a32a807160e6904a80631b40168d..10d5f38ae4a780925da1352d4a3e547666eed3cf 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_COMMON_TYPES_H
-#define COMMON_COMMON_TYPES_H
+#ifndef GDBSUPPORT_COMMON_TYPES_H
+#define GDBSUPPORT_COMMON_TYPES_H
 
 #include <inttypes.h>
 
@@ -53,4 +53,4 @@ typedef uint64_t ULONGEST;
 
 enum tribool { TRIBOOL_UNKNOWN = -1, TRIBOOL_FALSE = 0, TRIBOOL_TRUE = 1 };
 
-#endif /* COMMON_COMMON_TYPES_H */
+#endif /* GDBSUPPORT_COMMON_TYPES_H */
index 65158388881196228ec962d257e33a881f1f386b..114342d845d8d76ce919e7c0518ab1251e7f2d5b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_COMMON_UTILS_H
-#define COMMON_COMMON_UTILS_H
+#ifndef GDBSUPPORT_COMMON_UTILS_H
+#define GDBSUPPORT_COMMON_UTILS_H
 
 #include <string>
 #include <vector>
@@ -257,4 +257,4 @@ struct string_view_hash
 
 } /* namespace gdb */
 
-#endif /* COMMON_COMMON_UTILS_H */
+#endif /* GDBSUPPORT_COMMON_UTILS_H */
index b9aa663c688d21f787c898d3fe3c2e64a850a720..3db6a2fedc969c0bc52924f7a0483a2382145521 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_DEF_VECTOR_H
-#define COMMON_DEF_VECTOR_H
+#ifndef GDBSUPPORT_DEF_VECTOR_H
+#define GDBSUPPORT_DEF_VECTOR_H
 
 #include <vector>
 #include "gdbsupport/default-init-alloc.h"
@@ -33,4 +33,4 @@ template<typename T> using def_vector
 
 } /* namespace gdb */
 
-#endif /* COMMON_DEF_VECTOR_H */
+#endif /* GDBSUPPORT_DEF_VECTOR_H */
index 5ed9715b64c226d3de9eaf2bb112e95b83a3307b..e84110f128a0414965f7675b95a4c5b07ef13412 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_DEFAULT_INIT_ALLOC_H
-#define COMMON_DEFAULT_INIT_ALLOC_H
+#ifndef GDBSUPPORT_DEFAULT_INIT_ALLOC_H
+#define GDBSUPPORT_DEFAULT_INIT_ALLOC_H
 
 #if __cplusplus >= 202002L
 #include <memory_resource>
@@ -75,4 +75,4 @@ public:
 
 } /* namespace gdb */
 
-#endif /* COMMON_DEFAULT_INIT_ALLOC_H */
+#endif /* GDBSUPPORT_DEFAULT_INIT_ALLOC_H */
index 764d521966376682dfa1707d5c95b6b5b9498025..d3291e95d7ee0ba9176c6a64a5cb73d55191ba8b 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_ENUM_FLAGS_H
-#define COMMON_ENUM_FLAGS_H
+#ifndef GDBSUPPORT_ENUM_FLAGS_H
+#define GDBSUPPORT_ENUM_FLAGS_H
 
 #include "traits.h"
 
@@ -482,4 +482,4 @@ enum_flags<E>::to_string (const string_mapping (&mapping)[N]) const
   return res;
 }
 
-#endif /* COMMON_ENUM_FLAGS_H */
+#endif /* GDBSUPPORT_ENUM_FLAGS_H */
index e46050b0350f07305aabd31d2cc26743434f2832..6ac9f75d94e6626b2d20176fa2f5b8e8d254d0c1 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_ENVIRON_H
-#define COMMON_ENVIRON_H
+#ifndef GDBSUPPORT_ENVIRON_H
+#define GDBSUPPORT_ENVIRON_H
 
 #include <vector>
 #include <set>
@@ -100,4 +100,4 @@ private:
   std::set<std::string> m_user_unset_env;
 };
 
-#endif /* COMMON_ENVIRON_H */
+#endif /* GDBSUPPORT_ENVIRON_H */
index c0747f84bae16eff9d06e9cf95500727fbc1885a..6e56e903b18b373e883c1eb62255b727791d4a7d 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_ERRORS_H
-#define COMMON_ERRORS_H
+#ifndef GDBSUPPORT_ERRORS_H
+#define GDBSUPPORT_ERRORS_H
 
 /* A problem was detected, but the requested operation can still
    proceed.  A warning message is constructed using a printf- or
@@ -127,4 +127,4 @@ extern const char *strwinerror (ULONGEST error);
 
 #endif /* USE_WIN32API */
 
-#endif /* COMMON_ERRORS_H */
+#endif /* GDBSUPPORT_ERRORS_H */
index 9155658e8f9f9c8fbe09b65b743597161cf3f5e5..80f471066c81b0a57118f7ab735ed4699fb78256 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef EVENT_LOOP_H
-#define EVENT_LOOP_H
+#ifndef GDBSUPPORT_EVENT_LOOP_H
+#define GDBSUPPORT_EVENT_LOOP_H
 
 /* An event loop listens for events from multiple event sources.  When
    an event arrives, it is queued and processed by calling the
@@ -145,4 +145,4 @@ extern debug_event_loop_kind debug_event_loop;
     } \
   while (0)
 
-#endif /* EVENT_LOOP_H */
+#endif /* GDBSUPPORT_EVENT_LOOP_H */
index fb5dd3a8833c00f30d48dc656ed64eba39b4b002..7262403e26724b4563eb138340a94c50f352046f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_EVENT_PIPE_H
-#define COMMON_EVENT_PIPE_H
+#ifndef GDBSUPPORT_EVENT_PIPE_H
+#define GDBSUPPORT_EVENT_PIPE_H
 
 /* An event pipe used as a waitable file in the event loop in place of
    some other event associated with a signal.  The handler for the
@@ -57,4 +57,4 @@ private:
   int m_fds[2] = { -1, -1 };
 };
 
-#endif /* COMMON_EVENT_PIPE_H */
+#endif /* GDBSUPPORT_EVENT_PIPE_H */
index 2e7469d771b9aed17dcea427dd3e4dcd1aa0a370..7e4c361d14fab9a6cae0e1eb1afac72ae1e52373 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_FILEIO_H
-#define COMMON_FILEIO_H
+#ifndef GDBSUPPORT_FILEIO_H
+#define GDBSUPPORT_FILEIO_H
 
 #include <sys/stat.h>
 
@@ -186,4 +186,4 @@ host_to_fileio_time (time_t num, fio_time_t fnum)
 
 extern void host_to_fileio_stat (struct stat *st, struct fio_stat *fst);
 
-#endif /* COMMON_FILEIO_H */
+#endif /* GDBSUPPORT_FILEIO_H */
index e2ee141d46f01bc0888a871830a5559419b63f03..549987bc29c32dfe520bbfab05f79374b6a9f8cb 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_FILESTUFF_H
-#define COMMON_FILESTUFF_H
+#ifndef GDBSUPPORT_FILESTUFF_H
+#define GDBSUPPORT_FILESTUFF_H
 
 #include <dirent.h>
 #include <fcntl.h>
@@ -137,4 +137,4 @@ extern std::optional<std::string> read_text_file_to_string (const char *path);
 
 extern std::string read_remainder_of_file (FILE *file);
 
-#endif /* COMMON_FILESTUFF_H */
+#endif /* GDBSUPPORT_FILESTUFF_H */
index 12e5e6cd57701b800515752717ec2a7f830cf33c..f801f9614da0a69e86f7395383d073901a1fdf1b 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_FILTERED_ITERATOR_H
-#define COMMON_FILTERED_ITERATOR_H
+#ifndef GDBSUPPORT_FILTERED_ITERATOR_H
+#define GDBSUPPORT_FILTERED_ITERATOR_H
 
 #include <type_traits>
 
@@ -89,4 +89,4 @@ private:
   BaseIterator m_end {};
 };
 
-#endif /* COMMON_FILTERED_ITERATOR_H */
+#endif /* GDBSUPPORT_FILTERED_ITERATOR_H */
index 68504b4475c070430e9affb9bc1594bb10b533ea..b1f0c46d4c25efbe8934afa8c4797c32efe5f03e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_FORMAT_H
-#define COMMON_FORMAT_H
+#ifndef GDBSUPPORT_FORMAT_H
+#define GDBSUPPORT_FORMAT_H
 
 #include <string_view>
 
@@ -101,4 +101,4 @@ private:
   gdb::unique_xmalloc_ptr<char> m_storage;
 };
 
-#endif /* COMMON_FORMAT_H */
+#endif /* GDBSUPPORT_FORMAT_H */
index 6dd22722595541bcada6b414a23bfbc8f76eef16..d4a3fc00cf887c83b30732a6820b7fddce6e89af 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_FORWARD_SCOPE_EXIT_H
-#define COMMON_FORWARD_SCOPE_EXIT_H
+#ifndef GDBSUPPORT_FORWARD_SCOPE_EXIT_H
+#define GDBSUPPORT_FORWARD_SCOPE_EXIT_H
 
 #include "gdbsupport/scope-exit.h"
 #include <functional>
@@ -120,4 +120,4 @@ private:
 #define FORWARD_SCOPE_EXIT(FUNC) \
   detail::forward_scope_exit<decltype (FUNC), FUNC, decltype (FUNC)>
 
-#endif /* COMMON_FORWARD_SCOPE_EXIT_H */
+#endif /* GDBSUPPORT_FORWARD_SCOPE_EXIT_H */
index 9d852c2a3784a69ffe14dd8ae40b71f3f5b34b5e..f826206817433bddf5e5303e6da20032bb678dc2 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_FUNCTION_VIEW_H
-#define COMMON_FUNCTION_VIEW_H
+#ifndef GDBSUPPORT_FUNCTION_VIEW_H
+#define GDBSUPPORT_FUNCTION_VIEW_H
 
 /* function_view is a polymorphic type-erasing wrapper class that
    encapsulates a non-owning reference to arbitrary callable objects.
@@ -448,4 +448,4 @@ auto make_function_view (Callable &&callable)
 
 } /* namespace gdb */
 
-#endif
+#endif /* GDBSUPPORT_FUNCTION_VIEW_H */
index 97843fab2259d044c62af9f698675376413896f5..e8909b9206f8fb823c738e68955e8f1a874629b2 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_CHECKED_STATIC_CAST_H
-#define COMMON_GDB_CHECKED_STATIC_CAST_H
+#ifndef GDBSUPPORT_GDB_CHECKED_STATIC_CAST_H
+#define GDBSUPPORT_GDB_CHECKED_STATIC_CAST_H
 
 #include "gdbsupport/traits.h"
 
@@ -80,4 +80,4 @@ checked_static_cast (V &v)
 
 }
 
-#endif /* COMMON_GDB_CHECKED_STATIC_CAST_H */
+#endif /* GDBSUPPORT_GDB_CHECKED_STATIC_CAST_H */
index 24481d94e5ce4acebb28151f8caf33dc65102db9..654db794638723b390de5b334f38ba58aafe0a5a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_DLFCN_H
-#define GDB_DLFCN_H
+#ifndef GDBSUPPORT_GDB_DLFCN_H
+#define GDBSUPPORT_GDB_DLFCN_H
 
 /* A deleter that closes an open dynamic library.  */
 
@@ -48,4 +48,4 @@ void *gdb_dlsym (const gdb_dlhandle_up &handle, const char *symbol);
 
 int is_dl_available(void);
 
-#endif /* GDB_DLFCN_H */
+#endif /* GDBSUPPORT_GDB_DLFCN_H */
index a91e54a3e65134359cc7c7b6dcbfb7969ebad9c0..f8968ef7e7c70369c367d1fbef1f08418bf08898 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_SAFE_CTYPE_H
-#define GDB_SAFE_CTYPE_H
+#ifndef GDBSUPPORT_GDB_SAFE_CTYPE_H
+#define GDBSUPPORT_GDB_SAFE_CTYPE_H
 
 /* After safe-ctype.h is included, we can no longer use the host's
    ctype routines.  Trying to do so results in compile errors.  Code
@@ -46,4 +46,4 @@ gdb_isprint (int ch)
 #include <locale>
 #include "safe-ctype.h"
 
-#endif
+#endif /* GDBSUPPORT_GDB_SAFE_CTYPE_H */
index 2b5e65574247fa2f328c6474dc47927eada66cdf..dd0e1e2286e4817fc9bea1b55a51c92ef1a224b4 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_ASSERT_H
-#define COMMON_GDB_ASSERT_H
+#ifndef GDBSUPPORT_GDB_ASSERT_H
+#define GDBSUPPORT_GDB_ASSERT_H
 
 #include "errors.h"
 
@@ -43,4 +43,4 @@
   internal_error_loc (__FILE__, __LINE__, _("%s: " message), __func__, \
                      ##__VA_ARGS__)
 
-#endif /* COMMON_GDB_ASSERT_H */
+#endif /* GDBSUPPORT_GDB_ASSERT_H */
index 645ecb9f75c66a224996e5acaaf98eee8ea92b86..41bbbbc51b1bb013f799d051e3ff08707aabd5f8 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDBSUPPORT_GDB_FILE
-#define GDBSUPPORT_GDB_FILE
+#ifndef GDBSUPPORT_GDB_FILE_H
+#define GDBSUPPORT_GDB_FILE_H
 
 #include <memory>
 #include <stdio.h>
@@ -34,4 +34,4 @@ struct gdb_file_deleter
 
 typedef std::unique_ptr<FILE, gdb_file_deleter> gdb_file_up;
 
-#endif
+#endif /* GDBSUPPORT_GDB_FILE_H */
index 58524857879fa1a448a3ef11149acafd1aa16ab5..dcdb064a9173ccd3f327f304f03ca29f4694b5b7 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_LOCALE_H
-#define COMMON_GDB_LOCALE_H
+#ifndef GDBSUPPORT_GDB_LOCALE_H
+#define GDBSUPPORT_GDB_LOCALE_H
 
 #ifdef HAVE_LOCALE_H
 # include <locale.h>
@@ -40,4 +40,4 @@
 #include <langinfo.h>
 #endif
 
-#endif /* COMMON_GDB_LOCALE_H */
+#endif /* GDBSUPPORT_GDB_LOCALE_H */
index 7b3bb05bc00b2b43df79c47481df6019b2472b9e..d40182441f80572dbe2057ba35501749e8fd9f67 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined (GDB_OBSTACK_H)
-#define GDB_OBSTACK_H 1
+#ifndef GDBSUPPORT_GDB_OBSTACK_H
+#define GDBSUPPORT_GDB_OBSTACK_H
 
 #include "obstack.h"
 
@@ -157,4 +157,4 @@ struct allocate_on_obstack
   void operator delete[] (void *memory) {}
 };
 
-#endif
+#endif /* GDBSUPPORT_GDB_OBSTACK_H */
index 52f77a8a5c500cfd68fec153b5914855053cbb59..0009702b978762c4195d8c9ad58a814887b475ba 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_PROC_SERVICE_H
-#define COMMON_GDB_PROC_SERVICE_H
+#ifndef GDBSUPPORT_GDB_PROC_SERVICE_H
+#define GDBSUPPORT_GDB_PROC_SERVICE_H
 
 #include <sys/types.h>
 
@@ -199,4 +199,4 @@ PS_EXPORT (ps_lsetxregs);
 PS_EXPORT (ps_plog);
 #endif
 
-#endif /* COMMON_GDB_PROC_SERVICE_H */
+#endif /* GDBSUPPORT_GDB_PROC_SERVICE_H */
index 8a90cb10b05ec84a241cd3f9e1b041f213e7201a..df2b3d80815370d1c451800dba28b175c14968c9 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_REF_PTR_H
-#define COMMON_GDB_REF_PTR_H
+#ifndef GDBSUPPORT_GDB_REF_PTR_H
+#define GDBSUPPORT_GDB_REF_PTR_H
 
 #include <cstddef>
 
@@ -225,4 +225,4 @@ inline bool operator!= (const std::nullptr_t, const ref_ptr<T, Policy> &rhs)
 
 }
 
-#endif /* COMMON_GDB_REF_PTR_H */
+#endif /* GDBSUPPORT_GDB_REF_PTR_H */
index aeb1bb922a9e62cfb4530d085cda56a926b1470a..76264e5a0c948ba7e3a203217502c1d6fe560886 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef GDB_REGEX_H
-#define GDB_REGEX_H 1
+#ifndef GDBSUPPORT_GDB_REGEX_H
+#define GDBSUPPORT_GDB_REGEX_H
 
 # include "xregex.h"
 
@@ -54,4 +54,4 @@ private:
   regex_t m_pattern;
 };
 
-#endif /* not GDB_REGEX_H */
+#endif /* GDBSUPPORT_GDB_REGEX_H */
index 9f7350a904afd7c73daf7d796f654559e7dd5e11..b229a25478cfa519477123574cd3b17c678422d4 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if !defined(GDB_SELECT_H)
-#define GDB_SELECT_H
+#ifndef GDBSUPPORT_GDB_SELECT_H
+#define GDBSUPPORT_GDB_SELECT_H
 
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
@@ -48,4 +48,4 @@ extern int interruptible_select (int n,
                                 fd_set *exceptfds,
                                 struct timeval *timeout);
 
-#endif /* !defined(GDB_SELECT_H) */
+#endif /* GDBSUPPORT_GDB_SELECT_H */
index e994226cbeaa967265f7f5fc581b95a5062e1658..2482990671d1982cabc33b619769e9e85745594e 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_SETJMP_H
-#define COMMON_GDB_SETJMP_H
+#ifndef GDBSUPPORT_GDB_SETJMP_H
+#define GDBSUPPORT_GDB_SETJMP_H
 
 #include <setjmp.h>
 
@@ -33,4 +33,4 @@
 #define SIGLONGJMP(buf,val)    longjmp((buf), (val))
 #endif
 
-#endif /* COMMON_GDB_SETJMP_H */
+#endif /* GDBSUPPORT_GDB_SETJMP_H */
index 305290e96d4c531ced9a15faf1a0519f49f16754..b2dbcbb1517fb2c5d131f7f5b8a376b7afdd368b 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_SIGNALS_H
-#define COMMON_GDB_SIGNALS_H
+#ifndef GDBSUPPORT_GDB_SIGNALS_H
+#define GDBSUPPORT_GDB_SIGNALS_H
 
 #include "gdb/signals.h"
 
@@ -55,4 +55,4 @@ extern const char *gdb_signal_to_name (enum gdb_signal);
 /* Given a name (SIGHUP, etc.), return its signal.  */
 enum gdb_signal gdb_signal_from_name (const char *);
 
-#endif /* COMMON_GDB_SIGNALS_H */
+#endif /* GDBSUPPORT_GDB_SIGNALS_H */
index 873ad8e27f359bbffd5d5c47b89de8cdfbdc55ea..05be2f1dc4eb3fc500b2a714d5f12b8350c25eeb 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_SPLAY_TREE_H
-#define COMMON_GDB_SPLAY_TREE_H
+#ifndef GDBSUPPORT_GDB_SPLAY_TREE_H
+#define GDBSUPPORT_GDB_SPLAY_TREE_H
 
 #include "splay-tree.h"
 
@@ -39,4 +39,4 @@ struct splay_tree_deleter
 typedef std::unique_ptr<splay_tree_s, gdb::splay_tree_deleter>
     gdb_splay_tree_up;
 
-#endif /* COMMON_GDB_SPLAY_TREE_H */
+#endif /* GDBSUPPORT_GDB_SPLAY_TREE_H */
index 63c93445121b3d4280d40a2213c910e502ac1e48..ca93fc8d293d0812a162e8bfe74ee2521c6735c7 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_SYS_TIME_H
-#define COMMON_GDB_SYS_TIME_H
+#ifndef GDBSUPPORT_GDB_SYS_TIME_H
+#define GDBSUPPORT_GDB_SYS_TIME_H
 
 #include <sys/time.h>
 
@@ -35,4 +35,4 @@
 # undef gettimeofday
 #endif
 
-#endif /* COMMON_GDB_SYS_TIME_H */
+#endif /* GDBSUPPORT_GDB_SYS_TIME_H */
index f16f3a405ee9bf4523dd0bd66543fb0eab23ee40..9618a0c75b10c471648dc7519003983ff3f07223 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_TILDE_EXPAND_H
-#define COMMON_GDB_TILDE_EXPAND_H
+#ifndef GDBSUPPORT_GDB_TILDE_EXPAND_H
+#define GDBSUPPORT_GDB_TILDE_EXPAND_H
 
 /* Perform tilde expansion on PATH, and return the full path.  */
 extern std::string gdb_tilde_expand (const char *path);
@@ -37,4 +37,4 @@ gdb_tilde_expand (const gdb::unique_xmalloc_ptr<char> &path)
   return gdb_tilde_expand (path.get ());
 }
 
-#endif /* COMMON_GDB_TILDE_EXPAND_H */
+#endif /* GDBSUPPORT_GDB_TILDE_EXPAND_H */
index 19b1581dab5c3422dcd8d999a09c9a404de9a6ea..a40e1b133da395d7717542f0c4ac5fa438334f53 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_UNIQUE_PTR_H
-#define COMMON_GDB_UNIQUE_PTR_H
+#ifndef GDBSUPPORT_GDB_UNIQUE_PTR_H
+#define GDBSUPPORT_GDB_UNIQUE_PTR_H
 
 #include <memory>
 #include <string>
@@ -93,4 +93,4 @@ operator+ (const std::string &lhs, const gdb::unique_xmalloc_ptr<char> &rhs)
   return lhs + rhs.get ();
 }
 
-#endif /* COMMON_GDB_UNIQUE_PTR_H */
+#endif /* GDBSUPPORT_GDB_UNIQUE_PTR_H */
index 2da65fe45e8c9ad79ec455078190954626cbbc6d..2b9044290fea5f8e5cc35eaa6baf6635b2ec9fc6 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_UNLINKER_H
-#define COMMON_GDB_UNLINKER_H
+#ifndef GDBSUPPORT_GDB_UNLINKER_H
+#define GDBSUPPORT_GDB_UNLINKER_H
 
 namespace gdb
 {
@@ -57,4 +57,4 @@ class unlinker
 
 }
 
-#endif /* COMMON_GDB_UNLINKER_H */
+#endif /* GDBSUPPORT_GDB_UNLINKER_H */
index 47083cead388868a817e6c55563e88e2d0568ec6..22c165c8a554d13bb278dda7b87fc128a00748c6 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_VECS_H
-#define COMMON_GDB_VECS_H
+#ifndef GDBSUPPORT_GDB_VECS_H
+#define GDBSUPPORT_GDB_VECS_H
 
 /* Split STR, a list of DELIMITER-separated fields, into a char pointer vector.
 
@@ -85,4 +85,4 @@ ordered_remove (std::vector<T> &vec, typename std::vector<T>::size_type ix)
   return removed;
 }
 
-#endif /* COMMON_GDB_VECS_H */
+#endif /* GDBSUPPORT_GDB_VECS_H */
index c6348dbcb1c26cd25b082d1ddaed5176aa484e74..590dcea6a12545a06b464d85171462411a0e1f8e 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_GDB_WAIT_H
-#define COMMON_GDB_WAIT_H
+#ifndef GDBSUPPORT_GDB_WAIT_H
+#define GDBSUPPORT_GDB_WAIT_H
 
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
@@ -128,4 +128,4 @@ extern int windows_status_to_termsig (unsigned long);
 #define __WCLONE       0x80000000 /* Wait for cloned process.  */
 #endif
 
-#endif /* COMMON_GDB_WAIT_H */
+#endif /* GDBSUPPORT_GDB_WAIT_H */
index 6e7a08524f9c4a194d944d6a5689eb0336ea3d0a..5298089ba151a5ed6c552c4a4da4590c1352640c 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_HOST_DEFS_H
-#define COMMON_HOST_DEFS_H
+#ifndef GDBSUPPORT_HOST_DEFS_H
+#define GDBSUPPORT_HOST_DEFS_H
 
 #include <limits.h>
 
@@ -58,4 +58,4 @@
 #define SLASH_STRING "/"
 #endif
 
-#endif /* COMMON_HOST_DEFS_H */
+#endif /* GDBSUPPORT_HOST_DEFS_H */
index 977276d95ce14eeecea5a0f2e74a6cefe1a66944..2b99d69d2bb6bee0a332d7f6d609a7a706581b83 100644 (file)
@@ -18,8 +18,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_JOB_CONTROL_H
-#define COMMON_JOB_CONTROL_H
+#ifndef GDBSUPPORT_JOB_CONTROL_H
+#define GDBSUPPORT_JOB_CONTROL_H
 
 /* Do we have job control?  Can be assumed to always be the same
    within a given run of GDB.  Use in gdb/inflow.c and
@@ -35,4 +35,4 @@ extern int gdb_setpgid ();
    JOB_CONTROL.  */
 extern void have_job_control ();
 
-#endif /* COMMON_JOB_CONTROL_H */
+#endif /* GDBSUPPORT_JOB_CONTROL_H */
index f0df5fe76716d91317d582ff792040cd963dc800..ae8f9bbd9da07369d566062c7618d67704e5665e 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_NETSTUFF_H
-#define COMMON_NETSTUFF_H
+#ifndef GDBSUPPORT_NETSTUFF_H
+#define GDBSUPPORT_NETSTUFF_H
 
 #include <string>
 
@@ -73,4 +73,4 @@ extern parsed_connection_spec
 extern parsed_connection_spec parse_connection_spec (const char *spec,
                                                     struct addrinfo *hint);
 
-#endif /* COMMON_NETSTUFF_H */
+#endif /* GDBSUPPORT_NETSTUFF_H */
index 772083482ee588bb098d2df0172bd6ddf82f7373..6bacb58752a8540fbb3caf740451fb72272e3fc7 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_NEXT_ITERATOR_H
-#define COMMON_NEXT_ITERATOR_H
+#ifndef GDBSUPPORT_NEXT_ITERATOR_H
+#define GDBSUPPORT_NEXT_ITERATOR_H
 
 #include "gdbsupport/iterator-range.h"
 
@@ -77,4 +77,4 @@ private:
 template <typename T>
 using next_range = iterator_range<next_iterator<T>>;
 
-#endif /* COMMON_NEXT_ITERATOR_H */
+#endif /* GDBSUPPORT_NEXT_ITERATOR_H */
index 41e0ba385c994e0dc906a838287ec7886b81e918..b386bbcee2965aa3b8945f047671695d1df67efa 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_OBSERVABLE_H
-#define COMMON_OBSERVABLE_H
+#ifndef GDBSUPPORT_OBSERVABLE_H
+#define GDBSUPPORT_OBSERVABLE_H
 
 #include <algorithm>
 #include <functional>
@@ -248,4 +248,4 @@ private:
 
 } /* namespace gdb */
 
-#endif /* COMMON_OBSERVABLE_H */
+#endif /* GDBSUPPORT_OBSERVABLE_H */
index b49310f2638f4027d5ff98a8d05d3de46dd9c1f4..5e005a50553457e4fe3fe970243a85e7bd3812ec 100644 (file)
@@ -45,8 +45,8 @@
 
    However, unlike pointers, you can't deference offset types.  */
 
-#ifndef COMMON_OFFSET_TYPE_H
-#define COMMON_OFFSET_TYPE_H
+#ifndef GDBSUPPORT_OFFSET_TYPE_H
+#define GDBSUPPORT_OFFSET_TYPE_H
 
 /* Declare TYPE as being an offset type.  This declares the type and
    enables the operators defined below.  */
@@ -130,4 +130,4 @@ operator- (E lhs, E rhs)
   return static_cast<underlying> (lhs) - static_cast<underlying> (rhs);
 }
 
-#endif /* COMMON_OFFSET_TYPE_H */
+#endif /* GDBSUPPORT_OFFSET_TYPE_H */
index 6763bd81fce3a9e5656f48959ca6b791d3377524..5d0fb1c33982c1429755bb3bb23373c6137be955 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef OSABI_COMMON_H
-#define OSABI_COMMON_H
+#ifndef GDBSUPPORT_OSABI_H
+#define GDBSUPPORT_OSABI_H
 
 /* List of known OS ABIs.  If you change this, make sure to update the
    table in osabi.cc.  */
@@ -51,4 +51,4 @@ const char *gdbarch_osabi_name (enum gdb_osabi);
    configury triplet for the given OSABI.  */
 const char *osabi_triplet_regexp (enum gdb_osabi osabi);
 
-#endif /* OSABI_COMMON_H */
+#endif /* GDBSUPPORT_OSABI_H */
index 5c817d4c9ccee7a809d22937cfa8be64f57e4929..37f02d26373c24f2ccaf2e68e38575ee14a10000 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef PACKED_H
-#define PACKED_H
+#ifndef GDBSUPPORT_PACKED_H
+#define GDBSUPPORT_PACKED_H
 
 #include "traits.h"
 #include <atomic>
@@ -163,4 +163,4 @@ PACKED_ATOMIC_OP (<=)
 
 #undef PACKED_ATOMIC_OP
 
-#endif
+#endif /* GDBSUPPORT_PACKED_H */
index 15c7872aa9ab10e7f995d267b007011692ce8fbd..15e407f85fcafadc2ede95a94b2bd12d6799a07a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_PATHSTUFF_H
-#define COMMON_PATHSTUFF_H
+#ifndef GDBSUPPORT_PATHSTUFF_H
+#define GDBSUPPORT_PATHSTUFF_H
 
 #include "gdbsupport/byte-vector.h"
 #include "gdbsupport/array-view.h"
@@ -180,4 +180,4 @@ extern const char *get_shell ();
 
 extern gdb::char_vector make_temp_filename (const std::string &f);
 
-#endif /* COMMON_PATHSTUFF_H */
+#endif /* GDBSUPPORT_PATHSTUFF_H */
index 7b4f8e8a178d074d8f849d61db7322239dc9a533..66f0fcf53b8a20c7ac493b65ab8d7fd98545bd6c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_POISON_H
-#define COMMON_POISON_H
+#ifndef GDBSUPPORT_POISON_H
+#define GDBSUPPORT_POISON_H
 
 #include "traits.h"
 #include "obstack.h"
@@ -237,4 +237,4 @@ non-POD data type.");
 #undef XOBNEWVEC
 #define XOBNEWVEC(O, T, N) xobnewvec<T> (O, N)
 
-#endif /* COMMON_POISON_H */
+#endif /* GDBSUPPORT_POISON_H */
index 96b3b94bf35617782f7254df2374d1984a571f47..23177d5d82ec1540dca7d01bd1ab9f2b660df902 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_PREPROCESSOR_H
-#define COMMON_PREPROCESSOR_H
+#ifndef GDBSUPPORT_PREPROCESSOR_H
+#define GDBSUPPORT_PREPROCESSOR_H
 
 /* Generally useful preprocessor bits.  */
 
@@ -32,4 +32,4 @@
    includes commas to another macro.  */
 #define ESC_PARENS(...) __VA_ARGS__
 
-#endif /* COMMON_PREPROCESSOR_H */
+#endif /* GDBSUPPORT_PREPROCESSOR_H */
index 5c5869ec1ae6307fb19fdf9d83e9778b91ce99d4..dcc6804579185a4bf0ec94d7c6df0f59aad4d62c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_PRINT_UTILS_H
-#define COMMON_PRINT_UTILS_H
+#ifndef GDBSUPPORT_PRINT_UTILS_H
+#define GDBSUPPORT_PRINT_UTILS_H
 
 /* How many characters (including the terminating null byte) fit in a
    cell.  */
@@ -82,4 +82,4 @@ extern const char *host_address_to_string_1 (const void *addr);
 
 extern char *get_print_cell (void);
 
-#endif /* COMMON_PRINT_UTILS_H */
+#endif /* GDBSUPPORT_PRINT_UTILS_H */
index fef9749ee803f188a8333e9a38a2c002a97e2d8f..f502efe7484174f7db3a8b0e0683f6f11354c516 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_PTID_H
-#define COMMON_PTID_H
+#ifndef GDBSUPPORT_PTID_H
+#define GDBSUPPORT_PTID_H
 
 /* The ptid struct is a collection of the various "ids" necessary for
    identifying the inferior process/thread being debugged.  This
@@ -182,4 +182,4 @@ extern const ptid_t null_ptid;
 
 extern const ptid_t minus_one_ptid;
 
-#endif /* COMMON_PTID_H */
+#endif /* GDBSUPPORT_PTID_H */
index 9cdf0f1072906e052c95334cbf540a16d0133e72..42bf71a0309755dd24925a32807364c18fcf3936 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_REFCOUNTED_OBJECT_H
-#define COMMON_REFCOUNTED_OBJECT_H
+#ifndef GDBSUPPORT_REFCOUNTED_OBJECT_H
+#define GDBSUPPORT_REFCOUNTED_OBJECT_H
 
 /* Base class of intrusively reference-countable objects.
    Incrementing and decrementing the reference count is an external
@@ -84,4 +84,4 @@ struct refcounted_object_delete_ref_policy
   }
 };
 
-#endif /* COMMON_REFCOUNTED_OBJECT_H */
+#endif /* GDBSUPPORT_REFCOUNTED_OBJECT_H */
index 801df0ebc0c20551620cf4a27be034837406011c..e91c79e822fc6f0a2798a0528e2e89671285e488 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_RSP_LOW_H
-#define COMMON_RSP_LOW_H
+#ifndef GDBSUPPORT_RSP_LOW_H
+#define GDBSUPPORT_RSP_LOW_H
 
 /* Convert number NIB to a hex digit.  */
 
@@ -81,4 +81,4 @@ extern int remote_escape_output (const gdb_byte *buffer, int len_units,
 extern int remote_unescape_input (const gdb_byte *buffer, int len,
                                  gdb_byte *out_buf, int out_maxlen);
 
-#endif /* COMMON_RSP_LOW_H */
+#endif /* GDBSUPPORT_RSP_LOW_H */
index 8176151add98db3cdc8c5dd43dce9fc546068863..f4328543945a84a7a65500e923e21c1d26529dcf 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_RUN_TIME_CLOCK_H
-#define COMMON_RUN_TIME_CLOCK_H
+#ifndef GDBSUPPORT_RUN_TIME_CLOCK_H
+#define GDBSUPPORT_RUN_TIME_CLOCK_H
 
 #include <chrono>
 
@@ -72,4 +72,4 @@ struct run_time_clock
                   system_cpu_time_clock::time_point &system) noexcept;
 };
 
-#endif /* COMMON_RUN_TIME_CLOCK_H */
+#endif /* GDBSUPPORT_RUN_TIME_CLOCK_H */
index f69f3896758cf324383cac598d173b03912a0bfe..f31f92f6c24e128bb6cd128ddf5f9c3c9c0481e0 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SAFE_ITERATOR_H
-#define COMMON_SAFE_ITERATOR_H
+#ifndef GDBSUPPORT_SAFE_ITERATOR_H
+#define GDBSUPPORT_SAFE_ITERATOR_H
 
 #include <type_traits>
 
@@ -136,4 +136,4 @@ private:
   Range m_range;
 };
 
-#endif /* COMMON_SAFE_ITERATOR_H */
+#endif /* GDBSUPPORT_SAFE_ITERATOR_H */
index 2871a59c0020a2b1442f837c8e42eab9385ec879..c0aadd9cb6698c0761f8b0aa1235570a96fcf42e 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SCOPE_EXIT_H
-#define COMMON_SCOPE_EXIT_H
+#ifndef GDBSUPPORT_SCOPE_EXIT_H
+#define GDBSUPPORT_SCOPE_EXIT_H
 
 #include <functional>
 #include <type_traits>
@@ -168,4 +168,4 @@ operator+ (scope_exit_lhs, EF &&rhs)
 #define SCOPE_EXIT \
   auto CONCAT(scope_exit_, __LINE__) = ::detail::scope_exit_lhs () + [&] ()
 
-#endif /* COMMON_SCOPE_EXIT_H */
+#endif /* GDBSUPPORT_SCOPE_EXIT_H */
index aa214b2c1c1ab6f07d68614d5ea1f2e807b8ccf5..240685a927ba51e4c15dbfeb9cfb0d4c7c0e94f9 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SCOPED_FD_H
-#define COMMON_SCOPED_FD_H
+#ifndef GDBSUPPORT_SCOPED_FD_H
+#define GDBSUPPORT_SCOPED_FD_H
 
 #include <unistd.h>
 #include "gdb_file.h"
@@ -84,4 +84,4 @@ private:
   int m_fd;
 };
 
-#endif /* COMMON_SCOPED_FD_H */
+#endif /* GDBSUPPORT_SCOPED_FD_H */
index 74fc69057a819c39e8122f20d4090d2bdb80f327..2fecd58466da7d9e14578fae331403557aeaee94 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SCOPED_IGNORE_SIGNAL_H
-#define SCOPED_IGNORE_SIGNAL_H
+#ifndef GDBSUPPORT_SCOPED_IGNORE_SIGNAL_H
+#define GDBSUPPORT_SCOPED_IGNORE_SIGNAL_H
 
 #include <signal.h>
 
@@ -118,4 +118,4 @@ using scoped_ignore_sigpipe = scoped_ignore_signal<SIGPIPE, true>;
 using scoped_ignore_sigpipe = scoped_ignore_signal_nop;
 #endif
 
-#endif /* SCOPED_IGNORE_SIGNAL_H */
+#endif /* GDBSUPPORT_SCOPED_IGNORE_SIGNAL_H */
index de2e40a6492cc5df9f41ae30c99beaab0d2fcb37..bb4e86d5b21ca78ed1c77ed5b9feb4bc687fae0e 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef SCOPED_IGNORE_SIGTTOU_H
-#define SCOPED_IGNORE_SIGTTOU_H
+#ifndef GDBSUPPORT_SCOPED_IGNORE_SIGTTOU_H
+#define GDBSUPPORT_SCOPED_IGNORE_SIGTTOU_H
 
 #include "gdbsupport/scoped_ignore_signal.h"
 #include "gdbsupport/job-control.h"
@@ -84,4 +84,4 @@ using scoped_ignore_sigttou = scoped_ignore_signal_nop;
 
 #endif
 
-#endif /* SCOPED_IGNORE_SIGTTOU_H */
+#endif /* GDBSUPPORT_SCOPED_IGNORE_SIGTTOU_H */
index 8383b8933b5b6b4f43e251a9df9e2a8a8abaec80..ea2f4fd3af5b88471b97f18c3251ab5fb6b3327a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SCOPED_MMAP_H
-#define COMMON_SCOPED_MMAP_H
+#ifndef GDBSUPPORT_SCOPED_MMAP_H
+#define GDBSUPPORT_SCOPED_MMAP_H
 
 #ifdef HAVE_SYS_MMAN_H
 
@@ -88,4 +88,4 @@ scoped_mmap mmap_file (const char *filename);
 
 #endif /* HAVE_SYS_MMAN_H */
 
-#endif /* COMMON_SCOPED_MMAP_H */
+#endif /* GDBSUPPORT_SCOPED_MMAP_H */
index 96fe5256f800e9d1855f1001c7dfbc107389746b..5833b928fe342ab2aaf7d6236f639d8e6e3fcde4 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SCOPED_RESTORE_H
-#define COMMON_SCOPED_RESTORE_H
+#ifndef GDBSUPPORT_SCOPED_RESTORE_H
+#define GDBSUPPORT_SCOPED_RESTORE_H
 
 /* Base class for scoped_restore_tmpl.  */
 class scoped_restore_base
@@ -115,4 +115,4 @@ scoped_restore_tmpl<T> make_scoped_restore (T *var, T2 value)
   return scoped_restore_tmpl<T> (var, value);
 }
 
-#endif /* COMMON_SCOPED_RESTORE_H */
+#endif /* GDBSUPPORT_SCOPED_RESTORE_H */
index 42a9fd2308329291c48136f954864584557e78f3..f8c003bf6df79d7254e5df15e494e25663f74873 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SEARCH_H
-#define COMMON_SEARCH_H
+#ifndef GDBSUPPORT_SEARCH_H
+#define GDBSUPPORT_SEARCH_H
 
 #include "gdbsupport/function-view.h"
 
@@ -39,4 +39,4 @@ extern int simple_search_memory
    ULONGEST pattern_len,
    CORE_ADDR *found_addrp);
 
-#endif /* COMMON_SEARCH_H */
+#endif /* GDBSUPPORT_SEARCH_H */
index 41d1210a5a59ef47337150b1acce1c7f5a72a814..cbbdd01093d1208dff6ed5da87d81a33d11e04a0 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SELFTEST_H
-#define COMMON_SELFTEST_H
+#ifndef GDBSUPPORT_SELFTEST_H
+#define GDBSUPPORT_SELFTEST_H
 
 #include "gdbsupport/array-view.h"
 #include "gdbsupport/function-view.h"
@@ -93,4 +93,4 @@ extern void reset ();
       error (_("self-test failed at %s:%d"), __FILE__, __LINE__);      \
   } while (0)
 
-#endif /* COMMON_SELFTEST_H */
+#endif /* GDBSUPPORT_SELFTEST_H */
index 132aaa8c5228f503a7c4073a6b6ae9cad75008d7..e01ac36fe995e9395e53b25675e7518570b255a2 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SIGNALS_STATE_SAVE_RESTORE_H
-#define COMMON_SIGNALS_STATE_SAVE_RESTORE_H
+#ifndef GDBSUPPORT_SIGNALS_STATE_SAVE_RESTORE_H
+#define GDBSUPPORT_SIGNALS_STATE_SAVE_RESTORE_H
 
 /* Save/restore the signal actions of all signals, and the signal
    mask.
@@ -37,4 +37,4 @@ extern void save_original_signals_state (bool quiet);
 
 extern void restore_original_signals_state (void);
 
-#endif /* COMMON_SIGNALS_STATE_SAVE_RESTORE_H */
+#endif /* GDBSUPPORT_SIGNALS_STATE_SAVE_RESTORE_H */
index 3e1dc9d29d3d896b7b4cb38df69d3d44e50792ac..de439c07179610c66a5ae516f9c7c66a21576f4c 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_SYMBOL_H
-#define COMMON_SYMBOL_H
+#ifndef GDBSUPPORT_SYMBOL_H
+#define GDBSUPPORT_SYMBOL_H
 
 struct objfile;
 
@@ -34,4 +34,4 @@ struct objfile;
 extern int find_minimal_symbol_address (const char *name, CORE_ADDR *addr,
                                        struct objfile *objfile);
 
-#endif /* COMMON_SYMBOL_H */
+#endif /* GDBSUPPORT_SYMBOL_H */
index c9e7603369cbf986187908c2d1f8fbe35a0dc02d..eafa95da955e70e64253229ebfc5b3424f4f7465 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_TDESC_H
-#define COMMON_TDESC_H
+#ifndef GDBSUPPORT_TDESC_H
+#define GDBSUPPORT_TDESC_H
 
 #include "gdbsupport/osabi.h"
 
@@ -464,4 +464,4 @@ private:
   int m_depth;
 };
 
-#endif /* COMMON_TDESC_H */
+#endif /* GDBSUPPORT_TDESC_H */
index 85cbc94bc6c952f797fc904db31d07ce3599c9d8..7350cc45d9c33ecd27083241bf330a14b2820b56 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_TRAITS_H
-#define COMMON_TRAITS_H
+#ifndef GDBSUPPORT_TRAITS_H
+#define GDBSUPPORT_TRAITS_H
 
 #include <type_traits>
 
@@ -147,4 +147,4 @@ template<typename T>
 using RequireLongest = gdb::Requires<gdb::Or<std::is_same<T, LONGEST>,
                                             std::is_same<T, ULONGEST>>>;
 
-#endif /* COMMON_TRAITS_H */
+#endif /* GDBSUPPORT_TRAITS_H */
index d9c5696a4cd5a0f0d2e58bdb7f941171da0dfac8..a3e7e3fca851494c094b728ef422a0ce736af555 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_UNDERLYING_H
-#define COMMON_UNDERLYING_H
+#ifndef GDBSUPPORT_UNDERLYING_H
+#define GDBSUPPORT_UNDERLYING_H
 
 #include <type_traits>
 
@@ -29,4 +29,4 @@ to_underlying (E val) noexcept
   return static_cast<typename std::underlying_type<E>::type> (val);
 }
 
-#endif
+#endif /* GDBSUPPORT_UNDERLYING_H */
index 6d2b481c6e13f3f6bab0a872338a4bf39ea84aec..ef51958dc09b44059ced62f4b799c8fc205f18a9 100644 (file)
@@ -23,8 +23,8 @@
    right type.  This is mainly used to verify that some utility's API
    is really as safe as intended.  */
 
-#ifndef COMMON_VALID_EXPR_H
-#define COMMON_VALID_EXPR_H
+#ifndef GDBSUPPORT_VALID_EXPR_H
+#define GDBSUPPORT_VALID_EXPR_H
 
 #include "gdbsupport/preprocessor.h"
 #include "gdbsupport/traits.h"
                        ESC_PARENS (T1, T2, T3, T4, T5, T6),            \
                        VALID, EXPR_TYPE, EXPR)
 
-#endif /* COMMON_VALID_EXPR_H */
+#endif /* GDBSUPPORT_VALID_EXPR_H */
index 7c60a96391963ef0fe2ca184a296154b89a31e29..052d613d47eeb0f5c4ce73e7e34d769b4548253f 100644 (file)
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_VERSION_H
-#define COMMON_VERSION_H
+#ifndef GDBSUPPORT_VERSION_H
+#define GDBSUPPORT_VERSION_H
 
 /* Version number of GDB, as a string.  */
 extern const char version[];
@@ -28,4 +28,4 @@ extern const char host_name[];
 /* Canonical target name as a string.  */
 extern const char target_name[];
 
-#endif /* COMMON_VERSION_H */
+#endif /* GDBSUPPORT_VERSION_H */
index b9a9b6cd3424caf957371529a39f7b61b5fedf9d..45300b2c18d967cd6f33dbfb2698fdaee1be9c06 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_X86_XSTATE_H
-#define COMMON_X86_XSTATE_H
+#ifndef GDBSUPPORT_X86_XSTATE_H
+#define GDBSUPPORT_X86_XSTATE_H
 
 /* The extended state feature IDs in the state component bitmap.  */
 #define X86_XSTATE_X87_ID      0
@@ -127,4 +127,4 @@ constexpr bool operator!= (const x86_xsave_layout &lhs,
   the process/thread is in.  */
 #define I386_LINUX_XSAVE_XCR0_OFFSET 464
 
-#endif /* COMMON_X86_XSTATE_H */
+#endif /* GDBSUPPORT_X86_XSTATE_H */
index c1f21b9b8ec5e74cc545a3f43cfb8e40761b84d2..d68f4c9801889bc28ddc6ca6e4164e7a149d694f 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef COMMON_XML_UTILS_H
-#define COMMON_XML_UTILS_H
+#ifndef GDBSUPPORT_XML_UTILS_H
+#define GDBSUPPORT_XML_UTILS_H
 
 /* Return a string with special characters from TEXT replaced by entity
    references.  */
@@ -40,4 +40,4 @@ extern void xml_escape_text_append (std::string &result, const char *text);
 void string_xml_appendf (std::string &buffer, const char *format, ...)
   ATTRIBUTE_PRINTF (2, 3);
 
-#endif /* COMMON_XML_UTILS_H */
+#endif /* GDBSUPPORT_XML_UTILS_H */