]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Rename common to gdbsupport
authorTom Tromey <tom@tromey.com>
Mon, 6 May 2019 02:29:24 +0000 (20:29 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 9 Jul 2019 13:45:38 +0000 (07:45 -0600)
This is the next patch in the ongoing series to move gdbsever to the
top level.

This patch just renames the "common" directory.  The idea is to do
this move in two parts: first rename the directory (this patch), then
move the directory to the top.  This approach makes the patches a bit
more tractable.

I chose the name "gdbsupport" for the directory.  However, as this
patch was largely written by sed, we could pick a new name without too
much difficulty.

Tested by the buildbot.

gdb/ChangeLog
2019-07-09  Tom Tromey  <tom@tromey.com>

* contrib/ari/gdb_ari.sh: Change common to gdbsupport.
* configure: Rebuild.
* configure.ac: Change common to gdbsupport.
* gdbsupport: Rename from common.
* acinclude.m4: Change common to gdbsupport.
* Makefile.in (CONFIG_SRC_SUBDIR, COMMON_SFILES)
(HFILES_NO_SRCDIR, stamp-version, ALLDEPFILES): Change common to
gdbsupport.
* aarch64-tdep.c, ada-lang.c, ada-lang.h, agent.c, alloc.c,
amd64-darwin-tdep.c, amd64-dicos-tdep.c, amd64-fbsd-nat.c,
amd64-fbsd-tdep.c, amd64-linux-nat.c, amd64-linux-tdep.c,
amd64-nbsd-tdep.c, amd64-obsd-tdep.c, amd64-sol2-tdep.c,
amd64-tdep.c, amd64-windows-tdep.c, arch-utils.c,
arch/aarch64-insn.c, arch/aarch64.c, arch/aarch64.h, arch/amd64.c,
arch/amd64.h, arch/arm-get-next-pcs.c, arch/arm-linux.c,
arch/arm.c, arch/i386.c, arch/i386.h, arch/ppc-linux-common.c,
arch/riscv.c, arch/riscv.h, arch/tic6x.c, arm-tdep.c, auto-load.c,
auxv.c, ax-gdb.c, ax-general.c, ax.h, breakpoint.c, breakpoint.h,
btrace.c, btrace.h, build-id.c, build-id.h, c-lang.h, charset.c,
charset.h, cli/cli-cmds.c, cli/cli-cmds.h, cli/cli-decode.c,
cli/cli-dump.c, cli/cli-option.h, cli/cli-script.c,
coff-pe-read.c, command.h, compile/compile-c-support.c,
compile/compile-c.h, compile/compile-cplus-symbols.c,
compile/compile-cplus-types.c, compile/compile-cplus.h,
compile/compile-loc2c.c, compile/compile.c, completer.c,
completer.h, contrib/ari/gdb_ari.sh, corefile.c, corelow.c,
cp-support.c, cp-support.h, cp-valprint.c, csky-tdep.c, ctf.c,
darwin-nat.c, debug.c, defs.h, disasm-selftests.c, disasm.c,
disasm.h, dtrace-probe.c, dwarf-index-cache.c,
dwarf-index-cache.h, dwarf-index-write.c, dwarf2-frame.c,
dwarf2expr.c, dwarf2loc.c, dwarf2read.c, event-loop.c,
event-top.c, exceptions.c, exec.c, extension.h, fbsd-nat.c,
features/aarch64-core.c, features/aarch64-fpu.c,
features/aarch64-pauth.c, features/aarch64-sve.c,
features/i386/32bit-avx.c, features/i386/32bit-avx512.c,
features/i386/32bit-core.c, features/i386/32bit-linux.c,
features/i386/32bit-mpx.c, features/i386/32bit-pkeys.c,
features/i386/32bit-segments.c, features/i386/32bit-sse.c,
features/i386/64bit-avx.c, features/i386/64bit-avx512.c,
features/i386/64bit-core.c, features/i386/64bit-linux.c,
features/i386/64bit-mpx.c, features/i386/64bit-pkeys.c,
features/i386/64bit-segments.c, features/i386/64bit-sse.c,
features/i386/x32-core.c, features/riscv/32bit-cpu.c,
features/riscv/32bit-csr.c, features/riscv/32bit-fpu.c,
features/riscv/64bit-cpu.c, features/riscv/64bit-csr.c,
features/riscv/64bit-fpu.c, features/tic6x-c6xp.c,
features/tic6x-core.c, features/tic6x-gp.c, filename-seen-cache.h,
findcmd.c, findvar.c, fork-child.c, gcore.c, gdb_bfd.c, gdb_bfd.h,
gdb_proc_service.h, gdb_regex.c, gdb_select.h, gdb_usleep.c,
gdbarch-selftests.c, gdbthread.h, gdbtypes.h, gnu-nat.c,
go32-nat.c, guile/guile.c, guile/scm-ports.c,
guile/scm-safe-call.c, guile/scm-type.c, i386-fbsd-nat.c,
i386-fbsd-tdep.c, i386-go32-tdep.c, i386-linux-nat.c,
i386-linux-tdep.c, i386-tdep.c, i387-tdep.c,
ia64-libunwind-tdep.c, ia64-linux-nat.c, inf-child.c,
inf-ptrace.c, infcall.c, infcall.h, infcmd.c, inferior-iter.h,
inferior.c, inferior.h, inflow.c, inflow.h, infrun.c, infrun.h,
inline-frame.c, language.h, linespec.c, linux-fork.c, linux-nat.c,
linux-tdep.c, linux-thread-db.c, location.c, machoread.c,
macrotab.h, main.c, maint.c, maint.h, memattr.c, memrange.h,
mi/mi-cmd-break.h, mi/mi-cmd-env.c, mi/mi-cmd-stack.c,
mi/mi-cmd-var.c, mi/mi-interp.c, mi/mi-main.c, mi/mi-parse.h,
minsyms.c, mips-linux-tdep.c, namespace.h,
nat/aarch64-linux-hw-point.c, nat/aarch64-linux-hw-point.h,
nat/aarch64-linux.c, nat/aarch64-sve-linux-ptrace.c,
nat/amd64-linux-siginfo.c, nat/fork-inferior.c,
nat/linux-btrace.c, nat/linux-btrace.h, nat/linux-namespaces.c,
nat/linux-nat.h, nat/linux-osdata.c, nat/linux-personality.c,
nat/linux-procfs.c, nat/linux-ptrace.c, nat/linux-ptrace.h,
nat/linux-waitpid.c, nat/mips-linux-watch.c,
nat/mips-linux-watch.h, nat/ppc-linux.c, nat/x86-dregs.c,
nat/x86-dregs.h, nat/x86-linux-dregs.c, nat/x86-linux.c,
nto-procfs.c, nto-tdep.c, objfile-flags.h, objfiles.c, objfiles.h,
obsd-nat.c, observable.h, osdata.c, p-valprint.c, parse.c,
parser-defs.h, ppc-linux-nat.c, printcmd.c, probe.c, proc-api.c,
procfs.c, producer.c, progspace.h, psymtab.h,
python/py-framefilter.c, python/py-inferior.c, python/py-ref.h,
python/py-type.c, python/python.c, record-btrace.c, record-full.c,
record.c, record.h, regcache-dump.c, regcache.c, regcache.h,
remote-fileio.c, remote-fileio.h, remote-sim.c, remote.c,
riscv-tdep.c, rs6000-aix-tdep.c, rust-exp.y, s12z-tdep.c,
selftest-arch.c, ser-base.c, ser-event.c, ser-pipe.c, ser-tcp.c,
ser-unix.c, skip.c, solib-aix.c, solib-target.c, solib.c,
source-cache.c, source.c, source.h, sparc-nat.c, spu-linux-nat.c,
stack.c, stap-probe.c, symfile-add-flags.h, symfile.c, symfile.h,
symtab.c, symtab.h, target-descriptions.c, target-descriptions.h,
target-memory.c, target.c, target.h, target/waitstatus.c,
target/waitstatus.h, thread-iter.h, thread.c, tilegx-tdep.c,
top.c, top.h, tracefile-tfile.c, tracefile.c, tracepoint.c,
tracepoint.h, tui/tui-io.c, ui-file.c, ui-out.h,
unittests/array-view-selftests.c,
unittests/child-path-selftests.c, unittests/cli-utils-selftests.c,
unittests/common-utils-selftests.c,
unittests/copy_bitwise-selftests.c, unittests/environ-selftests.c,
unittests/format_pieces-selftests.c,
unittests/function-view-selftests.c,
unittests/lookup_name_info-selftests.c,
unittests/memory-map-selftests.c, unittests/memrange-selftests.c,
unittests/mkdir-recursive-selftests.c,
unittests/observable-selftests.c,
unittests/offset-type-selftests.c, unittests/optional-selftests.c,
unittests/parse-connection-spec-selftests.c,
unittests/ptid-selftests.c, unittests/rsp-low-selftests.c,
unittests/scoped_fd-selftests.c,
unittests/scoped_mmap-selftests.c,
unittests/scoped_restore-selftests.c,
unittests/string_view-selftests.c, unittests/style-selftests.c,
unittests/tracepoint-selftests.c, unittests/unpack-selftests.c,
unittests/utils-selftests.c, unittests/xml-utils-selftests.c,
utils.c, utils.h, valarith.c, valops.c, valprint.c, value.c,
value.h, varobj.c, varobj.h, windows-nat.c, x86-linux-nat.c,
xml-support.c, xml-support.h, xml-tdesc.h, xstormy16-tdep.c,
xtensa-linux-nat.c, dwarf2read.h: Change common to gdbsupport.

gdb/gdbserver/ChangeLog
2019-07-09  Tom Tromey  <tom@tromey.com>

* configure: Rebuild.
* configure.ac: Change common to gdbsupport.
* acinclude.m4: Change common to gdbsupport.
* Makefile.in (SFILES, OBS, GDBREPLAY_OBS, IPA_OBJS)
(version-generated.c, gdbsupport/%-ipa.o, gdbsupport/%.o): Change
common to gdbsupport.
* ax.c, event-loop.c, fork-child.c, gdb_proc_service.h,
gdbreplay.c, gdbthread.h, hostio-errno.c, hostio.c, i387-fp.c,
inferiors.c, inferiors.h, linux-aarch64-tdesc-selftest.c,
linux-amd64-ipa.c, linux-i386-ipa.c, linux-low.c,
linux-tic6x-low.c, linux-x86-low.c, linux-x86-tdesc-selftest.c,
linux-x86-tdesc.c, lynx-i386-low.c, lynx-low.c, mem-break.h,
nto-x86-low.c, regcache.c, regcache.h, remote-utils.c, server.c,
server.h, spu-low.c, symbol.c, target.h, tdesc.c, tdesc.h,
thread-db.c, tracepoint.c, win32-i386-low.c, win32-low.c: Change
common to gdbsupport.

488 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/aarch64-tdep.c
gdb/acinclude.m4
gdb/ada-lang.c
gdb/ada-lang.h
gdb/agent.c
gdb/alloc.c
gdb/amd64-darwin-tdep.c
gdb/amd64-dicos-tdep.c
gdb/amd64-fbsd-nat.c
gdb/amd64-fbsd-tdep.c
gdb/amd64-linux-nat.c
gdb/amd64-linux-tdep.c
gdb/amd64-nbsd-tdep.c
gdb/amd64-obsd-tdep.c
gdb/amd64-sol2-tdep.c
gdb/amd64-tdep.c
gdb/amd64-windows-tdep.c
gdb/arch-utils.c
gdb/arch/aarch64-insn.c
gdb/arch/aarch64.c
gdb/arch/aarch64.h
gdb/arch/amd64.c
gdb/arch/amd64.h
gdb/arch/arm-get-next-pcs.c
gdb/arch/arm-linux.c
gdb/arch/arm.c
gdb/arch/i386.c
gdb/arch/i386.h
gdb/arch/ppc-linux-common.c
gdb/arch/riscv.c
gdb/arch/riscv.h
gdb/arch/tic6x.c
gdb/arm-tdep.c
gdb/auto-load.c
gdb/auxv.c
gdb/ax-gdb.c
gdb/ax-general.c
gdb/ax.h
gdb/breakpoint.c
gdb/breakpoint.h
gdb/btrace.c
gdb/btrace.h
gdb/build-id.c
gdb/build-id.h
gdb/c-lang.h
gdb/charset.c
gdb/charset.h
gdb/cli/cli-cmds.c
gdb/cli/cli-cmds.h
gdb/cli/cli-decode.c
gdb/cli/cli-dump.c
gdb/cli/cli-option.h
gdb/cli/cli-script.c
gdb/coff-pe-read.c
gdb/command.h
gdb/compile/compile-c-support.c
gdb/compile/compile-c.h
gdb/compile/compile-cplus-symbols.c
gdb/compile/compile-cplus-types.c
gdb/compile/compile-cplus.h
gdb/compile/compile-loc2c.c
gdb/compile/compile.c
gdb/completer.c
gdb/completer.h
gdb/configure
gdb/configure.ac
gdb/contrib/ari/gdb_ari.sh
gdb/corefile.c
gdb/corelow.c
gdb/cp-support.c
gdb/cp-support.h
gdb/cp-valprint.c
gdb/csky-tdep.c
gdb/ctf.c
gdb/darwin-nat.c
gdb/debug.c
gdb/defs.h
gdb/disasm-selftests.c
gdb/disasm.c
gdb/disasm.h
gdb/dtrace-probe.c
gdb/dwarf-index-cache.c
gdb/dwarf-index-cache.h
gdb/dwarf-index-write.c
gdb/dwarf2-frame.c
gdb/dwarf2expr.c
gdb/dwarf2loc.c
gdb/dwarf2read.c
gdb/dwarf2read.h
gdb/event-loop.c
gdb/event-top.c
gdb/exceptions.c
gdb/exec.c
gdb/extension.h
gdb/fbsd-nat.c
gdb/features/aarch64-core.c
gdb/features/aarch64-fpu.c
gdb/features/aarch64-pauth.c
gdb/features/aarch64-sve.c
gdb/features/i386/32bit-avx.c
gdb/features/i386/32bit-avx512.c
gdb/features/i386/32bit-core.c
gdb/features/i386/32bit-linux.c
gdb/features/i386/32bit-mpx.c
gdb/features/i386/32bit-pkeys.c
gdb/features/i386/32bit-segments.c
gdb/features/i386/32bit-sse.c
gdb/features/i386/64bit-avx.c
gdb/features/i386/64bit-avx512.c
gdb/features/i386/64bit-core.c
gdb/features/i386/64bit-linux.c
gdb/features/i386/64bit-mpx.c
gdb/features/i386/64bit-pkeys.c
gdb/features/i386/64bit-segments.c
gdb/features/i386/64bit-sse.c
gdb/features/i386/x32-core.c
gdb/features/riscv/32bit-cpu.c
gdb/features/riscv/32bit-csr.c
gdb/features/riscv/32bit-fpu.c
gdb/features/riscv/64bit-cpu.c
gdb/features/riscv/64bit-csr.c
gdb/features/riscv/64bit-fpu.c
gdb/features/tic6x-c6xp.c
gdb/features/tic6x-core.c
gdb/features/tic6x-gp.c
gdb/filename-seen-cache.h
gdb/findcmd.c
gdb/findvar.c
gdb/fork-child.c
gdb/gcore.c
gdb/gdb_bfd.c
gdb/gdb_bfd.h
gdb/gdb_proc_service.h
gdb/gdb_regex.c
gdb/gdb_select.h
gdb/gdb_usleep.c
gdb/gdbarch-selftests.c
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/acinclude.m4
gdb/gdbserver/ax.c
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/gdbserver/event-loop.c
gdb/gdbserver/fork-child.c
gdb/gdbserver/gdb_proc_service.h
gdb/gdbserver/gdbreplay.c
gdb/gdbserver/gdbthread.h
gdb/gdbserver/hostio-errno.c
gdb/gdbserver/hostio.c
gdb/gdbserver/i387-fp.c
gdb/gdbserver/inferiors.c
gdb/gdbserver/inferiors.h
gdb/gdbserver/linux-amd64-ipa.c
gdb/gdbserver/linux-i386-ipa.c
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-tic6x-low.c
gdb/gdbserver/linux-x86-low.c
gdb/gdbserver/linux-x86-tdesc.c
gdb/gdbserver/lynx-i386-low.c
gdb/gdbserver/lynx-low.c
gdb/gdbserver/mem-break.h
gdb/gdbserver/nto-x86-low.c
gdb/gdbserver/regcache.c
gdb/gdbserver/regcache.h
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.c
gdb/gdbserver/server.h
gdb/gdbserver/spu-low.c
gdb/gdbserver/symbol.c
gdb/gdbserver/target.h
gdb/gdbserver/tdesc.c
gdb/gdbserver/tdesc.h
gdb/gdbserver/thread-db.c
gdb/gdbserver/tracepoint.c
gdb/gdbserver/win32-i386-low.c
gdb/gdbserver/win32-low.c
gdb/gdbsupport/agent.c [moved from gdb/common/agent.c with 99% similarity]
gdb/gdbsupport/agent.h [moved from gdb/common/agent.h with 97% similarity]
gdb/gdbsupport/array-view.h [moved from gdb/common/array-view.h with 100% similarity]
gdb/gdbsupport/ax.def [moved from gdb/common/ax.def with 100% similarity]
gdb/gdbsupport/break-common.h [moved from gdb/common/break-common.h with 100% similarity]
gdb/gdbsupport/btrace-common.c [moved from gdb/common/btrace-common.c with 100% similarity]
gdb/gdbsupport/btrace-common.h [moved from gdb/common/btrace-common.h with 100% similarity]
gdb/gdbsupport/buffer.c [moved from gdb/common/buffer.c with 100% similarity]
gdb/gdbsupport/buffer.h [moved from gdb/common/buffer.h with 100% similarity]
gdb/gdbsupport/byte-vector.h [moved from gdb/common/byte-vector.h with 98% similarity]
gdb/gdbsupport/cleanups.c [moved from gdb/common/cleanups.c with 100% similarity]
gdb/gdbsupport/cleanups.h [moved from gdb/common/cleanups.h with 100% similarity]
gdb/gdbsupport/common-debug.c [moved from gdb/common/common-debug.c with 92% similarity]
gdb/gdbsupport/common-debug.h [moved from gdb/common/common-debug.h with 100% similarity]
gdb/gdbsupport/common-defs.h [moved from gdb/common/common-defs.h with 98% similarity]
gdb/gdbsupport/common-exceptions.c [moved from gdb/common/common-exceptions.c with 100% similarity]
gdb/gdbsupport/common-exceptions.h [moved from gdb/common/common-exceptions.h with 100% similarity]
gdb/gdbsupport/common-gdbthread.h [moved from gdb/common/common-gdbthread.h with 100% similarity]
gdb/gdbsupport/common-inferior.h [moved from gdb/common/common-inferior.h with 100% similarity]
gdb/gdbsupport/common-regcache.c [moved from gdb/common/common-regcache.c with 100% similarity]
gdb/gdbsupport/common-regcache.h [moved from gdb/common/common-regcache.h with 100% similarity]
gdb/gdbsupport/common-types.h [moved from gdb/common/common-types.h with 100% similarity]
gdb/gdbsupport/common-utils.c [moved from gdb/common/common-utils.c with 97% similarity]
gdb/gdbsupport/common-utils.h [moved from gdb/common/common-utils.h with 100% similarity]
gdb/gdbsupport/common.host [moved from gdb/common/common.host with 91% similarity]
gdb/gdbsupport/common.m4 [moved from gdb/common/common.m4 with 100% similarity]
gdb/gdbsupport/create-version.sh [moved from gdb/common/create-version.sh with 96% similarity]
gdb/gdbsupport/def-vector.h [moved from gdb/common/def-vector.h with 96% similarity]
gdb/gdbsupport/default-init-alloc.h [moved from gdb/common/default-init-alloc.h with 100% similarity]
gdb/gdbsupport/enum-flags.h [moved from gdb/common/enum-flags.h with 100% similarity]
gdb/gdbsupport/environ.c [moved from gdb/common/environ.c with 93% similarity]
gdb/gdbsupport/environ.h [moved from gdb/common/environ.h with 100% similarity]
gdb/gdbsupport/errors.c [moved from gdb/common/errors.c with 91% similarity]
gdb/gdbsupport/errors.h [moved from gdb/common/errors.h with 100% similarity]
gdb/gdbsupport/fileio.c [moved from gdb/common/fileio.c with 100% similarity]
gdb/gdbsupport/fileio.h [moved from gdb/common/fileio.h with 100% similarity]
gdb/gdbsupport/filestuff.c [moved from gdb/common/filestuff.c with 99% similarity]
gdb/gdbsupport/filestuff.h [moved from gdb/common/filestuff.h with 100% similarity]
gdb/gdbsupport/filtered-iterator.h [moved from gdb/common/filtered-iterator.h with 100% similarity]
gdb/gdbsupport/format.c [moved from gdb/common/format.c with 100% similarity]
gdb/gdbsupport/format.h [moved from gdb/common/format.h with 98% similarity]
gdb/gdbsupport/forward-scope-exit.h [moved from gdb/common/forward-scope-exit.h with 99% similarity]
gdb/gdbsupport/function-view.h [moved from gdb/common/function-view.h with 100% similarity]
gdb/gdbsupport/gdb_assert.h [moved from gdb/common/gdb_assert.h with 100% similarity]
gdb/gdbsupport/gdb_locale.h [moved from gdb/common/gdb_locale.h with 100% similarity]
gdb/gdbsupport/gdb_optional.h [moved from gdb/common/gdb_optional.h with 99% similarity]
gdb/gdbsupport/gdb_proc_service.h [moved from gdb/common/gdb_proc_service.h with 100% similarity]
gdb/gdbsupport/gdb_ref_ptr.h [moved from gdb/common/gdb_ref_ptr.h with 100% similarity]
gdb/gdbsupport/gdb_setjmp.h [moved from gdb/common/gdb_setjmp.h with 100% similarity]
gdb/gdbsupport/gdb_signals.h [moved from gdb/common/gdb_signals.h with 100% similarity]
gdb/gdbsupport/gdb_splay_tree.h [moved from gdb/common/gdb_splay_tree.h with 100% similarity]
gdb/gdbsupport/gdb_string_view.h [moved from gdb/common/gdb_string_view.h with 100% similarity]
gdb/gdbsupport/gdb_string_view.tcc [moved from gdb/common/gdb_string_view.tcc with 100% similarity]
gdb/gdbsupport/gdb_sys_time.h [moved from gdb/common/gdb_sys_time.h with 100% similarity]
gdb/gdbsupport/gdb_tilde_expand.c [moved from gdb/common/gdb_tilde_expand.c with 96% similarity]
gdb/gdbsupport/gdb_tilde_expand.h [moved from gdb/common/gdb_tilde_expand.h with 100% similarity]
gdb/gdbsupport/gdb_unique_ptr.h [moved from gdb/common/gdb_unique_ptr.h with 100% similarity]
gdb/gdbsupport/gdb_unlinker.h [moved from gdb/common/gdb_unlinker.h with 100% similarity]
gdb/gdbsupport/gdb_vecs.c [moved from gdb/common/gdb_vecs.c with 100% similarity]
gdb/gdbsupport/gdb_vecs.h [moved from gdb/common/gdb_vecs.h with 100% similarity]
gdb/gdbsupport/gdb_wait.h [moved from gdb/common/gdb_wait.h with 100% similarity]
gdb/gdbsupport/hash_enum.h [moved from gdb/common/hash_enum.h with 100% similarity]
gdb/gdbsupport/host-defs.h [moved from gdb/common/host-defs.h with 100% similarity]
gdb/gdbsupport/job-control.c [moved from gdb/common/job-control.c with 98% similarity]
gdb/gdbsupport/job-control.h [moved from gdb/common/job-control.h with 97% similarity]
gdb/gdbsupport/mingw-strerror.c [moved from gdb/common/mingw-strerror.c with 100% similarity]
gdb/gdbsupport/netstuff.c [moved from gdb/common/netstuff.c with 97% similarity]
gdb/gdbsupport/netstuff.h [moved from gdb/common/netstuff.h with 100% similarity]
gdb/gdbsupport/new-op.c [moved from gdb/common/new-op.c with 100% similarity]
gdb/gdbsupport/next-iterator.h [moved from gdb/common/next-iterator.h with 100% similarity]
gdb/gdbsupport/observable.h [moved from gdb/common/observable.h with 100% similarity]
gdb/gdbsupport/offset-type.h [moved from gdb/common/offset-type.h with 100% similarity]
gdb/gdbsupport/pathstuff.c [moved from gdb/common/pathstuff.c with 96% similarity]
gdb/gdbsupport/pathstuff.h [moved from gdb/common/pathstuff.h with 98% similarity]
gdb/gdbsupport/poison.h [moved from gdb/common/poison.h with 100% similarity]
gdb/gdbsupport/posix-strerror.c [moved from gdb/common/posix-strerror.c with 100% similarity]
gdb/gdbsupport/preprocessor.h [moved from gdb/common/preprocessor.h with 100% similarity]
gdb/gdbsupport/print-utils.c [moved from gdb/common/print-utils.c with 100% similarity]
gdb/gdbsupport/print-utils.h [moved from gdb/common/print-utils.h with 100% similarity]
gdb/gdbsupport/ptid.c [moved from gdb/common/ptid.c with 100% similarity]
gdb/gdbsupport/ptid.h [moved from gdb/common/ptid.h with 100% similarity]
gdb/gdbsupport/refcounted-object.h [moved from gdb/common/refcounted-object.h with 100% similarity]
gdb/gdbsupport/rsp-low.c [moved from gdb/common/rsp-low.c with 100% similarity]
gdb/gdbsupport/rsp-low.h [moved from gdb/common/rsp-low.h with 99% similarity]
gdb/gdbsupport/run-time-clock.c [moved from gdb/common/run-time-clock.c with 100% similarity]
gdb/gdbsupport/run-time-clock.h [moved from gdb/common/run-time-clock.h with 100% similarity]
gdb/gdbsupport/safe-iterator.h [moved from gdb/common/safe-iterator.h with 100% similarity]
gdb/gdbsupport/scope-exit.h [moved from gdb/common/scope-exit.h with 99% similarity]
gdb/gdbsupport/scoped_fd.h [moved from gdb/common/scoped_fd.h with 100% similarity]
gdb/gdbsupport/scoped_mmap.c [moved from gdb/common/scoped_mmap.c with 97% similarity]
gdb/gdbsupport/scoped_mmap.h [moved from gdb/common/scoped_mmap.h with 100% similarity]
gdb/gdbsupport/scoped_restore.h [moved from gdb/common/scoped_restore.h with 100% similarity]
gdb/gdbsupport/selftest.c [moved from gdb/common/selftest.c with 100% similarity]
gdb/gdbsupport/selftest.h [moved from gdb/common/selftest.h with 100% similarity]
gdb/gdbsupport/signals-state-save-restore.c [moved from gdb/common/signals-state-save-restore.c with 100% similarity]
gdb/gdbsupport/signals-state-save-restore.h [moved from gdb/common/signals-state-save-restore.h with 100% similarity]
gdb/gdbsupport/signals.c [moved from gdb/common/signals.c with 100% similarity]
gdb/gdbsupport/symbol.h [moved from gdb/common/symbol.h with 100% similarity]
gdb/gdbsupport/tdesc.c [moved from gdb/common/tdesc.c with 96% similarity]
gdb/gdbsupport/tdesc.h [moved from gdb/common/tdesc.h with 100% similarity]
gdb/gdbsupport/traits.h [moved from gdb/common/traits.h with 100% similarity]
gdb/gdbsupport/underlying.h [moved from gdb/common/underlying.h with 100% similarity]
gdb/gdbsupport/valid-expr.h [moved from gdb/common/valid-expr.h with 98% similarity]
gdb/gdbsupport/vec.c [moved from gdb/common/vec.c with 100% similarity]
gdb/gdbsupport/vec.h [moved from gdb/common/vec.h with 100% similarity]
gdb/gdbsupport/version.h [moved from gdb/common/version.h with 100% similarity]
gdb/gdbsupport/x86-xstate.h [moved from gdb/common/x86-xstate.h with 100% similarity]
gdb/gdbsupport/xml-utils.c [moved from gdb/common/xml-utils.c with 100% similarity]
gdb/gdbsupport/xml-utils.h [moved from gdb/common/xml-utils.h with 100% similarity]
gdb/gdbthread.h
gdb/gdbtypes.h
gdb/gnu-nat.c
gdb/go32-nat.c
gdb/guile/guile.c
gdb/guile/scm-ports.c
gdb/guile/scm-safe-call.c
gdb/guile/scm-type.c
gdb/i386-fbsd-nat.c
gdb/i386-fbsd-tdep.c
gdb/i386-go32-tdep.c
gdb/i386-linux-nat.c
gdb/i386-linux-tdep.c
gdb/i386-tdep.c
gdb/i387-tdep.c
gdb/ia64-libunwind-tdep.c
gdb/ia64-linux-nat.c
gdb/inf-child.c
gdb/inf-ptrace.c
gdb/infcall.c
gdb/infcall.h
gdb/infcmd.c
gdb/inferior-iter.h
gdb/inferior.c
gdb/inferior.h
gdb/inflow.c
gdb/inflow.h
gdb/infrun.c
gdb/infrun.h
gdb/inline-frame.c
gdb/language.h
gdb/linespec.c
gdb/linux-fork.c
gdb/linux-nat.c
gdb/linux-tdep.c
gdb/linux-thread-db.c
gdb/location.c
gdb/machoread.c
gdb/macrotab.h
gdb/main.c
gdb/maint.c
gdb/maint.h
gdb/memattr.c
gdb/memrange.h
gdb/mi/mi-cmd-break.h
gdb/mi/mi-cmd-env.c
gdb/mi/mi-cmd-stack.c
gdb/mi/mi-cmd-var.c
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/mi/mi-parse.h
gdb/minsyms.c
gdb/mips-linux-tdep.c
gdb/namespace.h
gdb/nat/aarch64-linux-hw-point.c
gdb/nat/aarch64-linux-hw-point.h
gdb/nat/aarch64-linux.c
gdb/nat/aarch64-sve-linux-ptrace.c
gdb/nat/amd64-linux-siginfo.c
gdb/nat/fork-inferior.c
gdb/nat/linux-btrace.c
gdb/nat/linux-btrace.h
gdb/nat/linux-namespaces.c
gdb/nat/linux-nat.h
gdb/nat/linux-osdata.c
gdb/nat/linux-personality.c
gdb/nat/linux-procfs.c
gdb/nat/linux-ptrace.c
gdb/nat/linux-ptrace.h
gdb/nat/linux-waitpid.c
gdb/nat/mips-linux-watch.c
gdb/nat/mips-linux-watch.h
gdb/nat/ppc-linux.c
gdb/nat/x86-dregs.c
gdb/nat/x86-dregs.h
gdb/nat/x86-linux-dregs.c
gdb/nat/x86-linux.c
gdb/nto-procfs.c
gdb/nto-tdep.c
gdb/objfile-flags.h
gdb/objfiles.c
gdb/objfiles.h
gdb/obsd-nat.c
gdb/observable.h
gdb/osdata.c
gdb/p-valprint.c
gdb/parse.c
gdb/parser-defs.h
gdb/ppc-linux-nat.c
gdb/printcmd.c
gdb/probe.c
gdb/proc-api.c
gdb/procfs.c
gdb/producer.c
gdb/progspace.h
gdb/psymtab.h
gdb/python/py-framefilter.c
gdb/python/py-inferior.c
gdb/python/py-ref.h
gdb/python/py-type.c
gdb/python/python.c
gdb/record-btrace.c
gdb/record-full.c
gdb/record.c
gdb/record.h
gdb/regcache-dump.c
gdb/regcache.c
gdb/regcache.h
gdb/remote-fileio.c
gdb/remote-fileio.h
gdb/remote-sim.c
gdb/remote.c
gdb/riscv-tdep.c
gdb/rs6000-aix-tdep.c
gdb/rust-exp.y
gdb/s12z-tdep.c
gdb/selftest-arch.c
gdb/ser-base.c
gdb/ser-event.c
gdb/ser-pipe.c
gdb/ser-tcp.c
gdb/ser-unix.c
gdb/skip.c
gdb/solib-aix.c
gdb/solib-target.c
gdb/solib.c
gdb/source-cache.c
gdb/source.c
gdb/source.h
gdb/sparc-nat.c
gdb/spu-linux-nat.c
gdb/stack.c
gdb/stap-probe.c
gdb/symfile-add-flags.h
gdb/symfile.c
gdb/symfile.h
gdb/symtab.c
gdb/symtab.h
gdb/target-descriptions.c
gdb/target-descriptions.h
gdb/target-memory.c
gdb/target.c
gdb/target.h
gdb/target/waitstatus.c
gdb/target/waitstatus.h
gdb/thread-iter.h
gdb/thread.c
gdb/tilegx-tdep.c
gdb/top.c
gdb/top.h
gdb/tracefile-tfile.c
gdb/tracefile.c
gdb/tracepoint.c
gdb/tracepoint.h
gdb/tui/tui-io.c
gdb/ui-file.c
gdb/ui-out.h
gdb/unittests/array-view-selftests.c
gdb/unittests/child-path-selftests.c
gdb/unittests/cli-utils-selftests.c
gdb/unittests/common-utils-selftests.c
gdb/unittests/copy_bitwise-selftests.c
gdb/unittests/environ-selftests.c
gdb/unittests/format_pieces-selftests.c
gdb/unittests/function-view-selftests.c
gdb/unittests/lookup_name_info-selftests.c
gdb/unittests/memory-map-selftests.c
gdb/unittests/memrange-selftests.c
gdb/unittests/mkdir-recursive-selftests.c
gdb/unittests/observable-selftests.c
gdb/unittests/offset-type-selftests.c
gdb/unittests/optional-selftests.c
gdb/unittests/parse-connection-spec-selftests.c
gdb/unittests/ptid-selftests.c
gdb/unittests/rsp-low-selftests.c
gdb/unittests/scoped_fd-selftests.c
gdb/unittests/scoped_mmap-selftests.c
gdb/unittests/scoped_restore-selftests.c
gdb/unittests/string_view-selftests.c
gdb/unittests/style-selftests.c
gdb/unittests/tracepoint-selftests.c
gdb/unittests/unpack-selftests.c
gdb/unittests/utils-selftests.c
gdb/unittests/xml-utils-selftests.c
gdb/utils.c
gdb/utils.h
gdb/valarith.c
gdb/valops.c
gdb/valprint.c
gdb/value.c
gdb/value.h
gdb/varobj.c
gdb/varobj.h
gdb/windows-nat.c
gdb/x86-linux-nat.c
gdb/xml-support.c
gdb/xml-support.h
gdb/xml-tdesc.h
gdb/xstormy16-tdep.c
gdb/xtensa-linux-nat.c

index 0ad7576c4b270bfb1c28f61df70387d05a6d3270..b1200e9a87b0be48a9304a13a764ef936b33222e 100644 (file)
@@ -1,3 +1,119 @@
+2019-07-09  Tom Tromey  <tom@tromey.com>
+
+       * contrib/ari/gdb_ari.sh: Change common to gdbsupport.
+       * configure: Rebuild.
+       * configure.ac: Change common to gdbsupport.
+       * gdbsupport: Rename from common.
+       * acinclude.m4: Change common to gdbsupport.
+       * Makefile.in (CONFIG_SRC_SUBDIR, COMMON_SFILES)
+       (HFILES_NO_SRCDIR, stamp-version, ALLDEPFILES): Change common to
+       gdbsupport.
+       * aarch64-tdep.c, ada-lang.c, ada-lang.h, agent.c, alloc.c,
+       amd64-darwin-tdep.c, amd64-dicos-tdep.c, amd64-fbsd-nat.c,
+       amd64-fbsd-tdep.c, amd64-linux-nat.c, amd64-linux-tdep.c,
+       amd64-nbsd-tdep.c, amd64-obsd-tdep.c, amd64-sol2-tdep.c,
+       amd64-tdep.c, amd64-windows-tdep.c, arch-utils.c,
+       arch/aarch64-insn.c, arch/aarch64.c, arch/aarch64.h, arch/amd64.c,
+       arch/amd64.h, arch/arm-get-next-pcs.c, arch/arm-linux.c,
+       arch/arm.c, arch/i386.c, arch/i386.h, arch/ppc-linux-common.c,
+       arch/riscv.c, arch/riscv.h, arch/tic6x.c, arm-tdep.c, auto-load.c,
+       auxv.c, ax-gdb.c, ax-general.c, ax.h, breakpoint.c, breakpoint.h,
+       btrace.c, btrace.h, build-id.c, build-id.h, c-lang.h, charset.c,
+       charset.h, cli/cli-cmds.c, cli/cli-cmds.h, cli/cli-decode.c,
+       cli/cli-dump.c, cli/cli-option.h, cli/cli-script.c,
+       coff-pe-read.c, command.h, compile/compile-c-support.c,
+       compile/compile-c.h, compile/compile-cplus-symbols.c,
+       compile/compile-cplus-types.c, compile/compile-cplus.h,
+       compile/compile-loc2c.c, compile/compile.c, completer.c,
+       completer.h, contrib/ari/gdb_ari.sh, corefile.c, corelow.c,
+       cp-support.c, cp-support.h, cp-valprint.c, csky-tdep.c, ctf.c,
+       darwin-nat.c, debug.c, defs.h, disasm-selftests.c, disasm.c,
+       disasm.h, dtrace-probe.c, dwarf-index-cache.c,
+       dwarf-index-cache.h, dwarf-index-write.c, dwarf2-frame.c,
+       dwarf2expr.c, dwarf2loc.c, dwarf2read.c, event-loop.c,
+       event-top.c, exceptions.c, exec.c, extension.h, fbsd-nat.c,
+       features/aarch64-core.c, features/aarch64-fpu.c,
+       features/aarch64-pauth.c, features/aarch64-sve.c,
+       features/i386/32bit-avx.c, features/i386/32bit-avx512.c,
+       features/i386/32bit-core.c, features/i386/32bit-linux.c,
+       features/i386/32bit-mpx.c, features/i386/32bit-pkeys.c,
+       features/i386/32bit-segments.c, features/i386/32bit-sse.c,
+       features/i386/64bit-avx.c, features/i386/64bit-avx512.c,
+       features/i386/64bit-core.c, features/i386/64bit-linux.c,
+       features/i386/64bit-mpx.c, features/i386/64bit-pkeys.c,
+       features/i386/64bit-segments.c, features/i386/64bit-sse.c,
+       features/i386/x32-core.c, features/riscv/32bit-cpu.c,
+       features/riscv/32bit-csr.c, features/riscv/32bit-fpu.c,
+       features/riscv/64bit-cpu.c, features/riscv/64bit-csr.c,
+       features/riscv/64bit-fpu.c, features/tic6x-c6xp.c,
+       features/tic6x-core.c, features/tic6x-gp.c, filename-seen-cache.h,
+       findcmd.c, findvar.c, fork-child.c, gcore.c, gdb_bfd.c, gdb_bfd.h,
+       gdb_proc_service.h, gdb_regex.c, gdb_select.h, gdb_usleep.c,
+       gdbarch-selftests.c, gdbthread.h, gdbtypes.h, gnu-nat.c,
+       go32-nat.c, guile/guile.c, guile/scm-ports.c,
+       guile/scm-safe-call.c, guile/scm-type.c, i386-fbsd-nat.c,
+       i386-fbsd-tdep.c, i386-go32-tdep.c, i386-linux-nat.c,
+       i386-linux-tdep.c, i386-tdep.c, i387-tdep.c,
+       ia64-libunwind-tdep.c, ia64-linux-nat.c, inf-child.c,
+       inf-ptrace.c, infcall.c, infcall.h, infcmd.c, inferior-iter.h,
+       inferior.c, inferior.h, inflow.c, inflow.h, infrun.c, infrun.h,
+       inline-frame.c, language.h, linespec.c, linux-fork.c, linux-nat.c,
+       linux-tdep.c, linux-thread-db.c, location.c, machoread.c,
+       macrotab.h, main.c, maint.c, maint.h, memattr.c, memrange.h,
+       mi/mi-cmd-break.h, mi/mi-cmd-env.c, mi/mi-cmd-stack.c,
+       mi/mi-cmd-var.c, mi/mi-interp.c, mi/mi-main.c, mi/mi-parse.h,
+       minsyms.c, mips-linux-tdep.c, namespace.h,
+       nat/aarch64-linux-hw-point.c, nat/aarch64-linux-hw-point.h,
+       nat/aarch64-linux.c, nat/aarch64-sve-linux-ptrace.c,
+       nat/amd64-linux-siginfo.c, nat/fork-inferior.c,
+       nat/linux-btrace.c, nat/linux-btrace.h, nat/linux-namespaces.c,
+       nat/linux-nat.h, nat/linux-osdata.c, nat/linux-personality.c,
+       nat/linux-procfs.c, nat/linux-ptrace.c, nat/linux-ptrace.h,
+       nat/linux-waitpid.c, nat/mips-linux-watch.c,
+       nat/mips-linux-watch.h, nat/ppc-linux.c, nat/x86-dregs.c,
+       nat/x86-dregs.h, nat/x86-linux-dregs.c, nat/x86-linux.c,
+       nto-procfs.c, nto-tdep.c, objfile-flags.h, objfiles.c, objfiles.h,
+       obsd-nat.c, observable.h, osdata.c, p-valprint.c, parse.c,
+       parser-defs.h, ppc-linux-nat.c, printcmd.c, probe.c, proc-api.c,
+       procfs.c, producer.c, progspace.h, psymtab.h,
+       python/py-framefilter.c, python/py-inferior.c, python/py-ref.h,
+       python/py-type.c, python/python.c, record-btrace.c, record-full.c,
+       record.c, record.h, regcache-dump.c, regcache.c, regcache.h,
+       remote-fileio.c, remote-fileio.h, remote-sim.c, remote.c,
+       riscv-tdep.c, rs6000-aix-tdep.c, rust-exp.y, s12z-tdep.c,
+       selftest-arch.c, ser-base.c, ser-event.c, ser-pipe.c, ser-tcp.c,
+       ser-unix.c, skip.c, solib-aix.c, solib-target.c, solib.c,
+       source-cache.c, source.c, source.h, sparc-nat.c, spu-linux-nat.c,
+       stack.c, stap-probe.c, symfile-add-flags.h, symfile.c, symfile.h,
+       symtab.c, symtab.h, target-descriptions.c, target-descriptions.h,
+       target-memory.c, target.c, target.h, target/waitstatus.c,
+       target/waitstatus.h, thread-iter.h, thread.c, tilegx-tdep.c,
+       top.c, top.h, tracefile-tfile.c, tracefile.c, tracepoint.c,
+       tracepoint.h, tui/tui-io.c, ui-file.c, ui-out.h,
+       unittests/array-view-selftests.c,
+       unittests/child-path-selftests.c, unittests/cli-utils-selftests.c,
+       unittests/common-utils-selftests.c,
+       unittests/copy_bitwise-selftests.c, unittests/environ-selftests.c,
+       unittests/format_pieces-selftests.c,
+       unittests/function-view-selftests.c,
+       unittests/lookup_name_info-selftests.c,
+       unittests/memory-map-selftests.c, unittests/memrange-selftests.c,
+       unittests/mkdir-recursive-selftests.c,
+       unittests/observable-selftests.c,
+       unittests/offset-type-selftests.c, unittests/optional-selftests.c,
+       unittests/parse-connection-spec-selftests.c,
+       unittests/ptid-selftests.c, unittests/rsp-low-selftests.c,
+       unittests/scoped_fd-selftests.c,
+       unittests/scoped_mmap-selftests.c,
+       unittests/scoped_restore-selftests.c,
+       unittests/string_view-selftests.c, unittests/style-selftests.c,
+       unittests/tracepoint-selftests.c, unittests/unpack-selftests.c,
+       unittests/utils-selftests.c, unittests/xml-utils-selftests.c,
+       utils.c, utils.h, valarith.c, valops.c, valprint.c, value.c,
+       value.h, varobj.c, varobj.h, windows-nat.c, x86-linux-nat.c,
+       xml-support.c, xml-support.h, xml-tdesc.h, xstormy16-tdep.c,
+       xtensa-linux-nat.c, dwarf2read.h: Change common to gdbsupport.
+
 2019-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * linespec.c (decode_digits_list_mode): Set explicit_line to a
index 7308ea5767424b5bb095b531ed8f99a7d26465a5..b6680b9afd3d50b5165fb577ca94a4ae8e3373e1 100644 (file)
@@ -529,7 +529,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@
 CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
 HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
 
-CONFIG_SRC_SUBDIR = arch cli mi common compile tui unittests guile python \
+CONFIG_SRC_SUBDIR = arch cli mi gdbsupport compile tui unittests guile python \
        target nat
 CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
 
@@ -948,35 +948,35 @@ COMMON_SFILES = \
        cli-out.c \
        coff-pe-read.c \
        coffread.c \
-       common/agent.c \
-       common/btrace-common.c \
-       common/buffer.c \
-       common/cleanups.c \
-       common/common-debug.c \
-       common/common-exceptions.c \
-       common/common-regcache.c \
-       common/common-utils.c \
-       common/errors.c \
-       common/environ.c \
-       common/fileio.c \
-       common/filestuff.c \
-       common/format.c \
-       common/job-control.c \
-       common/gdb_tilde_expand.c \
-       common/gdb_vecs.c \
-       common/netstuff.c \
-       common/new-op.c \
-       common/pathstuff.c \
-       common/print-utils.c \
-       common/ptid.c \
-       common/rsp-low.c \
-       common/run-time-clock.c \
-       common/scoped_mmap.c \
-       common/signals.c \
-       common/signals-state-save-restore.c \
-       common/tdesc.c \
-       common/vec.c \
-       common/xml-utils.c \
+       gdbsupport/agent.c \
+       gdbsupport/btrace-common.c \
+       gdbsupport/buffer.c \
+       gdbsupport/cleanups.c \
+       gdbsupport/common-debug.c \
+       gdbsupport/common-exceptions.c \
+       gdbsupport/common-regcache.c \
+       gdbsupport/common-utils.c \
+       gdbsupport/errors.c \
+       gdbsupport/environ.c \
+       gdbsupport/fileio.c \
+       gdbsupport/filestuff.c \
+       gdbsupport/format.c \
+       gdbsupport/job-control.c \
+       gdbsupport/gdb_tilde_expand.c \
+       gdbsupport/gdb_vecs.c \
+       gdbsupport/netstuff.c \
+       gdbsupport/new-op.c \
+       gdbsupport/pathstuff.c \
+       gdbsupport/print-utils.c \
+       gdbsupport/ptid.c \
+       gdbsupport/rsp-low.c \
+       gdbsupport/run-time-clock.c \
+       gdbsupport/scoped_mmap.c \
+       gdbsupport/signals.c \
+       gdbsupport/signals-state-save-restore.c \
+       gdbsupport/tdesc.c \
+       gdbsupport/vec.c \
+       gdbsupport/xml-utils.c \
        complaints.c \
        completer.c \
        continuations.c \
@@ -1442,45 +1442,45 @@ HFILES_NO_SRCDIR = \
        cli/cli-setshow.h \
        cli/cli-style.h \
        cli/cli-utils.h \
-       common/buffer.h \
-       common/cleanups.h \
-       common/common-debug.h \
-       common/common-defs.h \
-       common/common-exceptions.h \
-       common/common-gdbthread.h \
-       common/common-regcache.h \
-       common/common-types.h \
-       common/common-utils.h \
-       common/job-control.h \
-       common/errors.h \
-       common/environ.h \
-       common/fileio.h \
-       common/format.h \
-       common/gdb_assert.h \
-       common/gdb_tilde_expand.h \
-       common/gdb_locale.h \
-       common/gdb_proc_service.h \
-       common/gdb_setjmp.h \
-       common/gdb_signals.h \
-       common/gdb_sys_time.h \
-       common/gdb_vecs.h \
-       common/gdb_wait.h \
-       common/common-inferior.h \
-       common/netstuff.h \
-       common/host-defs.h \
-       common/pathstuff.h \
-       common/print-utils.h \
-       common/ptid.h \
-       common/queue.h \
-       common/rsp-low.h \
-       common/run-time-clock.h \
-       common/signals-state-save-restore.h \
-       common/symbol.h \
-       common/tdesc.h \
-       common/vec.h \
-       common/version.h \
-       common/x86-xstate.h \
-       common/xml-utils.h \
+       gdbsupport/buffer.h \
+       gdbsupport/cleanups.h \
+       gdbsupport/common-debug.h \
+       gdbsupport/common-defs.h \
+       gdbsupport/common-exceptions.h \
+       gdbsupport/common-gdbthread.h \
+       gdbsupport/common-regcache.h \
+       gdbsupport/common-types.h \
+       gdbsupport/common-utils.h \
+       gdbsupport/job-control.h \
+       gdbsupport/errors.h \
+       gdbsupport/environ.h \
+       gdbsupport/fileio.h \
+       gdbsupport/format.h \
+       gdbsupport/gdb_assert.h \
+       gdbsupport/gdb_tilde_expand.h \
+       gdbsupport/gdb_locale.h \
+       gdbsupport/gdb_proc_service.h \
+       gdbsupport/gdb_setjmp.h \
+       gdbsupport/gdb_signals.h \
+       gdbsupport/gdb_sys_time.h \
+       gdbsupport/gdb_vecs.h \
+       gdbsupport/gdb_wait.h \
+       gdbsupport/common-inferior.h \
+       gdbsupport/netstuff.h \
+       gdbsupport/host-defs.h \
+       gdbsupport/pathstuff.h \
+       gdbsupport/print-utils.h \
+       gdbsupport/ptid.h \
+       gdbsupport/queue.h \
+       gdbsupport/rsp-low.h \
+       gdbsupport/run-time-clock.h \
+       gdbsupport/signals-state-save-restore.h \
+       gdbsupport/symbol.h \
+       gdbsupport/tdesc.h \
+       gdbsupport/vec.h \
+       gdbsupport/version.h \
+       gdbsupport/x86-xstate.h \
+       gdbsupport/xml-utils.h \
        compile/compile.h \
        compile/compile-c.h \
        compile/compile-cplus.h \
@@ -2109,8 +2109,8 @@ $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ $(srcdir)/../COPYING3 $(srcdir)/copy
 version.c: stamp-version; @true
 # Note that the obvious names for the temp file are taken by
 # create-version.sh.
-stamp-version: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/common/create-version.sh
-       $(ECHO_GEN) $(SHELL) $(srcdir)/common/create-version.sh $(srcdir) \
+stamp-version: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/gdbsupport/create-version.sh
+       $(ECHO_GEN) $(SHELL) $(srcdir)/gdbsupport/create-version.sh $(srcdir) \
            $(host_alias) $(target_alias) version-t.t
        @$(SHELL) $(srcdir)/../move-if-change version-t.t version.c
        @echo stamp > stamp-version
@@ -2344,8 +2344,8 @@ ALLDEPFILES = \
        xtensa-linux-tdep.c \
        xtensa-tdep.c \
        xtensa-xtregs.c \
-       common/mingw-strerror.c \
-       common/posix-strerror.c
+       gdbsupport/mingw-strerror.c \
+       gdbsupport/posix-strerror.c
 
 # Some files need explicit build rules (due to -Werror problems) or due
 # to sub-directory fun 'n' games.
index 17f5e1ee4580f1a0104981924e0a5af9786bab9a..757465828a1bbdb732b792cea27d406599641841 100644 (file)
@@ -44,7 +44,7 @@
 #include "infcall.h"
 #include "ax.h"
 #include "ax-gdb.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 #include "aarch64-tdep.h"
 #include "aarch64-ravenscar-thread.h"
@@ -52,7 +52,7 @@
 #include "elf-bfd.h"
 #include "elf/aarch64.h"
 
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 
 #include "record.h"
 #include "record-full.h"
index 0719d422a71677ddb8d910942d97dd89690ee133..b32dcf58c25391f8d329c571a1485837e1c32838 100644 (file)
@@ -66,7 +66,7 @@ sinclude([../config/iconv.m4])
 
 sinclude([../config/zlib.m4])
 
-m4_include([common/common.m4])
+m4_include([gdbsupport/common.m4])
 
 dnl For libiberty_INIT.
 m4_include(libiberty.m4)
index 332363b1ecc9a827a9496b99b8ba96cbe553708a..ae28265d496603ee0925eaa2fea99e7cbea1b4c6 100644 (file)
@@ -49,9 +49,9 @@
 #include "valprint.h"
 #include "source.h"
 #include "observable.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "stack.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "typeprint.h"
 #include "namespace.h"
 
@@ -60,8 +60,8 @@
 #include "mi/mi-common.h"
 #include "arch-utils.h"
 #include "cli/cli-utils.h"
-#include "common/function-view.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/function-view.h"
+#include "gdbsupport/byte-vector.h"
 #include <algorithm>
 #include <map>
 
index b10c680ac1c5ec60ef103253b42706230cfcc1ea..788f7a6d3a33b57d0db9690f021faf4c6995b95f 100644 (file)
@@ -28,7 +28,7 @@ struct parser_state;
 #include "value.h"
 #include "gdbtypes.h"
 #include "breakpoint.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 
 /* Names of specific files known to be part of the runtime
    system and that might consider (confusing) debugging information.
index 8b777d0b3b703166469dea02a9204d54beeda143..bc71860864a7087f679293953d8d79e664f143db 100644 (file)
@@ -19,7 +19,7 @@
 #include "command.h"
 #include "gdbcmd.h"
 #include "target.h"
-#include "common/agent.h"
+#include "gdbsupport/agent.h"
 
 /* Enum strings for "set|show agent".  */
 
index 95488a72cf2c73ed6a70cfa6d773a07d26ba9149..8323dd6dd4ae939a3249f86adc0877781f0ad389 100644 (file)
@@ -34,9 +34,9 @@
    GDBSERVER define when possible, and for this file it seemed
    simple to do so.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "libiberty.h"
-#include "common/errors.h"
+#include "gdbsupport/errors.h"
 
 /* The xmalloc() (libiberty.h) family of memory management routines.
 
index 46867f40a38b188bc0424fda5a0c145305f018f3..f1aa72a3b5dae6c378194f57c3b563d225d07b76 100644 (file)
@@ -28,7 +28,7 @@
 #include "objfiles.h"
 
 #include "i387-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "amd64-tdep.h"
 #include "osabi.h"
 #include "ui-out.h"
index 8ca838e3c83e0ae6dbf48df49bc55ce18e4cb733..e797843bc9f514fa6de1fb1d6456b7de85447183 100644 (file)
@@ -20,7 +20,7 @@
 #include "defs.h"
 #include "osabi.h"
 #include "amd64-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "dicos-tdep.h"
 
 static void
index cc676d3214f49c9c20af054e50a177bf2df4ca0e..718ebd9ac1daa11444eebf6e812fbdf345baf4d5 100644 (file)
@@ -34,7 +34,7 @@
 #include "amd64-nat.h"
 #include "amd64-bsd-nat.h"
 #include "x86-nat.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 \f
 
 class amd64_fbsd_nat_target final
index 7e2e9edf21de3b8fa4e43c21046db8171c9da719..493e630974d46e4bfbad0c310021b28c688f54b0 100644 (file)
@@ -25,7 +25,7 @@
 #include "osabi.h"
 #include "regset.h"
 #include "i386-fbsd-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 #include "amd64-tdep.h"
 #include "fbsd-tdep.h"
index 8d0e8eb35cd2bd3af599cae48f888044d3393663..4f1c98a0d1e17125b02d64453230eb6e06989aa5 100644 (file)
@@ -33,7 +33,7 @@
 #include "amd64-tdep.h"
 #include "amd64-linux-tdep.h"
 #include "i386-linux-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 #include "x86-linux-nat.h"
 #include "nat/linux-ptrace.h"
index 008817c38d3bcfd13f41ed12ede215ebd60bb44c..7ec08c7fc49ff24d6d438162da2e6084529460cc 100644 (file)
@@ -33,7 +33,7 @@
 #include "amd64-linux-tdep.h"
 #include "i386-linux-tdep.h"
 #include "linux-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 #include "amd64-tdep.h"
 #include "solib-svr4.h"
index 06905d65dfda9890f743e19a15ee7799c4417913..331cb8a73f942225a605dde6b347989d9f060a54 100644 (file)
@@ -25,7 +25,7 @@
 #include "symtab.h"
 
 #include "amd64-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "nbsd-tdep.h"
 #include "solib-svr4.h"
 
index cd1a1c31b886b51feab3db2c8d847c5638fa9c4f..67f9f88f522b951673358d92f4b0810a44667fae 100644 (file)
@@ -32,7 +32,7 @@
 #include "obsd-tdep.h"
 #include "amd64-tdep.h"
 #include "i387-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "solib-svr4.h"
 #include "bsd-uthread.h"
 
index 56d2e22582278e87c7e9ea91c2b12a4dd8347ec4..74358d88f43e902ad93127f2d2b34a9152454cd8 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "sol2-tdep.h"
 #include "amd64-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "solib-svr4.h"
 
 /* Mapping between the general-purpose registers in gregset_t format
index f02b007afdaca86e6bf7d474f94fbbab26df850e..232d16d7345ae46ce149587039ad63d54be08730 100644 (file)
 #include "disasm.h"
 #include "amd64-tdep.h"
 #include "i387-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include <algorithm>
 #include "target-descriptions.h"
 #include "arch/amd64.h"
 #include "producer.h"
 #include "ax.h"
 #include "ax-gdb.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 #include "osabi.h"
 #include "x86-tdep.h"
 
index 922da9e48bcbcba08eb4fbd45c013117606bcd24..3eb1f1493cd3e6a04bc74a617b4d42f5c8ae709e 100644 (file)
@@ -18,7 +18,7 @@
 #include "defs.h"
 #include "osabi.h"
 #include "amd64-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "gdbtypes.h"
 #include "gdbcore.h"
 #include "regcache.h"
index 43f5834b3833c5f59011206ccdb07ca3c411efd4..bfcb58207a79747fc05a662fcf920884063ef872 100644 (file)
@@ -32,7 +32,7 @@
 #include "language.h"
 #include "symtab.h"
 
-#include "common/version.h"
+#include "gdbsupport/version.h"
 
 #include "floatformat.h"
 
index cf6e669f99c624e80500e4e7b997e4b701b9b393..e04ad87fefbe2078a4f85470fd25fe61241d6043 100644 (file)
@@ -16,7 +16,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "aarch64-insn.h"
 
 /* Toggle this file's internal debugging dump.  */
index 11a15dd94cb145a5d0d67fbce6e8809891fabec6..30c5f8ad066fc99c41d97fb9a7cced453670f34a 100644 (file)
@@ -15,7 +15,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "aarch64.h"
 #include <stdlib.h>
 
index 309fe75273ef5175f11ebb6b111e260ac5da2aef..aed10353ad83447ac349c6879ab05609e7fa783a 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef ARCH_AARCH64_H
 #define ARCH_AARCH64_H
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 /* Create the aarch64 target description.  A non zero VQ value indicates both
    the presence of SVE and the Vector Quotient - the number of 128bit chunks in
index b7e6332d773a2f962d618571b8dbb7d803d0f799..3158ab5c0d8c6a9589b9ba99e6178355be3fafbf 100644 (file)
@@ -15,9 +15,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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "amd64.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include <stdlib.h>
 
 #include "../features/i386/64bit-avx.c"
index 1e02c5235f113f2f072c2a6977f582ccb3713f9c..96b52a9ace63833853119d4585fdf8b9cfc586ef 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef ARCH_AMD64_H
 #define ARCH_AMD64_H
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 #include <stdint.h>
 
 target_desc *amd64_create_target_description (uint64_t xcr0, bool is_x32,
index 00c7064d8b7fae201fbf3b1d49642308904bfe36..e1335703ace96c01c02ad2dfa249912a3b71544f 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/>.  */
 
-#include "common/common-defs.h"
-#include "common/gdb_vecs.h"
-#include "common/common-regcache.h"
+#include "gdbsupport/common-defs.h"
+#include "gdbsupport/gdb_vecs.h"
+#include "gdbsupport/common-regcache.h"
 #include "arm.h"
 #include "arm-get-next-pcs.h"
 
index 180228fe8978c3a40e81e243da47030491e31d3d..d23c196a6a3dadc0dd42254fdbc123b8a0207f80 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
-#include "common/common-regcache.h"
+#include "gdbsupport/common-defs.h"
+#include "gdbsupport/common-regcache.h"
 #include "arch/arm.h"
 #include "arm-linux.h"
 #include "arch/arm-get-next-pcs.h"
index 93738f0a0f86f84b58c340f9da783c24fe6173fc..860ce028587eb1403b896195b866aa648665e12a 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
-#include "common/common-regcache.h"
+#include "gdbsupport/common-defs.h"
+#include "gdbsupport/common-regcache.h"
 #include "arm.h"
 
 /* See arm.h.  */
index ab24cf71cb59f51b33b3f04e98950c4d955ab624..d08ac6a5e8632457ee6dc8642195da89780102de 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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "i386.h"
-#include "common/tdesc.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/tdesc.h"
+#include "gdbsupport/x86-xstate.h"
 #include <stdlib.h>
 
 #include "../features/i386/32bit-core.c"
index 9a831cea30029b923f5182b3c2ac6f40b232fbe6..1caa0ae2eec79cf66171b768a549ba763d497cea 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef ARCH_I386_H
 #define ARCH_I386_H
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 #include <stdint.h>
 
 target_desc *i386_create_target_description (uint64_t xcr0, bool is_linux,
index 6badd2f7d261731e35ab0099c92c4c4c742b609f..8af30e3cd4292daa7d8788aeae70e0f0f0fa98cc 100644 (file)
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "arch/ppc-linux-common.h"
 #include "arch/ppc-linux-tdesc.h"
 
index 5ed1d47ac51b14fe6dc5a26389e6750b673d4966..68ff711bacea2b57e411b5c52c81c79e08b1d18d 100644 (file)
@@ -15,7 +15,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "riscv.h"
 #include <stdlib.h>
 #include <unordered_map>
index 05c19054dce00da97f44bb6cce00a3ee800707cd..7917bdf4b4c796450bed348ec57c19b5e4a96fe9 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef ARCH_RISCV_H
 #define ARCH_RISCV_H
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 /* The set of RISC-V architectural features that we track that impact how
    we configure the actual gdbarch instance.  We hold one of these in the
index dd2257c97a4725bd8c3f0c5149344f951988b8d0..03aacfaf48056c8a6230728fcf70b745b8f7baad 100644 (file)
@@ -15,9 +15,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/>.  */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 #include "tic6x.h"
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 
 #include "../features/tic6x-core.c"
 #include "../features/tic6x-gp.c"
index 8e3607cdea5fab983c9bd2caa649aaf8e5e50c84..fe6251924f9ca586f468b6b7c3edf7714ca1a46b 100644 (file)
@@ -55,7 +55,7 @@
 #include "coff/internal.h"
 #include "elf/arm.h"
 
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 
 #include "record.h"
 #include "record-full.h"
@@ -70,7 +70,7 @@
 #include "features/arm/arm-with-neon.c"
 
 #if GDB_SELF_TEST
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #endif
 
 static int arm_debug;
index 6833c21323ae93ee7914979095f3e17bfb26bc89..7e417994e8f17a9a67cec5312c9149f513916c0f 100644 (file)
 #include "completer.h"
 #include "fnmatch.h"
 #include "top.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "extension.h"
 #include "gdb/section-scripts.h"
 #include <algorithm>
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
 /* The section to look in for auto-loaded scripts (in file formats that
    support sections).
index 5e0ff26ab1a9ce32a05d06d09067b842b2e87511..53958011c81941c7cef35db50811b5b59fd6fb7f 100644 (file)
@@ -25,7 +25,7 @@
 #include "valprint.h"
 #include "gdbcore.h"
 #include "observable.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "objfiles.h"
 
 #include "auxv.h"
index d3eb4cb53ae4abc0afa14ff931cbd6bece9ff4ec..9f1b7a1e88b181d6e1617b0bce84fe45c115ff64 100644 (file)
@@ -46,7 +46,7 @@
 #include "valprint.h"
 #include "c-lang.h"
 
-#include "common/format.h"
+#include "gdbsupport/format.h"
 
 /* To make sense of this file, you should read doc/agentexpr.texi.
    Then look at the types and enums in ax-gdb.h.  For the code itself,
index f956dfc2f530948d06811ccb5d9784f7bde0c0f6..d0fdc621f88ea9b92c2349c54d21778924386ce0 100644 (file)
@@ -353,7 +353,7 @@ struct aop_map aop_map[] =
   {0, 0, 0, 0, 0}
 #define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE) \
   , { # NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED }
-#include "common/ax.def"
+#include "gdbsupport/ax.def"
 #undef DEFOP
 };
 
index d16098b8c9cf5e95a4248c408826ac79c1124279..112c21b6217606e7340dc793657f0a6787352bfe 100644 (file)
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -19,7 +19,7 @@
 #ifndef AX_H
 #define AX_H
 
-#include "common/vec.h"
+#include "gdbsupport/vec.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
@@ -164,7 +164,7 @@ enum agent_op
   {
 #define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE)  \
     aop_ ## NAME = VALUE,
-#include "common/ax.def"
+#include "gdbsupport/ax.def"
 #undef DEFOP
     aop_last
   };
index 9bae0a0254605b5156240341d331ee3cc0163a4d..00fd76220e272432c3744888d13be71aba9434ca 100644 (file)
@@ -65,7 +65,7 @@
 #include "ax-gdb.h"
 #include "dummy-frame.h"
 #include "interps.h"
-#include "common/format.h"
+#include "gdbsupport/format.h"
 #include "thread-fsm.h"
 #include "tid-parse.h"
 #include "cli/cli-style.h"
@@ -82,8 +82,8 @@
 #include "extension.h"
 #include <algorithm>
 #include "progspace-and-thread.h"
-#include "common/array-view.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/array-view.h"
+#include "gdbsupport/gdb_optional.h"
 
 /* Prototypes for local functions.  */
 
index 75f19785cb1d636701c33159905d9ffa45a0d449..3c9d5069b76bbd94e14e7bde1df8d5885c4d6850 100644 (file)
 
 #include "frame.h"
 #include "value.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "ax.h"
 #include "command.h"
-#include "common/break-common.h"
+#include "gdbsupport/break-common.h"
 #include "probe.h"
 #include "location.h"
 #include <vector>
-#include "common/array-view.h"
+#include "gdbsupport/array-view.h"
 #include "cli/cli-script.h"
 
 struct block;
index 2806b8c69d54df4f3e75e1c9148715cfdab74f60..08096adeb1daf881cdaf77819ebe507fcc6d16f4 100644 (file)
@@ -31,7 +31,7 @@
 #include "filenames.h"
 #include "xml-support.h"
 #include "regcache.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/rsp-low.h"
 #include "gdbcmd.h"
 #include "cli/cli-utils.h"
 
@@ -2074,7 +2074,7 @@ parse_xml_raw (struct gdb_xml_parser *parser, const char *body_text,
   gdb::unique_xmalloc_ptr<gdb_byte> data ((gdb_byte *) xmalloc (size));
   bin = data.get ();
 
-  /* We use hex encoding - see common/rsp-low.h.  */
+  /* We use hex encoding - see gdbsupport/rsp-low.h.  */
   while (len > 0)
     {
       char hi, lo;
index 7b38b14ac01ee6ee07abefa9ed86c02c0115a551..ba8d27c879c1713bfe439217012b6166a5b6f203 100644 (file)
@@ -26,9 +26,9 @@
    inferior.  For presentation purposes, the branch trace is represented as a
    list of sequential control-flow blocks, one such list per thread.  */
 
-#include "common/btrace-common.h"
+#include "gdbsupport/btrace-common.h"
 #include "target/waitstatus.h" /* For enum target_stop_reason.  */
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 
 #if defined (HAVE_LIBIPT)
 #  include <intel-pt.h>
index 27f29cd044234430dd8e2565c13bf260920386dd..048da2af86f099c3268b895779540ba9142c3ef5 100644 (file)
@@ -21,7 +21,7 @@
 #include "bfd.h"
 #include "gdb_bfd.h"
 #include "build-id.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "symfile.h"
 #include "objfiles.h"
 #include "filenames.h"
index b8b033e62aae1653916313fb389fd6a401a8955a..2835a760fae9e312b87cb4e7aaf9e9da8f192a24 100644 (file)
@@ -21,7 +21,7 @@
 #define BUILD_ID_H
 
 #include "gdb_bfd.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/rsp-low.h"
 
 /* Locate NT_GNU_BUILD_ID from ABFD and return its content.  */
 
index 70a95eadbf8e176b59313ee34e344e790c40d4dd..d95df54c83e3e1bec46af20a9d938ea661578295 100644 (file)
@@ -29,7 +29,7 @@ struct parser_state;
 #include "value.h"
 #include "macroexp.h"
 #include "parser-defs.h"
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 
 
 /* The various kinds of C string and character.  Note that these
index 5d8a99660319d7ecec4816cdaf443ca450298d4d..9df46c0c74dd7d15b6ae83be91a2e59e1c73829e 100644 (file)
 #include "charset.h"
 #include "gdbcmd.h"
 #include "gdb_obstack.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "charset-list.h"
-#include "common/vec.h"
-#include "common/environ.h"
+#include "gdbsupport/vec.h"
+#include "gdbsupport/environ.h"
 #include "arch-utils.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include <ctype.h>
 
 #ifdef USE_WIN32API
index d7cf247db71f0e6448765fc375ce67bf1f9004d3..623a40a955f999f2a1c9e92132b5561cb00218ca 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef CHARSET_H
 #define CHARSET_H
 
-#include "common/def-vector.h"
+#include "gdbsupport/def-vector.h"
 
 /* If the target program uses a different character set than the host,
    GDB has some support for translating between the two; GDB converts
index 368ddf526d1f184485f686d7c7328faf43e5373e..e689c0ff64edaa8a2ee0456609b204478dedfcd8 100644 (file)
@@ -23,7 +23,7 @@
 #include "readline/tilde.h"
 #include "completer.h"
 #include "target.h"    /* For baud_rate, remote_debug and remote_timeout.  */
-#include "common/gdb_wait.h"   /* For shell escape implementation.  */
+#include "gdbsupport/gdb_wait.h"       /* For shell escape implementation.  */
 #include "gdbcmd.h"
 #include "gdb_regex.h" /* Used by apropos_command.  */
 #include "gdb_vfork.h"
@@ -37,7 +37,7 @@
 #include "source.h"
 #include "disasm.h"
 #include "tracepoint.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "location.h"
 #include "block.h"
 
@@ -52,7 +52,7 @@
 #include "cli/cli-utils.h"
 
 #include "extension.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
 #ifdef TUI
 #include "tui/tui.h"   /* For tui_active et.al.  */
index 94e210a84ebb444445527fccf795506bead8487c..188df05febd68c3e88edd8703bc6663eacc37ce1 100644 (file)
@@ -17,8 +17,8 @@
 #ifndef CLI_CLI_CMDS_H
 #define CLI_CLI_CMDS_H
 
-#include "common/filestuff.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/gdb_optional.h"
 
 /* Chain containing all defined commands.  */
 
index a6ddd8cc6d848361983f1a7259b1bb94058a2c15..edea3ad021ebbc0388ac00a8a4da8eb910107ec1 100644 (file)
@@ -24,7 +24,7 @@
 #include "cli/cli-cmds.h"
 #include "cli/cli-decode.h"
 #include "cli/cli-style.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 
 /* Prototypes for local functions.  */
 
index 621bc9373ff76e7d9efef81c0e1b164430d2470a..1910ca27659db40edf1a4b755ca3494f1907ed0a 100644 (file)
@@ -30,8 +30,8 @@
 #include "gdbcore.h"
 #include "cli/cli-utils.h"
 #include "gdb_bfd.h"
-#include "common/filestuff.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/byte-vector.h"
 
 static gdb::unique_xmalloc_ptr<char>
 scan_expression (const char **cmd, const char *def)
index a26b52f7f29c92fb21bd7deab49442d99a2a5034..d231d8b1adbf9a5713aae1f97c3a02b395fd574e 100644 (file)
@@ -20,8 +20,8 @@
 #ifndef CLI_OPTION_H
 #define CLI_OPTION_H 1
 
-#include "common/gdb_optional.h"
-#include "common/array-view.h"
+#include "gdbsupport/gdb_optional.h"
+#include "gdbsupport/array-view.h"
 #include "completer.h"
 #include <string>
 #include "command.h"
index 361ead472508a2dcbab30c24a979c6ec9091d29b..4fc9c70259ca537fc1c4cbd38ebee3f68ca8105f 100644 (file)
@@ -33,7 +33,7 @@
 #include "extension.h"
 #include "interps.h"
 #include "compile/compile.h"
-#include "common/gdb_string_view.h"
+#include "gdbsupport/gdb_string_view.h"
 #include "python/python.h"
 #include "guile/guile.h"
 
index f5721382f4c7b28aaf5c752cc7fba6f1bf9f5e9c..9f7384bc146643c7af9bce65b1a2c0258a0ce461 100644 (file)
@@ -33,7 +33,7 @@
 #include "symtab.h"
 #include "symfile.h"
 #include "objfiles.h"
-#include "common/common-utils.h"
+#include "gdbsupport/common-utils.h"
 #include "coff/internal.h"
 
 #include <ctype.h>
index 648950b5a448043cf244eca14153ca33cdc31ad1..2c608048d5471daa37bd245b65335982abb86785 100644 (file)
@@ -18,8 +18,8 @@
 #if !defined (COMMAND_H)
 #define COMMAND_H 1
 
-#include "common/gdb_vecs.h"
-#include "common/scoped_restore.h"
+#include "gdbsupport/gdb_vecs.h"
+#include "gdbsupport/scoped_restore.h"
 
 struct completion_tracker;
 
index d1947da6570bc655f578e3eb87d98d462dd5ede0..0f50c0910387b8d9e8c399196a48b9a781b7d46b 100644 (file)
@@ -27,8 +27,8 @@
 #include "macrotab.h"
 #include "macroscope.h"
 #include "regcache.h"
-#include "common/function-view.h"
-#include "common/preprocessor.h"
+#include "gdbsupport/function-view.h"
+#include "gdbsupport/preprocessor.h"
 
 /* See compile-internal.h.  */
 
index b5a2194dbbbd5ae6461f3ddb44c3f4d59ee39489..4b65d46d5c6fb1113d3fd492c3cc3676d7436c1d 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef COMPILE_COMPILE_C_H
 #define COMPILE_COMPILE_C_H
 
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 #include "gcc-c-plugin.h"
 
 /* enum-flags wrapper.  */
index 98133afd7cda12854b4aac0f4986c84028d99242..201c4479f0936367bbce31f0f0e76294c034f15a 100644 (file)
@@ -21,7 +21,7 @@
 #include "defs.h"
 #include "compile-internal.h"
 #include "compile-cplus.h"
-#include "common/gdb_assert.h"
+#include "gdbsupport/gdb_assert.h"
 #include "symtab.h"
 #include "parser-defs.h"
 #include "block.h"
index d7aef265cf820800e6671f9ccef0712f7f4c162f..3a7c8b01f7d0906c87bcdc92262684e845f2c1b8 100644 (file)
 
 
 #include "defs.h"
-#include "common/preprocessor.h"
+#include "gdbsupport/preprocessor.h"
 #include "gdbtypes.h"
 #include "compile-internal.h"
 #include "compile-cplus.h"
-#include "common/gdb_assert.h"
+#include "gdbsupport/gdb_assert.h"
 #include "symtab.h"
 #include "source.h"
 #include "cp-support.h"
index e5ea7d7c81acd446f66360728af82e6faf673048..d58e030b5a2345837ef72dbf9d342a350fc659c9 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef COMPILE_COMPILE_CPLUS_H
 #define COMPILE_COMPILE_CPLUS_H
 
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 #include "gcc-cp-plugin.h"
 
 struct type;
index b5682d80a5537674e504a5e3ca7433a2dc6d44c0..9ca10b772105c438ca6f07b3d0b67000fcf8e24c 100644 (file)
@@ -28,7 +28,7 @@
 #include "compile.h"
 #include "block.h"
 #include "dwarf2-frame.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "value.h"
 
 \f
index 25d0bfe60223a4d3f7214a03fc901fb40dcf1c34..4c0721daa677df31cef3d893f58b1e319ea0df68 100644 (file)
 #include "source.h"
 #include "block.h"
 #include "arch-utils.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "target.h"
 #include "osabi.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "valprint.h"
-#include "common/gdb_optional.h"
-#include "common/gdb_unlinker.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/gdb_optional.h"
+#include "gdbsupport/gdb_unlinker.h"
+#include "gdbsupport/pathstuff.h"
 
 \f
 
index 6892a62bb914ff55f9762322750676ad5a29d757..07facfb012c1e0a196c784cb65108d028640338b 100644 (file)
@@ -22,7 +22,7 @@
 #include "expression.h"
 #include "filenames.h"         /* For DOSish file names.  */
 #include "language.h"
-#include "common/gdb_signals.h"
+#include "gdbsupport/gdb_signals.h"
 #include "target.h"
 #include "reggroups.h"
 #include "user-regs.h"
index 9f8ec47c9f13326073132cd1809318c077af0a89..313010fce2280c1b90aa637453deff7b0ad4f5ce 100644 (file)
@@ -17,7 +17,7 @@
 #if !defined (COMPLETER_H)
 #define COMPLETER_H 1
 
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "command.h"
 
 /* Types of functions in struct match_list_displayer.  */
index 361f3cc95bb3ffb8f2dfba87f502baa10f538a15..12954d1f74ae570b2bba27ecf1ff70b3ea1ae820 100755 (executable)
@@ -6545,7 +6545,7 @@ fi
 . $srcdir/configure.host
 
 # Add in the common host objects.
-. $srcdir/common/common.host
+. $srcdir/gdbsupport/common.host
 gdb_host_obs="$gdb_host_obs $common_host_obs"
 
 # Accumulate some settings from configure.tgt over all enabled targets
@@ -17715,8 +17715,8 @@ if $enable_unittests; then
 $as_echo "#define GDB_SELF_TEST 1" >>confdefs.h
 
 
-  CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) common/selftest.o selftest-arch.o"
-  CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) common/selftest.c selftest-arch.c"
+  CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) gdbsupport/selftest.o selftest-arch.o"
+  CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) gdbsupport/selftest.c selftest-arch.c"
 
 fi
 
index 275f08d2a70fbc7c269b964050548328c42a13a8..2a43d12df761aa445ba086a8797e69f19c2daa2d 100644 (file)
@@ -178,7 +178,7 @@ fi
 . $srcdir/configure.host
 
 # Add in the common host objects.
-. $srcdir/common/common.host
+. $srcdir/gdbsupport/common.host
 gdb_host_obs="$gdb_host_obs $common_host_obs"
 
 # Accumulate some settings from configure.tgt over all enabled targets
@@ -2256,8 +2256,8 @@ AC_DEFINE(GDB_DEFAULT_HOST_CHARSET, "UTF-8",
           [Define to be a string naming the default host character set.])
 
 GDB_AC_SELFTEST([
-  CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) common/selftest.o selftest-arch.o"
-  CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) common/selftest.c selftest-arch.c"
+  CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) gdbsupport/selftest.o selftest-arch.o"
+  CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) gdbsupport/selftest.c selftest-arch.c"
 ])
 
 GDB_AC_TRANSFORM([gdb], [GDB_TRANSFORM_NAME])
index 597d08849e5022b202ff2e72aaaef2a1555e92a2..895654150b37a833fb43a391478d56da4f4bc66c 100755 (executable)
@@ -334,7 +334,7 @@ Do not include gnu-regex.h, instead include gdb_regex.h"
 
 BEGIN { doc["wait.h"] = "\
 Do not include wait.h or sys/wait.h, instead include gdb_wait.h"
-    fix("wait.h", "common/gdb_wait.h", 2);
+    fix("wait.h", "gdbsupport/gdb_wait.h", 2);
     category["wait.h"] = ari_regression
 }
 /^#[[:space:]]*include[[:space:]]*.wait\.h./ \
@@ -446,7 +446,7 @@ Do not use PARAMS(), ISO C 90 implies prototypes"
 BEGIN { doc["__func__"] = "\
 Do not use __func__, ISO C 90 does not support this macro"
     category["__func__"] = ari_regression
-    fix("__func__", "common/gdb_assert.h", 1)
+    fix("__func__", "gdbsupport/gdb_assert.h", 1)
 }
 /(^|[^_[:alnum:]])__func__([^_[:alnum:]]|$)/ {
     fail("__func__")
@@ -593,8 +593,8 @@ BEGIN { doc["strerror"] = "\
 Do not use strerror(), instead use safe_strerror()"
     category["strerror"] = ari_regression
     fix("strerror", "gdb/gdb_string.h", 1)
-    fix("strerror", "gdb/common/mingw-strerror.c", 1)
-    fix("strerror", "gdb/common/posix-strerror.c", 1)
+    fix("strerror", "gdb/gdbsupport/mingw-strerror.c", 1)
+    fix("strerror", "gdb/gdbsupport/posix-strerror.c", 1)
 }
 /(^|[^_[:alnum:]])strerror[[:space:]]*\(/ {
     fail("strerror")
@@ -1080,7 +1080,7 @@ Do not use asprintf(), instead use xstrprintf()"
 
 BEGIN { doc["vasprintf"] = "\
 Do not use vasprintf(), instead use xstrvprintf"
-    fix("vasprintf", "common/common-utils.c", 1)
+    fix("vasprintf", "gdbsupport/common-utils.c", 1)
     category["vasprintf"] = ari_regression
 }
 /(^|[^_[:alnum:]])vasprintf[[:space:]]*\(/ {
index bf859fbbb8d8641f9c631aa510e6ed59fdfe78be..4fe8606a22dec09f922058d6ed1a37422e406b30 100644 (file)
@@ -138,7 +138,7 @@ validate_files (void)
     }
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 char *
 get_exec_file (int err)
index 9fcc2d23727203a9b788bfa3b7503b2ffd92a11a..c0e5ad12eab012a306bd8ed0406bd64ca44f1bf5 100644 (file)
@@ -42,7 +42,7 @@
 #include "objfiles.h"
 #include "gdb_bfd.h"
 #include "completer.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 #ifndef O_LARGEFILE
 #define O_LARGEFILE 0
index 9ba6ee3ede537f2383f73ba9473905f9cfefc278..562c6f155c7f48fc6dbf445ca0447213b13eb845 100644 (file)
@@ -34,9 +34,9 @@
 #include "cp-abi.h"
 #include "namespace.h"
 #include <signal.h>
-#include "common/gdb_setjmp.h"
+#include "gdbsupport/gdb_setjmp.h"
 #include "safe-ctype.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 #define d_left(dc) (dc)->u.s_binary.left
 #define d_right(dc) (dc)->u.s_binary.right
index c2e63ea0de3f3b1d8973113df3d1a4a6afa33144..987850730ac10ddf559f5109a3a543f82ab06aa0 100644 (file)
 /* We need this for 'domain_enum', alas...  */
 
 #include "symtab.h"
-#include "common/vec.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/vec.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "gdb_obstack.h"
-#include "common/array-view.h"
+#include "gdbsupport/array-view.h"
 #include <vector>
 
 /* Opaque declarations.  */
index d3a38d885d86639044420d9112a048a9a6d15b71..c8472d94b24c49a6bce704b41692f1520474e536 100644 (file)
@@ -35,7 +35,7 @@
 #include "language.h"
 #include "extension.h"
 #include "typeprint.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 static struct obstack dont_print_vb_obstack;
 static struct obstack dont_print_statmem_obstack;
index cd7d8c5a0b116e48fa8a66f3ef181f35c3005f80..54b856af067ddc23589a486d9c6ab835defe8f49 100644 (file)
@@ -20,7 +20,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/gdb_assert.h"
+#include "gdbsupport/gdb_assert.h"
 #include "frame.h"
 #include "inferior.h"
 #include "symtab.h"
index 7a95df781524eab179888b99ab06a5ea18be5de4..cc714f00e2c349d5a32395a1b7b49e3ef4a0b08d 100644 (file)
--- a/gdb/ctf.c
+++ b/gdb/ctf.c
@@ -31,7 +31,7 @@
 #include "tracefile.h"
 #include <ctype.h>
 #include <algorithm>
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 /* The CTF target.  */
 
index d2cb683c572c914a3e6f4c591cd5e36ead4b6c8c..f890e13944c5e52cbbad6258ba2ea4e0be32de0e 100644 (file)
 
 #include "darwin-nat.h"
 #include "filenames.h"
-#include "common/filestuff.h"
-#include "common/gdb_unlinker.h"
-#include "common/pathstuff.h"
-#include "common/scoped_fd.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/gdb_unlinker.h"
+#include "gdbsupport/pathstuff.h"
+#include "gdbsupport/scoped_fd.h"
 #include "nat/fork-inferior.h"
 
 /* Quick overview.
index 5926503e742e68e1f389a22dd89a21cb8aab0444..5907ed1510454f388c1e7f33aa421fa17360e3b4 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 
-/* See common/common-debug.h.  */
+/* See gdbsupport/common-debug.h.  */
 
 void
 debug_vprintf (const char *fmt, va_list ap)
index 81ab74c27f5df7da5558d19f07cf6e4922bfaf6c..a400722a970108da1b6224ed65b92f06e372245b 100644 (file)
@@ -25,7 +25,7 @@
 #  error gdbserver should not include gdb/defs.h
 #endif
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 
 #include <sys/types.h>
 #include <limits.h>
@@ -52,8 +52,8 @@
 
 #include "ui-file.h"
 
-#include "common/host-defs.h"
-#include "common/enum-flags.h"
+#include "gdbsupport/host-defs.h"
+#include "gdbsupport/enum-flags.h"
 
 /* Scope types enumerator.  List the types of scopes the compiler will
    accept.  */
index e0d84d981eebc603ace6a954a5173b84220d8ab3..9991796cc0af69ad0bf47fd24a9b491daac7fe5a 100644 (file)
@@ -21,7 +21,7 @@
 #include "disasm.h"
 
 #if GDB_SELF_TEST
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "selftest-arch.h"
 
 namespace selftests {
index 4e58cb67f9310c17017e68486fda33eb91891f9d..4e51bc5f6f665d7e33efdc0e2c8473b6c521c55c 100644 (file)
@@ -29,7 +29,7 @@
 #include "source.h"
 #include "safe-ctype.h"
 #include <algorithm>
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include "valprint.h"
 
 /* Disassemble functions.
index d3cc6312093c53dc40d8043960a3eed2b9854f31..a9cfb21f8723f9117f74aa8211b66a653889dc78 100644 (file)
@@ -20,7 +20,7 @@
 #define DISASM_H
 
 #include "dis-asm.h"
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 
 enum gdb_disassembly_flag
   {
index 2a2eae1f709ba53f2448d6bb53074024cbbc75d0..2d92edb11cd37ffab01c6e45d2b4e5c32ca611d2 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "defs.h"
 #include "probe.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "elf-bfd.h"
 #include "gdbtypes.h"
 #include "obstack.h"
index d01790149351187f0b220d69eed081658c47c81a..f003022b72a3acc9010c1d19c95110f114fa9bd5 100644 (file)
 #include "build-id.h"
 #include "cli/cli-cmds.h"
 #include "command.h"
-#include "common/scoped_mmap.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/scoped_mmap.h"
+#include "gdbsupport/pathstuff.h"
 #include "dwarf-index-write.h"
 #include "dwarf2read.h"
 #include "objfiles.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include <string>
 #include <stdlib.h>
 
index 2f2676321410b1b41c678dc711cd56e7ca17de64..5ff09ff551ccba61b9918aab10dfc7c3be73fc72 100644 (file)
@@ -21,7 +21,7 @@
 #define DWARF_INDEX_CACHE_H
 
 #include "dwarf-index-common.h"
-#include "common/array-view.h"
+#include "gdbsupport/array-view.h"
 #include "symfile.h"
 
 /* Base of the classes used to hold the resources of the indices loaded from
index 3f5862aeb4ca2167babbb22a87d08e183752539d..7d59a1ba160aafac7aeff9093b0f46338413706e 100644 (file)
 
 #include "addrmap.h"
 #include "cli/cli-decode.h"
-#include "common/byte-vector.h"
-#include "common/filestuff.h"
-#include "common/gdb_unlinker.h"
-#include "common/pathstuff.h"
-#include "common/scoped_fd.h"
+#include "gdbsupport/byte-vector.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/gdb_unlinker.h"
+#include "gdbsupport/pathstuff.h"
+#include "gdbsupport/scoped_fd.h"
 #include "complaints.h"
 #include "dwarf-index-common.h"
 #include "dwarf2.h"
index 0f2502b4c6830ecbbbaee0add10d69ace21b285c..cad6b7b0ce0d4ada72d919ccd0f581a4fdc2e5ea 100644 (file)
@@ -40,7 +40,7 @@
 #include "dwarf2loc.h"
 #include "dwarf2-frame-tailcall.h"
 #if GDB_SELF_TEST
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "selftest-arch.h"
 #endif
 
index 3bd9abc4401e4d555704bb27987c9487a72571e1..6d919600e84b195889cfa98e15ebc1b70d9f811f 100644 (file)
@@ -27,7 +27,7 @@
 #include "dwarf2.h"
 #include "dwarf2expr.h"
 #include "dwarf2loc.h"
-#include "common/underlying.h"
+#include "gdbsupport/underlying.h"
 
 /* Cookie for gdbarch data.  */
 
index 37cda40ecf35e8f9257b0e8899ed67477a215fbf..83ff1f45d5a9752a6aba25aadce2e78f0efa5bf7 100644 (file)
 #include "dwarf2read.h"
 #include "dwarf2-frame.h"
 #include "compile/compile.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include <algorithm>
 #include <vector>
 #include <unordered_set>
-#include "common/underlying.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/underlying.h"
+#include "gdbsupport/byte-vector.h"
 
 extern int dwarf_always_disassemble;
 
index f1fbba43fade3db9b68ca2d66e07193b357ee615..f4796776db8349c646892afe93361ed6e45ad830 100644 (file)
@@ -58,7 +58,7 @@
 #include "psympriv.h"
 #include <sys/stat.h>
 #include "completer.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "c-lang.h"
 #include "go-lang.h"
 #include "valprint.h"
 #include "gdb_bfd.h"
 #include "f-lang.h"
 #include "source.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "build-id.h"
 #include "namespace.h"
-#include "common/gdb_unlinker.h"
-#include "common/function-view.h"
-#include "common/gdb_optional.h"
-#include "common/underlying.h"
-#include "common/byte-vector.h"
-#include "common/hash_enum.h"
+#include "gdbsupport/gdb_unlinker.h"
+#include "gdbsupport/function-view.h"
+#include "gdbsupport/gdb_optional.h"
+#include "gdbsupport/underlying.h"
+#include "gdbsupport/byte-vector.h"
+#include "gdbsupport/hash_enum.h"
 #include "filename-seen-cache.h"
 #include "producer.h"
 #include <fcntl.h>
 #include <algorithm>
 #include <unordered_set>
 #include <unordered_map>
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include <cmath>
 #include <set>
 #include <forward_list>
 #include "rust-lang.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
 /* When == 1, print basic high level tracing messages.
    When > 1, be more verbose.
index 9251bde125926bcb7d5d81d0a664f2b65012f47c..8939f97af5306bb7524b56335df83bd470edd0bf 100644 (file)
@@ -24,7 +24,7 @@
 #include "dwarf-index-cache.h"
 #include "filename-seen-cache.h"
 #include "gdb_obstack.h"
-#include "common/hash_enum.h"
+#include "gdbsupport/hash_enum.h"
 
 /* Hold 'maintenance (set|show) dwarf' commands.  */
 extern struct cmd_list_element *set_dwarf_cmdlist;
index caeb5f38d9b5b65f467dc8610724c2b9b71d9aaa..affa00b4aa960ac50e168517e977e23ee4d807bd 100644 (file)
@@ -31,7 +31,7 @@
 #endif
 
 #include <sys/types.h>
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 #include "gdb_select.h"
 #include "observable.h"
 #include "top.h"
index 3facb38aae8282acf160d45301eaef525f7e98cf..2132fb550dc261825914d51a7da28ea8c6bce02c 100644 (file)
@@ -37,7 +37,7 @@
 #include "gdbcmd.h"            /* for dont_repeat() */
 #include "annotate.h"
 #include "maint.h"
-#include "common/buffer.h"
+#include "gdbsupport/buffer.h"
 #include "ser-event.h"
 #include "gdb_select.h"
 
index ebdc71d98d40af59b086fceb4bccbc3bc710b3df..a4059472574b6958a6218eaac7e9c69423d940b0 100644 (file)
@@ -27,7 +27,7 @@
 #include "serial.h"
 #include "gdbthread.h"
 #include "top.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 
 static void
 print_flush (void)
index 7de92347f2eee516cb8db2aa6b70a89c7ffd8947..3098fcaadd5c5ca5e8819d8ccbfcc57ec4a5765a 100644 (file)
@@ -45,7 +45,7 @@
 #include <sys/stat.h>
 #include "solist.h"
 #include <algorithm>
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
 void (*deprecated_file_changed_hook) (const char *);
 
index 2f1b71851c67665c83125b905ac9ba4accfa3e2c..5e914f5d011bbcc7f396101363553f7c91172301 100644 (file)
@@ -21,8 +21,8 @@
 #define EXTENSION_H
 
 #include "mi/mi-cmds.h" /* For PRINT_NO_VALUES, etc.  */
-#include "common/vec.h"
-#include "common/array-view.h"
+#include "gdbsupport/vec.h"
+#include "gdbsupport/array-view.h"
 
 struct breakpoint;
 struct command_line;
index d4f4c8cf3592b5eaf61ccdd7b3514287feef9d54..b5be0b7a3df1be9799664a6314b6dff706b8d612 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 #include "gdbcore.h"
 #include "inferior.h"
 #include "regcache.h"
 #include "regset.h"
 #include "gdbcmd.h"
 #include "gdbthread.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "inf-ptrace.h"
 #include <sys/types.h>
 #include <sys/procfs.h>
@@ -37,7 +37,7 @@
 #include <libutil.h>
 #endif
 #if !defined(HAVE_KINFO_GETVMMAP)
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #endif
 
 #include "elf-bfd.h"
index c6e1910be07553e19d5c80bd6742896bdfe931cb..a080a641c45f55cb020f85da5411475c1d13ac44 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: aarch64-core.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_aarch64_core (struct target_desc *result, long regnum)
index b73d12ebe4880e0c03cc8cd01e24dd3efe2c040a..87e394656fccc5803456d358cc147efe52dd2ebc 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: aarch64-fpu.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_aarch64_fpu (struct target_desc *result, long regnum)
index e4b84ffb552fcf8b2939b288bc615d3c52598a92..931e6cb28410eb9b81759d77057396bb7e867af7 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: aarch64-pauth.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_aarch64_pauth (struct target_desc *result, long regnum)
index ae292d2f3da50291587a6cdfbca6bc789430ce19..9c7f56d80d855044239d65cc4f14281236a7803f 100644 (file)
@@ -15,7 +15,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 /* This function is NOT auto generated from xml.  Create the aarch64 with SVE
    feature into RESULT, where SCALE is the number of 128 bit chunks in a Z
index b9feac377cf696efbabc417895788081ac3bfb32..32ca7a0f0788d64665da6111ff188700a624e424 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-avx.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_32bit_avx (struct target_desc *result, long regnum)
index 51a403259db2dbae7524df606f6c03bd0f03f5cb..96d0e068bd253f2a26d37f3f98889f4468730bae 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-avx512.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_32bit_avx512 (struct target_desc *result, long regnum)
index 098c2ca31c6bb63d51c77aa75bc46061966403be..8f9fbad717b614c66a741e1c01d0cdc2af8a3f25 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-core.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_32bit_core (struct target_desc *result, long regnum)
index 3bc593739c9bcbda7e7a8b0a9ca830ed2cc51e39..3289f07d332fe190fcde73f538e675f295f148b3 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-linux.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_32bit_linux (struct target_desc *result, long regnum)
index 8288e9d758f2718465621ed55b3514145cf1dd3b..40b34ed73b716ce60dec39e999bb46d83f0c54e1 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-mpx.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_32bit_mpx (struct target_desc *result, long regnum)
index a2a72f40a31005153b2bd7ba35625ca39fa99b87..5e9087e43037dea9b72fc9e66e50538296e69011 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-pkeys.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_32bit_pkeys (struct target_desc *result, long regnum)
index c22c3dfbc3cb6c03ae0758d44b08188098497b18..209d434ba872bf7e22a681f6526e275ac576da6d 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-segments.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_32bit_segments (struct target_desc *result, long regnum)
index 68fbab06a4003f0df9040a880968350d5b84f1dd..e5eaf8feb59e6efe55ba8fd9ac59e3cfb6493215 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-sse.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_32bit_sse (struct target_desc *result, long regnum)
index 7e45c980dbc1ed25e22c116119b0c784b551a962..f44af9ffed6a45ab2484a9f5f1f5a5b092dc0e25 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-avx.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_64bit_avx (struct target_desc *result, long regnum)
index acc07a3628b2fb7e01b839eb063eabbf99ad42a7..d12234c41ce109489cae0df0fd3a3842379af0c0 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-avx512.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_64bit_avx512 (struct target_desc *result, long regnum)
index 617425da217da0823dd1c49440312d86d54a778f..2418fe54e80c4b872231103b57292b284d90b8f9 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-core.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_64bit_core (struct target_desc *result, long regnum)
index 68de9d27e8bb495b5cdb0a9e681171ed0f811284..661ce6b88336af7b1cb5f5b3d0543e932c275e7e 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-linux.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_64bit_linux (struct target_desc *result, long regnum)
index ce4d611d9c11aa5e63a33e304f99b66d9e63fb87..3eabc9d33c5af9107bf7fe768a4873d5d8aa9140 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-mpx.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_64bit_mpx (struct target_desc *result, long regnum)
index 70b88cf74db40f341a9c7195d897604d96b58d8b..83001d4a876db240e4c7da885dfdaae73439c10a 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-pkeys.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_64bit_pkeys (struct target_desc *result, long regnum)
index b06d40fbda3b9a5aa0bcea01831e23399cad27d6..d85717046d443a8cb84c37e2ff7fd22c95feff81 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-segments.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_64bit_segments (struct target_desc *result, long regnum)
index e08309374115d16ee19c6b5bba63abbbf65ae821..48b5aa097938a5a9941d91ccd00ed45eaefaa6c1 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-sse.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_64bit_sse (struct target_desc *result, long regnum)
index dd6e1a2ed6a9234aec1c8472e2f811dfa6efc13b..740eb658a5f0ab5c0bb65e051d918f3ec702ef1d 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: x32-core.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_i386_x32_core (struct target_desc *result, long regnum)
index 64686db5cdd60ab36b07a9019c6d67f253f0af22..26e6dc1b3221a499dcd9815a3faf17e30402634c 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-cpu.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_riscv_32bit_cpu (struct target_desc *result, long regnum)
index 711e958ddae4f3e21b1e5ffa4e4c2e1759d09bf7..d306bc8d293449fbe696f57a95f31c2e709af2f1 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-csr.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_riscv_32bit_csr (struct target_desc *result, long regnum)
index a19780aab0c5315e590caf1d52559e198d60d20a..d92407fb9e06df0717c227157eac0cebd3d793fd 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 32bit-fpu.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_riscv_32bit_fpu (struct target_desc *result, long regnum)
index 910089805ee22346444a05fe32e617ad8d017b38..96ecce0896212758f90c9e412304bb6044a6d61a 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-cpu.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_riscv_64bit_cpu (struct target_desc *result, long regnum)
index 7c777406254e344454f3c17ffc47021d406b2364..e46a77f305181ff8d133ba50df374d315669ce0b 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-csr.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_riscv_64bit_csr (struct target_desc *result, long regnum)
index b93cb4ec03b36cb42e2f8ef8a077cafbcfda112d..4fd8ee1e41baba642614b5e977c006d23271a87e 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: 64bit-fpu.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_riscv_64bit_fpu (struct target_desc *result, long regnum)
index bfd69d7fd52cf028c623bc32b0ea5e7377335411..c295051cfacad1b89449c57466c2e4b121b9078f 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: tic6x-c6xp.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_tic6x_c6xp (struct target_desc *result, long regnum)
index 0415209275a792f0ad287e35ab40674b164eb786..2dc9655323628e2385979857c49e7190fd504891 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: tic6x-core.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_tic6x_core (struct target_desc *result, long regnum)
index 4a0734c04a477e38b21b4b59a7055eade4db515a..fcc4cbc345a5ec5e24ae0eb74c5bc98f8a9685be 100644 (file)
@@ -1,7 +1,7 @@
 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
   Original: tic6x-gp.xml */
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 static int
 create_feature_tic6x_gp (struct target_desc *result, long regnum)
index 824245e77e619070b954334075f122fcea27cb7d..90bd564e57cf5e5047ba07d9e89d3a94cbcdceda 100644 (file)
@@ -21,7 +21,7 @@
 #define FILENAME_SEEN_CACHE_H
 
 #include "defs.h"
-#include "common/function-view.h"
+#include "gdbsupport/function-view.h"
 
 /* Cache to watch for file names already seen.  */
 
index 52f8f80aaae8f50d5068d5f0c669f62b4e6d208d..5a1fa89938aebfab14ee46e3238da95a43d21bbd 100644 (file)
@@ -25,7 +25,7 @@
 #include "target.h"
 #include "cli/cli-utils.h"
 #include <algorithm>
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 /* Copied from bfd_put_bits.  */
 
index e89ee37ffc7e788e10e0c87494fcc190e646203a..e52ec8d7c92d2ea5f4e73b6302c60c941e73c539 100644 (file)
@@ -32,7 +32,7 @@
 #include "objfiles.h"
 #include "language.h"
 #include "dwarf2loc.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 /* Basic byte-swapping routines.  All 'extract' functions return a
    host-format integer from a target-format integer at ADDR which is
index 4c49848830ae9ba527b193a75677c0f43a6cc663..edfb6a3c5a1cd0cec3e94b44ee9b0f2fe7275af2 100644 (file)
 #include "terminal.h"
 #include "gdbthread.h"
 #include "top.h"
-#include "common/job-control.h"
-#include "common/filestuff.h"
+#include "gdbsupport/job-control.h"
+#include "gdbsupport/filestuff.h"
 #include "nat/fork-inferior.h"
-#include "common/common-inferior.h"
+#include "gdbsupport/common-inferior.h"
 
 /* The exec-wrapper, if any, that will be used when starting the
    inferior.  */
 
 static char *exec_wrapper = NULL;
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 const char *
 get_exec_wrapper ()
index 21d9ee886718e71b3ae6e6c180e53574bced6e52..eb108feb790c3c7d61c6c74fcfacdb2f20935f23 100644 (file)
@@ -35,9 +35,9 @@
 #include "gdb_bfd.h"
 #include "readline/tilde.h"
 #include <algorithm>
-#include "common/gdb_unlinker.h"
-#include "common/byte-vector.h"
-#include "common/scope-exit.h"
+#include "gdbsupport/gdb_unlinker.h"
+#include "gdbsupport/byte-vector.h"
+#include "gdbsupport/scope-exit.h"
 
 /* The largest amount of memory to read from the target at once.  We
    must throttle it to limit the amount of memory used by GDB during
index 29e6a67adcda12b37678de25cb8d6e85657e7b5e..132cb6f4705877a08ce5ebf6142ce3f590c9a03b 100644 (file)
@@ -22,8 +22,8 @@
 #include "ui-out.h"
 #include "gdbcmd.h"
 #include "hashtab.h"
-#include "common/filestuff.h"
-#include "common/vec.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/vec.h"
 #ifdef HAVE_MMAP
 #include <sys/mman.h>
 #ifndef MAP_FAILED
index 87b48f51f7c3c6e9832df51e7a979a2e14dc2b0f..aa67fc0a1403ec88d3972d712c2af6099680c3b9 100644 (file)
@@ -21,7 +21,7 @@
 #define GDB_BFD_H
 
 #include "registry.h"
-#include "common/gdb_ref_ptr.h"
+#include "gdbsupport/gdb_ref_ptr.h"
 
 DECLARE_REGISTRY (bfd);
 
index ad69e1dde00dac0d09ef396f23796dcde6224c00..24e2463fc621e82b6ddffc6d616080bb2f965759 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef GDB_PROC_SERVICE_H
 #define GDB_PROC_SERVICE_H
 
-#include "common/gdb_proc_service.h"
+#include "gdbsupport/gdb_proc_service.h"
 
 struct thread_info;
 
index 711f121c1dc2407e4cc14d84d2958eb0b8b0aac1..ce8444361ce308c996acc34dc6f2e84409494eed 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "defs.h"
 #include "gdb_regex.h"
-#include "common/def-vector.h"
+#include "gdbsupport/def-vector.h"
 
 compiled_regex::compiled_regex (const char *regex, int cflags,
                                const char *message)
index ec4547bde2a63a9265870784dd59d95d79c293b9..00a972ec84c9889ea0218e5b223439ecaefd0870 100644 (file)
@@ -23,7 +23,7 @@
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #else
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 #endif
 
 #ifdef USE_WIN32API
index 25cc8e1b16c62fbd96b55304ebc5f5921f9c0e4f..9a92ced34a886b51516ae3a5bd198ea5b8b541d1 100644 (file)
@@ -18,7 +18,7 @@
 #include "defs.h"
 #include "gdb_usleep.h"
 #include "gdb_select.h"
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 
 int
 gdb_usleep (int usec)
index 0efd4bc13055c6ef33a1a193ccf18b1a3d8d76de..bc8d9bda7aa460a131b7f5e809eb11609918f8e3 100644 (file)
 
 #include "defs.h"
 #if GDB_SELF_TEST
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "selftest-arch.h"
 #include "inferior.h"
 #include "gdbthread.h"
 #include "target.h"
 #include "test-target.h"
 #include "target-float.h"
-#include "common/def-vector.h"
+#include "gdbsupport/def-vector.h"
 
 namespace selftests {
 
index 0bd61131cbcb509f9b3d42f6d11f064374321232..0a48ad5b79243c7aa69f07154aec6a11b7c013d4 100644 (file)
@@ -1,3 +1,22 @@
+2019-07-09  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * configure.ac: Change common to gdbsupport.
+       * acinclude.m4: Change common to gdbsupport.
+       * Makefile.in (SFILES, OBS, GDBREPLAY_OBS, IPA_OBJS)
+       (version-generated.c, gdbsupport/%-ipa.o, gdbsupport/%.o): Change
+       common to gdbsupport.
+       * ax.c, event-loop.c, fork-child.c, gdb_proc_service.h,
+       gdbreplay.c, gdbthread.h, hostio-errno.c, hostio.c, i387-fp.c,
+       inferiors.c, inferiors.h, linux-aarch64-tdesc-selftest.c,
+       linux-amd64-ipa.c, linux-i386-ipa.c, linux-low.c,
+       linux-tic6x-low.c, linux-x86-low.c, linux-x86-tdesc-selftest.c,
+       linux-x86-tdesc.c, lynx-i386-low.c, lynx-low.c, mem-break.h,
+       nto-x86-low.c, regcache.c, regcache.h, remote-utils.c, server.c,
+       server.h, spu-low.c, symbol.c, target.h, tdesc.c, tdesc.h,
+       thread-db.c, tracepoint.c, win32-i386-low.c, win32-low.c: Change
+       common to gdbsupport.
+
 2019-07-04  Alan Hayward  <alan.hayward@arm.com>
 
        * linux-aarch32-low.c (arm_read_description, arm_regsets): Use new
index b9df2be9df187a97ada3db28a0f264a9cdc56d83..ba0356b1d5bff9b1b5ce3675e2c242ed4dee50f1 100644 (file)
@@ -198,29 +198,29 @@ SFILES = \
        $(srcdir)/arch/arm-linux.c \
        $(srcdir)/arch/ppc-linux-common.c \
        $(srcdir)/../alloc.c \
-       $(srcdir)/common/btrace-common.c \
-       $(srcdir)/common/buffer.c \
-       $(srcdir)/common/cleanups.c \
-       $(srcdir)/common/common-debug.c \
-       $(srcdir)/common/common-exceptions.c \
-       $(srcdir)/common/common-regcache.c \
-       $(srcdir)/common/common-utils.c \
-       $(srcdir)/common/errors.c \
-       $(srcdir)/common/environ.c \
-       $(srcdir)/common/fileio.c \
-       $(srcdir)/common/filestuff.c \
-       $(srcdir)/common/job-control.c \
-       $(srcdir)/common/gdb_tilde_expand.c \
-       $(srcdir)/common/gdb_vecs.c \
-       $(srcdir)/common/netstuff.c \
-       $(srcdir)/common/new-op.c \
-       $(srcdir)/common/pathstuff.c \
-       $(srcdir)/common/print-utils.c \
-       $(srcdir)/common/ptid.c \
-       $(srcdir)/common/rsp-low.c \
-       $(srcdir)/common/tdesc.c \
-       $(srcdir)/common/vec.c \
-       $(srcdir)/common/xml-utils.c \
+       $(srcdir)/gdbsupport/btrace-common.c \
+       $(srcdir)/gdbsupport/buffer.c \
+       $(srcdir)/gdbsupport/cleanups.c \
+       $(srcdir)/gdbsupport/common-debug.c \
+       $(srcdir)/gdbsupport/common-exceptions.c \
+       $(srcdir)/gdbsupport/common-regcache.c \
+       $(srcdir)/gdbsupport/common-utils.c \
+       $(srcdir)/gdbsupport/errors.c \
+       $(srcdir)/gdbsupport/environ.c \
+       $(srcdir)/gdbsupport/fileio.c \
+       $(srcdir)/gdbsupport/filestuff.c \
+       $(srcdir)/gdbsupport/job-control.c \
+       $(srcdir)/gdbsupport/gdb_tilde_expand.c \
+       $(srcdir)/gdbsupport/gdb_vecs.c \
+       $(srcdir)/gdbsupport/netstuff.c \
+       $(srcdir)/gdbsupport/new-op.c \
+       $(srcdir)/gdbsupport/pathstuff.c \
+       $(srcdir)/gdbsupport/print-utils.c \
+       $(srcdir)/gdbsupport/ptid.c \
+       $(srcdir)/gdbsupport/rsp-low.c \
+       $(srcdir)/gdbsupport/tdesc.c \
+       $(srcdir)/gdbsupport/vec.c \
+       $(srcdir)/gdbsupport/xml-utils.c \
        $(srcdir)/nat/aarch64-sve-linux-ptrace.c \
        $(srcdir)/nat/linux-btrace.c \
        $(srcdir)/nat/linux-namespaces.c \
@@ -241,33 +241,33 @@ TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
 OBS = \
        alloc.o \
        ax.o \
-       common/agent.o \
-       common/btrace-common.o \
-       common/buffer.o \
-       common/cleanups.o \
-       common/common-debug.o \
-       common/common-exceptions.o \
-       common/job-control.o \
-       common/common-regcache.o \
-       common/common-utils.o \
-       common/errors.o \
-       common/environ.o \
-       common/fileio.o \
-       common/filestuff.o \
-       common/format.o \
-       common/gdb_tilde_expand.o \
-       common/gdb_vecs.o \
-       common/netstuff.o \
-       common/new-op.o \
-       common/pathstuff.o \
-       common/print-utils.o \
-       common/ptid.o \
-       common/rsp-low.o \
-       common/signals.o \
-       common/signals-state-save-restore.o \
-       common/tdesc.o \
-       common/vec.o \
-       common/xml-utils.o \
+       gdbsupport/agent.o \
+       gdbsupport/btrace-common.o \
+       gdbsupport/buffer.o \
+       gdbsupport/cleanups.o \
+       gdbsupport/common-debug.o \
+       gdbsupport/common-exceptions.o \
+       gdbsupport/job-control.o \
+       gdbsupport/common-regcache.o \
+       gdbsupport/common-utils.o \
+       gdbsupport/errors.o \
+       gdbsupport/environ.o \
+       gdbsupport/fileio.o \
+       gdbsupport/filestuff.o \
+       gdbsupport/format.o \
+       gdbsupport/gdb_tilde_expand.o \
+       gdbsupport/gdb_vecs.o \
+       gdbsupport/netstuff.o \
+       gdbsupport/new-op.o \
+       gdbsupport/pathstuff.o \
+       gdbsupport/print-utils.o \
+       gdbsupport/ptid.o \
+       gdbsupport/rsp-low.o \
+       gdbsupport/signals.o \
+       gdbsupport/signals-state-save-restore.o \
+       gdbsupport/tdesc.o \
+       gdbsupport/vec.o \
+       gdbsupport/xml-utils.o \
        debug.o \
        dll.o \
        event-loop.o \
@@ -290,13 +290,13 @@ OBS = \
        $(XML_BUILTIN)
 
 GDBREPLAY_OBS = \
-       common/cleanups.o \
-       common/common-exceptions.o \
-       common/common-utils.o \
-       common/rsp-low.o \
-       common/errors.o \
-       common/netstuff.o \
-       common/print-utils.o \
+       gdbsupport/cleanups.o \
+       gdbsupport/common-exceptions.o \
+       gdbsupport/common-utils.o \
+       gdbsupport/rsp-low.o \
+       gdbsupport/errors.o \
+       gdbsupport/netstuff.o \
+       gdbsupport/print-utils.o \
        gdbreplay.o \
        utils.o \
        version.o
@@ -418,13 +418,13 @@ gdbreplay$(EXEEXT): $(sort $(GDBREPLAY_OBS)) $(LIBGNU) $(LIBIBERTY)
 IPA_OBJS = \
        alloc-ipa.o \
        ax-ipa.o \
-       common/common-utils-ipa.o \
-       common/errors-ipa.o \
-       common/format-ipa.o \
-       common/print-utils-ipa.o \
-       common/rsp-low-ipa.o \
-       common/tdesc-ipa.o \
-       common/vec-ipa.o \
+       gdbsupport/common-utils-ipa.o \
+       gdbsupport/errors-ipa.o \
+       gdbsupport/format-ipa.o \
+       gdbsupport/print-utils-ipa.o \
+       gdbsupport/rsp-low-ipa.o \
+       gdbsupport/tdesc-ipa.o \
+       gdbsupport/vec-ipa.o \
        regcache-ipa.o \
        remote-utils-ipa.o \
        tdesc-ipa.o \
@@ -519,8 +519,8 @@ am--refresh:
 
 force:
 
-version-generated.c: Makefile $(srcdir)/../version.in $(srcdir)/../../bfd/version.h $(srcdir)/../common/create-version.sh
-       $(ECHO_GEN) $(SHELL) $(srcdir)/../common/create-version.sh $(srcdir)/.. \
+version-generated.c: Makefile $(srcdir)/../version.in $(srcdir)/../../bfd/version.h $(srcdir)/../gdbsupport/create-version.sh
+       $(ECHO_GEN) $(SHELL) $(srcdir)/../gdbsupport/create-version.sh $(srcdir)/.. \
                $(host_alias) $(target_alias) $@
 
 xml-builtin-generated.c: stamp-xml; @true
@@ -582,7 +582,7 @@ arch/%-ipa.o: ../arch/%.c
        $(IPAGENT_COMPILE) $<
        $(POSTCOMPILE)
 
-common/%-ipa.o: ../common/%.c
+gdbsupport/%-ipa.o: ../gdbsupport/%.c
        $(IPAGENT_COMPILE) $<
        $(POSTCOMPILE)
 
@@ -611,7 +611,7 @@ arch/%.o: ../arch/%.c
        $(COMPILE) $<
        $(POSTCOMPILE)
 
-common/%.o: ../common/%.c
+gdbsupport/%.o: ../gdbsupport/%.c
        $(COMPILE) $<
        $(POSTCOMPILE)
 
index fc3e344a611a12e0a77563289d164aaf2dc11781..96ded3d7d3900e84a9612ed8e7e3e55522c32c9a 100644 (file)
@@ -21,7 +21,7 @@ m4_include(../../config/lead-dot.m4)
 dnl codeset.m4 is needed for common.m4, but not for
 dnl anything else in gdbserver.
 m4_include(../../config/codeset.m4)
-m4_include(../common/common.m4)
+m4_include(../gdbsupport/common.m4)
 
 dnl For libiberty_INIT.
 m4_include(../libiberty.m4)
index 7b8df917492debf251c4eba54f944d02d83a5798..2c096ef0cff200122ab8fd049d84aef4c4a699b2 100644 (file)
@@ -18,9 +18,9 @@
 
 #include "server.h"
 #include "ax.h"
-#include "common/format.h"
+#include "gdbsupport/format.h"
 #include "tracepoint.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/rsp-low.h"
 
 static void ax_vdebug (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
 
@@ -60,7 +60,7 @@ enum gdb_agent_op
   {
 #define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE)  \
     gdb_agent_op_ ## NAME = VALUE,
-#include "common/ax.def"
+#include "gdbsupport/ax.def"
 #undef DEFOP
     gdb_agent_op_last
   };
@@ -69,7 +69,7 @@ static const char *gdb_agent_op_names [gdb_agent_op_last] =
   {
     "?undef?"
 #define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE)  , # NAME
-#include "common/ax.def"
+#include "gdbsupport/ax.def"
 #undef DEFOP
   };
 
@@ -78,7 +78,7 @@ static const unsigned char gdb_agent_op_sizes [gdb_agent_op_last] =
   {
     0
 #define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE)  , SIZE
-#include "common/ax.def"
+#include "gdbsupport/ax.def"
 #undef DEFOP
   };
 #endif
index e89f2d06c14f5ea6c9a9277c33decb4a4adaac1d..0c04fcc8ae6a52b51cce6fd457788493692cd60e 100755 (executable)
@@ -5916,7 +5916,7 @@ if $enable_unittests; then
 $as_echo "#define GDB_SELF_TEST 1" >>confdefs.h
 
 
-  srv_selftest_objs="common/selftest.o"
+  srv_selftest_objs="gdbsupport/selftest.o"
 
 fi
 
@@ -5958,7 +5958,7 @@ ac_config_commands="$ac_config_commands depdir"
 
 
 # Create sub-directories for objects and dependencies.
-CONFIG_SRC_SUBDIR="arch common"
+CONFIG_SRC_SUBDIR="arch gdbsupport"
 
 
 ac_config_commands="$ac_config_commands gdbdepdir"
@@ -7892,7 +7892,7 @@ esac
 . ${srcdir}/configure.srv
 
 # Add in the common host objects.
-. ${srcdir}/../common/common.host
+. ${srcdir}/../gdbsupport/common.host
 srv_host_obs="$common_host_obs"
 
 if test "${srv_mingwce}" = "yes"; then
index d943269377b77ebb7cd57ab192e803dbfcdbd0b9..574b7c5b287917575a632baa7dd27700f65b90b7 100644 (file)
@@ -55,7 +55,7 @@ fi
 GDB_AC_LIBMCHECK(${libmcheck_default})
 
 GDB_AC_SELFTEST([
-  srv_selftest_objs="common/selftest.o"
+  srv_selftest_objs="gdbsupport/selftest.o"
 ])
 
 ACX_NONCANONICAL_TARGET
@@ -65,7 +65,7 @@ ACX_NONCANONICAL_HOST
 ZW_CREATE_DEPDIR
 
 # Create sub-directories for objects and dependencies.
-CONFIG_SRC_SUBDIR="arch common"
+CONFIG_SRC_SUBDIR="arch gdbsupport"
 AC_SUBST(CONFIG_SRC_SUBDIR)
 
 AC_CONFIG_COMMANDS([gdbdepdir],[
@@ -255,7 +255,7 @@ esac
 . ${srcdir}/configure.srv
 
 # Add in the common host objects.
-. ${srcdir}/../common/common.host
+. ${srcdir}/../gdbsupport/common.host
 srv_host_obs="$common_host_obs"
 
 if test "${srv_mingwce}" = "yes"; then
index 0442680c23793af9c6f117ed9030fcb19fafb841..bcc496eee0faf6fcf721e1f31885f8efe31d8473 100644 (file)
@@ -21,7 +21,7 @@
 #include "server.h"
 
 #include <sys/types.h>
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 
 #ifdef USE_WIN32API
 #include <windows.h>
index a8bd0403780b2f9e71d00b5ba77643d4489322e0..ddd73094e6cbb1fa5e25c5d3e5e6c31cf5b37750 100644 (file)
@@ -17,7 +17,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "server.h"
-#include "common/job-control.h"
+#include "gdbsupport/job-control.h"
 #include "nat/fork-inferior.h"
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
index 626bc164fe35aecbe2195feff0074b3b8fec4489..f0d0c1b189d787976f5617fc74c82ef4b2a6a0aa 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef GDBSERVER_GDB_PROC_SERVICE_H
 #define GDBSERVER_GDB_PROC_SERVICE_H
 
-#include "common/gdb_proc_service.h"
+#include "gdbsupport/gdb_proc_service.h"
 
 /* Structure that identifies the target process.  */
 struct ps_prochandle
index f4fd5686ef7f98e55c4a43383ba7c43ff0eb6e67..325291479391adc78d5f47f5c651dcad2340bbc0 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
-#include "common/version.h"
+#include "gdbsupport/common-defs.h"
+#include "gdbsupport/version.h"
 
 #if HAVE_SYS_FILE_H
 #include <sys/file.h>
@@ -48,8 +48,8 @@
 #include <ws2tcpip.h>
 #endif
 
-#include "common/netstuff.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/netstuff.h"
+#include "gdbsupport/rsp-low.h"
 
 #ifndef HAVE_SOCKLEN_T
 typedef int socklen_t;
index 44ed3c4723c2dd59861a38576366ef48b6b78dab..825a7f6b51007d890ba60e9cc74b61c93f79a1c3 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef GDBSERVER_GDBTHREAD_H
 #define GDBSERVER_GDBTHREAD_H
 
-#include "common/common-gdbthread.h"
+#include "gdbsupport/common-gdbthread.h"
 #include "inferiors.h"
 
 #include <list>
index 6325fee3ffdb966d73ac9315e7e26a075d218928..737331bbfcd5842e6524d47720094029543a5f31 100644 (file)
@@ -22,7 +22,7 @@
    on top of errno.  */
 
 #include "server.h"
-#include "common/fileio.h"
+#include "gdbsupport/fileio.h"
 
 void
 hostio_last_error_from_errno (char *buf)
index eedf6d9fe7212b5fa266c11553370313a710fa6d..e35a2249be92cd6cd32a71c8f198ef6e63a7456b 100644 (file)
@@ -27,7 +27,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include "common/fileio.h"
+#include "gdbsupport/fileio.h"
 
 struct fd_list
 {
index 7dde85a61e5eff448b969d4b82b137046b7eb52c..3b92feedb3970a3e083add2d623a9f751d41c357 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "server.h"
 #include "i387-fp.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 static const int num_mpx_bnd_registers = 4;
 static const int num_mpx_cfg_registers = 2;
index 17bfd1f6ec8c0fded687406c01176d5df035bd25..e35186bda14eb90a91fe897d59aa1f5199ca798f 100644 (file)
@@ -213,7 +213,7 @@ current_process (void)
   return get_thread_process (current_thread);
 }
 
-/* See common/common-gdbthread.h.  */
+/* See gdbsupport/common-gdbthread.h.  */
 
 void
 switch_to_thread (ptid_t ptid)
@@ -222,7 +222,7 @@ switch_to_thread (ptid_t ptid)
   current_thread = find_thread_ptid (ptid);
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 const char *
 get_inferior_cwd ()
@@ -230,7 +230,7 @@ get_inferior_cwd ()
   return current_inferior_cwd;
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 void
 set_inferior_cwd (const char *cwd)
index cf284b807bb27231220e7b04f48bb4a505711341..f4ab9fddb54c58c96967d9d9fb0ebfe8820bf744 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef GDBSERVER_INFERIORS_H
 #define GDBSERVER_INFERIORS_H
 
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include <list>
 
 struct thread_info;
index 99206536ca81930d53650eb8b74e0db29971876f..6bab392bbbb7d78ae208baebb0650ca3b728a01b 100644 (file)
@@ -22,7 +22,7 @@
 #include <sys/mman.h>
 #include "tracepoint.h"
 #include "linux-x86-tdesc.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 /* Defined in auto-generated file amd64-linux.c.  */
 void init_registers_amd64_linux (void);
index f5fd227505ab9b57726790a54892ac27eed8d2d4..2e3d1ac7feed95eaace72454ca83423a534ff485 100644 (file)
@@ -22,7 +22,7 @@
 #include <sys/mman.h>
 #include "tracepoint.h"
 #include "linux-x86-tdesc.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 /* GDB register numbers.  */
 
index 917b1c290bcdc0dde742a405907eb920d9f8ae90..3113017ae67837aa7a5de3097b4f7224d1dee82a 100644 (file)
 #include "server.h"
 #include "linux-low.h"
 #include "nat/linux-osdata.h"
-#include "common/agent.h"
+#include "gdbsupport/agent.h"
 #include "tdesc.h"
-#include "common/rsp-low.h"
-#include "common/signals-state-save-restore.h"
+#include "gdbsupport/rsp-low.h"
+#include "gdbsupport/signals-state-save-restore.h"
 #include "nat/linux-nat.h"
 #include "nat/linux-waitpid.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "nat/gdb_ptrace.h"
 #include "nat/linux-ptrace.h"
 #include "nat/linux-procfs.h"
 #include <sys/stat.h>
 #include <sys/vfs.h>
 #include <sys/uio.h>
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "tracepoint.h"
 #include "hostio.h"
 #include <inttypes.h>
-#include "common/common-inferior.h"
+#include "gdbsupport/common-inferior.h"
 #include "nat/fork-inferior.h"
-#include "common/environ.h"
-#include "common/scoped_restore.h"
+#include "gdbsupport/environ.h"
+#include "gdbsupport/scoped_restore.h"
 #ifndef ELFMAG0
 /* Don't include <linux/elf.h> here.  If it got included by gdb_proc_service.h
    then ELFMAG0 will have been defined.  If it didn't get included by
 
 #ifdef HAVE_LINUX_BTRACE
 # include "nat/linux-btrace.h"
-# include "common/btrace-common.h"
+# include "gdbsupport/btrace-common.h"
 #endif
 
 #ifndef HAVE_ELF32_AUXV_T
@@ -7189,7 +7189,7 @@ linux_low_encode_raw (struct buffer *buffer, const gdb_byte *data,
   if (size == 0)
     return;
 
-  /* We use hex encoding - see common/rsp-low.h.  */
+  /* We use hex encoding - see gdbsupport/rsp-low.h.  */
   buffer_grow_str (buffer, "<raw>\n");
 
   while (size-- > 0)
index 7eecdeb798669616b0c36081d81db1a9d42f9c3c..6682e1bda4056f4a569bec2b95f3dcfc4342d6ee 100644 (file)
@@ -424,7 +424,7 @@ struct linux_target_ops the_low_target = {
 };
 
 #if GDB_SELF_TEST
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 namespace selftests {
 namespace tdesc {
index db240e2bc46ce3ada2c981490947d41668f66e00..cb0169c4bd5649b82b87497738dbba26d4a6e36b 100644 (file)
@@ -24,7 +24,7 @@
 #include "linux-low.h"
 #include "i387-fp.h"
 #include "x86-low.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "nat/gdb_ptrace.h"
 
 #ifdef __x86_64__
@@ -38,7 +38,7 @@
 #include "elf/common.h"
 #endif
 
-#include "common/agent.h"
+#include "gdbsupport/agent.h"
 #include "tdesc.h"
 #include "tracepoint.h"
 #include "ax.h"
index 8f24a3d72d161e960ef1119aba04ac13fb53c949..b39ed53549bdd4b6a6adea2f30ec3ad75c2bda0b 100644 (file)
@@ -21,7 +21,7 @@
 #include "tdesc.h"
 #include "linux-x86-tdesc.h"
 #include "arch/i386.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #ifdef __x86_64__
 #include "arch/amd64.h"
 #endif
index e47f6b92f637695cced3eaa9d96bf08d84ef528b..ca707acf43bf700d939815bf82ae86b936080110 100644 (file)
@@ -19,7 +19,7 @@
 #include "lynx-low.h"
 #include <limits.h>
 #include <sys/ptrace.h>
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "arch/i386.h"
 #include "x86-tdesc.h"
 
index 4f6314669eb571c6aede9aba278700bb5e3b1c76..0a8b258e87d11c086a47359ff22963b5ee2de2cf 100644 (file)
 #include <unistd.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <signal.h>
-#include "common/filestuff.h"
-#include "common/common-inferior.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/common-inferior.h"
 #include "nat/fork-inferior.h"
 
 int using_threads = 1;
index d2d75104f339b2fc3022c706c68851006ef9055b..4984a555d546798d8f76ff1f9c59d50cc41f5966 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef GDBSERVER_MEM_BREAK_H
 #define GDBSERVER_MEM_BREAK_H
 
-#include "common/break-common.h"
+#include "gdbsupport/break-common.h"
 
 /* Breakpoints are opaque.  */
 struct breakpoint;
index cfbe7ba6d810c1f116a833797f5134cd71a7f687..b51f424fb46fd4507fd76fbd7ecef8b89de01d82 100644 (file)
@@ -23,7 +23,7 @@
 #include "regcache.h"
 
 #include <x86/context.h>
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "arch/i386.h"
 #include "x86-tdesc.h"
 
index a56b580654da61a482186cec79c311a091b67e67..98c7511c6824473834b382f1d2e8bd3df7875b8f 100644 (file)
@@ -20,7 +20,7 @@
 #include "regdef.h"
 #include "gdbthread.h"
 #include "tdesc.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/rsp-low.h"
 #ifndef IN_PROCESS_AGENT
 
 struct regcache *
@@ -63,7 +63,7 @@ get_thread_regcache (struct thread_info *thread, int fetch)
   return regcache;
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 struct regcache *
 get_thread_regcache_for_ptid (ptid_t ptid)
@@ -291,7 +291,7 @@ register_size (const struct target_desc *tdesc, int n)
   return find_register_by_number (tdesc, n).size / 8;
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 int
 regcache_register_size (const struct regcache *regcache, int n)
@@ -312,7 +312,7 @@ supply_register (struct regcache *regcache, int n, const void *buf)
   return regcache->raw_supply (n, buf);
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 void
 regcache::raw_supply (int n, const void *buf)
@@ -415,7 +415,7 @@ collect_register (struct regcache *regcache, int n, void *buf)
   regcache->raw_collect (n, buf);
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 void
 regcache::raw_collect (int n, void *buf) const
@@ -500,7 +500,7 @@ regcache_write_pc (struct regcache *regcache, CORE_ADDR pc)
 
 #endif
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 enum register_status
 regcache::get_register_status (int regnum) const
@@ -513,7 +513,7 @@ regcache::get_register_status (int regnum) const
 #endif
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 bool
 regcache::raw_compare (int regnum, const void *buf, int offset) const
index 5ee44788dcd32b323331f69a9e78be022202fe6e..d3a350aff9783d730c4bf825a98f7ee865d81a9f 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef GDBSERVER_REGCACHE_H
 #define GDBSERVER_REGCACHE_H
 
-#include "common/common-regcache.h"
+#include "gdbsupport/common-regcache.h"
 
 struct thread_info;
 struct target_desc;
@@ -46,16 +46,16 @@ struct regcache : public reg_buffer_common
   unsigned char *register_status = nullptr;
 #endif
 
-  /* See common/common-regcache.h.  */
+  /* See gdbsupport/common-regcache.h.  */
   enum register_status get_register_status (int regnum) const override;
 
-  /* See common/common-regcache.h.  */
+  /* See gdbsupport/common-regcache.h.  */
   void raw_supply (int regnum, const void *buf) override;
 
-  /* See common/common-regcache.h.  */
+  /* See gdbsupport/common-regcache.h.  */
   void raw_collect (int regnum, void *buf) const override;
 
-  /* See common/common-regcache.h.  */
+  /* See gdbsupport/common-regcache.h.  */
   bool raw_compare (int regnum, const void *buf, int offset) const override;
 };
 
@@ -102,7 +102,7 @@ void registers_to_string (struct regcache *regcache, char *buf);
 
 void registers_from_string (struct regcache *regcache, char *buf);
 
-/* For regcache_read_pc see common/common-regcache.h.  */
+/* For regcache_read_pc see gdbsupport/common-regcache.h.  */
 
 void regcache_write_pc (struct regcache *regcache, CORE_ADDR pc);
 
index 7c495beb7cd9a6f6704c51190b5903a21606f652..d965b6fe644d4e2786bf5ea75002abfb837935f5 100644 (file)
@@ -24,9 +24,9 @@
 #include "gdbthread.h"
 #include "tdesc.h"
 #include "dll.h"
-#include "common/rsp-low.h"
-#include "common/netstuff.h"
-#include "common/filestuff.h"
+#include "gdbsupport/rsp-low.h"
+#include "gdbsupport/netstuff.h"
+#include "gdbsupport/filestuff.h"
 #include <ctype.h>
 #if HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>
@@ -55,7 +55,7 @@
 #if HAVE_FCNTL_H
 #include <fcntl.h>
 #endif
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 #include <unistd.h>
 #if HAVE_ARPA_INET_H
 #include <arpa/inet.h>
index 5e93a58fd6bf23d1b3fe35d55409ef0a1deadb50..5b14883f7a8a88af89c8f9d12109d045792031db 100644 (file)
 
 #include "server.h"
 #include "gdbthread.h"
-#include "common/agent.h"
+#include "gdbsupport/agent.h"
 #include "notif.h"
 #include "tdesc.h"
-#include "common/rsp-low.h"
-#include "common/signals-state-save-restore.h"
+#include "gdbsupport/rsp-low.h"
+#include "gdbsupport/signals-state-save-restore.h"
 #include <ctype.h>
 #include <unistd.h>
 #if HAVE_SIGNAL_H
 #include <signal.h>
 #endif
-#include "common/gdb_vecs.h"
-#include "common/gdb_wait.h"
-#include "common/btrace-common.h"
-#include "common/filestuff.h"
+#include "gdbsupport/gdb_vecs.h"
+#include "gdbsupport/gdb_wait.h"
+#include "gdbsupport/btrace-common.h"
+#include "gdbsupport/filestuff.h"
 #include "tracepoint.h"
 #include "dll.h"
 #include "hostio.h"
 #include <vector>
-#include "common/common-inferior.h"
-#include "common/job-control.h"
-#include "common/environ.h"
+#include "gdbsupport/common-inferior.h"
+#include "gdbsupport/job-control.h"
+#include "gdbsupport/environ.h"
 #include "filenames.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
-#include "common/selftest.h"
-#include "common/scope-exit.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/scope-exit.h"
 
 #define require_running_or_return(BUF)         \
   if (!target_running ())                      \
@@ -258,7 +258,7 @@ target_running (void)
   return get_first_thread () != NULL;
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 const char *
 get_exec_wrapper ()
@@ -266,7 +266,7 @@ get_exec_wrapper ()
   return !wrapper_argv.empty () ? wrapper_argv.c_str () : NULL;
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 char *
 get_exec_file (int err)
index 400001addd3bd3d3dc2084e4f319434aecb59ff1..520969453ac40004e80c33020f8eb2d759d59e1d 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef GDBSERVER_SERVER_H
 #define GDBSERVER_SERVER_H
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 
 gdb_static_assert (sizeof (CORE_ADDR) >= sizeof (void *));
 
@@ -27,7 +27,7 @@ gdb_static_assert (sizeof (CORE_ADDR) >= sizeof (void *));
 #include "wincecompat.h"
 #endif
 
-#include "common/version.h"
+#include "gdbsupport/version.h"
 
 #if !HAVE_DECL_STRERROR
 #ifndef strerror
@@ -54,13 +54,13 @@ int vsnprintf(char *str, size_t size, const char *format, va_list ap);
 #  define PROG "gdbserver"
 #endif
 
-#include "common/buffer.h"
-#include "common/xml-utils.h"
+#include "gdbsupport/buffer.h"
+#include "gdbsupport/xml-utils.h"
 #include "regcache.h"
-#include "common/gdb_signals.h"
+#include "gdbsupport/gdb_signals.h"
 #include "target.h"
 #include "mem-break.h"
-#include "common/environ.h"
+#include "gdbsupport/environ.h"
 
 /* Target-specific functions */
 
@@ -104,7 +104,7 @@ extern int in_queued_stop_replies (ptid_t ptid);
 
 #include "utils.h"
 #include "debug.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 
 /* Maximum number of bytes to read/write at once.  The value here
    is chosen to fill up a packet (the headers account for the 32).  */
index 97f985ae8f832c975fd31cdd22b7996f5aa575b3..4930c59d73005a83df52f6c435fa62b50b5eedf4 100644 (file)
 
 #include "server.h"
 
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <sys/ptrace.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/syscall.h>
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "hostio.h"
 #include "nat/fork-inferior.h"
 
index 20eb492f6be3bcdd1dc75b9de0ca0ce6dce41ff7..56a5d3e753debe6d230864f42cab4a750569801e 100644 (file)
@@ -18,9 +18,9 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "server.h"
-#include "common/symbol.h"
+#include "gdbsupport/symbol.h"
 
-/* See common/symbol.h.  */
+/* See gdbsupport/symbol.h.  */
 
 int
 find_minimal_symbol_address (const char *name, CORE_ADDR *addr,
index a4c9ad49106208e9d065388ae1b278e2cbdba5fe..434bfa9f3cbe668d8d28ef3b7bb68c5bc9cd1ecd 100644 (file)
@@ -27,7 +27,7 @@
 #include "target/wait.h"
 #include "target/waitstatus.h"
 #include "mem-break.h"
-#include "common/btrace-common.h"
+#include "gdbsupport/btrace-common.h"
 #include <vector>
 
 struct emit_ops;
index 04c702fa033651a83c8c438ce5d156ac36eb9371..92a0a6005f3f4fccdca964f7e981d26deb07ae04 100644 (file)
@@ -122,7 +122,7 @@ current_target_desc (void)
   return current_process ()->tdesc;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 const char *
 tdesc_architecture_name (const struct target_desc *target_desc)
@@ -130,7 +130,7 @@ tdesc_architecture_name (const struct target_desc *target_desc)
   return target_desc->arch;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 set_tdesc_architecture (struct target_desc *target_desc,
@@ -139,7 +139,7 @@ set_tdesc_architecture (struct target_desc *target_desc,
   target_desc->arch = xstrdup (name);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 const char *
 tdesc_osabi_name (const struct target_desc *target_desc)
@@ -147,7 +147,7 @@ tdesc_osabi_name (const struct target_desc *target_desc)
   return target_desc->osabi;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 set_tdesc_osabi (struct target_desc *target_desc, const char *name)
@@ -155,7 +155,7 @@ set_tdesc_osabi (struct target_desc *target_desc, const char *name)
   target_desc->osabi = xstrdup (name);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 const char *
 tdesc_get_features_xml (const target_desc *tdesc)
@@ -177,7 +177,7 @@ tdesc_get_features_xml (const target_desc *tdesc)
 }
 #endif
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 struct tdesc_feature *
 tdesc_create_feature (struct target_desc *tdesc, const char *name)
index 8ccacbb7ed4ec42ca863d6eaa3019197d39dab91..b93f53c8d44592b95bbe1cf23c712709736f7a33 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef GDBSERVER_TDESC_H
 #define GDBSERVER_TDESC_H
 
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 #include "regdef.h"
 #include <vector>
index 387f22f487e9e85ce57ac8a5747e333ffd780062..b2791b0513a69bb603dd03081b10294a43cde4fd 100644 (file)
@@ -26,9 +26,9 @@ extern int debug_threads;
 
 #include "gdb_proc_service.h"
 #include "nat/gdb_thread_db.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "nat/linux-procfs.h"
-#include "common/scoped_restore.h"
+#include "gdbsupport/scoped_restore.h"
 
 #ifndef USE_LIBTHREAD_DB_DIRECTLY
 #include <dlfcn.h>
index 98d28e9bb281ab77b4a842ca2f73be1eb1aae46a..09e7d5f8fec440487f7b7bc8065c3a9c4c95c2d1 100644 (file)
@@ -19,7 +19,7 @@
 #include "server.h"
 #include "tracepoint.h"
 #include "gdbthread.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/rsp-low.h"
 
 #include <ctype.h>
 #include <fcntl.h>
@@ -30,7 +30,7 @@
 #include "tdesc.h"
 
 #define IPA_SYM_STRUCT_NAME ipa_sym_addresses
-#include "common/agent.h"
+#include "gdbsupport/agent.h"
 
 #define DEFAULT_TRACE_BUFFER_SIZE 5242880 /* 5*1024*1024 */
 
index 7b187d3bea3e5da8b39244d5bfce8ee0f69fedde..399520c11dc094ce0a085f1fc082e60a9e9a5e63 100644 (file)
@@ -18,7 +18,7 @@
 #include "server.h"
 #include "win32-low.h"
 #include "x86-low.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #ifdef __x86_64__
 #include "arch/amd64.h"
 #endif
index 1a50141c123faf158c30a772686e805a5b43ff07..49c6cf1b7c9d68f735f5f24a8990e8f2989aa8c4 100644 (file)
@@ -32,8 +32,8 @@
 #include <tlhelp32.h>
 #include <psapi.h>
 #include <process.h>
-#include "common/gdb_tilde_expand.h"
-#include "common/common-inferior.h"
+#include "gdbsupport/gdb_tilde_expand.h"
+#include "gdbsupport/common-inferior.h"
 
 #ifndef USE_WIN32API
 #include <sys/cygwin.h>
similarity index 99%
rename from gdb/common/agent.c
rename to gdb/gdbsupport/agent.c
index ae495a86b8134a4807841f3e31ec5004bf3ef5c5..02cad4636994bffcb9057fd9e98d3d012fbbfc1e 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "common-defs.h"
 #include "target/target.h"
-#include "common/symbol.h"
+#include "gdbsupport/symbol.h"
 #include <unistd.h>
 #include "filestuff.h"
 
similarity index 97%
rename from gdb/common/agent.h
rename to gdb/gdbsupport/agent.h
index 0927faaaf305b07e6167c0ff04c2dd849c6cb556..4f054987dd0dfb6c74c69614a892d4c3a70fc207 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef COMMON_AGENT_H
 #define COMMON_AGENT_H
 
-#include "common/preprocessor.h"
+#include "gdbsupport/preprocessor.h"
 
 int agent_run_command (int pid, const char *cmd, int len);
 
@@ -31,7 +31,7 @@ int agent_look_up_symbols (void *);
 /* Define an entry in an IPA symbol list array.  If IPA_SYM is used, the macro
    IPA_SYM_STRUCT_NAME must be defined to the structure name holding the IPA
    symbol addresses in that particular file, before including
-   common/agent.h.  */
+   gdbsupport/agent.h.  */
 #define IPA_SYM(SYM)                                   \
   {                                                    \
     STRINGIFY (IPA_SYM_EXPORTED_NAME (SYM)),           \
similarity index 100%
rename from gdb/common/ax.def
rename to gdb/gdbsupport/ax.def
similarity index 100%
rename from gdb/common/buffer.c
rename to gdb/gdbsupport/buffer.c
similarity index 100%
rename from gdb/common/buffer.h
rename to gdb/gdbsupport/buffer.h
similarity index 98%
rename from gdb/common/byte-vector.h
rename to gdb/gdbsupport/byte-vector.h
index bc18c0475ebecc26262802720f9eb8d62e3c48ef..5dec3017c20b5cc3ce07922e6e0ad7c3ece7c395 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef COMMON_BYTE_VECTOR_H
 #define COMMON_BYTE_VECTOR_H
 
-#include "common/def-vector.h"
+#include "gdbsupport/def-vector.h"
 
 namespace gdb {
 
similarity index 92%
rename from gdb/common/common-debug.c
rename to gdb/gdbsupport/common-debug.c
index 11aee3ad5e3d574318159fe5807db7e23fd4dfcd..97c90032ebd9855335f1ca3a8ecedcacdd2deadc 100644 (file)
 #include "common-defs.h"
 #include "common-debug.h"
 
-/* See common/common-debug.h.  */
+/* See gdbsupport/common-debug.h.  */
 
 int show_debug_regs;
 
-/* See common/common-debug.h.  */
+/* See gdbsupport/common-debug.h.  */
 
 void
 debug_printf (const char *fmt, ...)
similarity index 98%
rename from gdb/common/common-defs.h
rename to gdb/gdbsupport/common-defs.h
index 92badd56bd353decc6aac3045c95ba6e2083d280..203bd8972da9a760d5a697d6568e02690c18ca5a 100644 (file)
 #include "common-debug.h"
 #include "cleanups.h"
 #include "common-exceptions.h"
-#include "common/poison.h"
+#include "gdbsupport/poison.h"
 
 #define EXTERN_C extern "C"
 #define EXTERN_C_PUSH extern "C" {
 #define EXTERN_C_POP }
 
 /* Pull in gdb::unique_xmalloc_ptr.  */
-#include "common/gdb_unique_ptr.h"
+#include "gdbsupport/gdb_unique_ptr.h"
 
 /* String containing the current directory (what getwd would return).  */
 extern char *current_directory;
similarity index 97%
rename from gdb/common/common-utils.c
rename to gdb/gdbsupport/common-utils.c
index dd839a0d4d12e900a285317149fd163a96a7bef1..384029db70a29d66c1b5f0f91af20f58574d4012 100644 (file)
@@ -303,7 +303,7 @@ skip_to_space (char *chp)
   return (char *) skip_to_space ((const char *) chp);
 }
 
-/* See common/common-utils.h.  */
+/* See gdbsupport/common-utils.h.  */
 
 void
 free_vector_argv (std::vector<char *> &v)
@@ -314,7 +314,7 @@ free_vector_argv (std::vector<char *> &v)
   v.clear ();
 }
 
-/* See common/common-utils.h.  */
+/* See gdbsupport/common-utils.h.  */
 
 std::string
 stringify_argv (const std::vector<char *> &args)
@@ -337,7 +337,7 @@ stringify_argv (const std::vector<char *> &args)
   return ret;
 }
 
-/* See common/common-utils.h.  */
+/* See gdbsupport/common-utils.h.  */
 
 ULONGEST
 align_up (ULONGEST v, int n)
@@ -347,7 +347,7 @@ align_up (ULONGEST v, int n)
   return (v + n - 1) & -n;
 }
 
-/* See common/common-utils.h.  */
+/* See gdbsupport/common-utils.h.  */
 
 ULONGEST
 align_down (ULONGEST v, int n)
similarity index 91%
rename from gdb/common/common.host
rename to gdb/gdbsupport/common.host
index 83fa1842db23efcd1868c2bd28a164bc6a774315..4839059e61048abe76cdf65a731d4b5b1a359b1b 100644 (file)
 
 case "${host}" in
 
-*-mingw*)      common_host_obs=common/mingw-strerror.o
+*-mingw*)      common_host_obs=gdbsupport/mingw-strerror.o
                ;;
 *)
-               common_host_obs=common/posix-strerror.o
+               common_host_obs=gdbsupport/posix-strerror.o
                ;;
 
 esac
similarity index 96%
rename from gdb/common/create-version.sh
rename to gdb/gdbsupport/create-version.sh
index 6e67a613570e9eea20d458ef190c6de93b62de00..30525babb5afae64a079f4dcf456b4f50404a61b 100755 (executable)
@@ -30,7 +30,7 @@ output="$4"
 rm -f version.c-tmp $output version.tmp
 date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$/\1/p' $srcdir/../bfd/version.h`
 sed -e "s/DATE/$date/" < $srcdir/version.in > version.tmp
-echo '#include "common/version.h"' >> version.c-tmp
+echo '#include "gdbsupport/version.h"' >> version.c-tmp
 echo 'const char version[] = "'"`sed q version.tmp`"'";' >> version.c-tmp
 echo 'const char host_name[] = "'"$host_alias"'";' >> version.c-tmp
 echo 'const char target_name[] = "'"$target_alias"'";' >> version.c-tmp
similarity index 96%
rename from gdb/common/def-vector.h
rename to gdb/gdbsupport/def-vector.h
index 90c9ff577a7042dc7659b0a8458985430aaa8d92..fb933b8308d32f1ab6e72d20ae50af8113be1c61 100644 (file)
@@ -19,7 +19,7 @@
 #define COMMON_DEF_VECTOR_H
 
 #include <vector>
-#include "common/default-init-alloc.h"
+#include "gdbsupport/default-init-alloc.h"
 
 namespace gdb {
 
similarity index 93%
rename from gdb/common/environ.c
rename to gdb/gdbsupport/environ.c
index 0c4106cbf6e08ce71e2b347b6b91f3777a191aa8..006d80afdcef5ca047f7d1962594262f86ec4d8a 100644 (file)
@@ -20,7 +20,7 @@
 #include <algorithm>
 #include <utility>
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 gdb_environ &
 gdb_environ::operator= (gdb_environ &&e)
@@ -39,7 +39,7 @@ gdb_environ::operator= (gdb_environ &&e)
   return *this;
 }
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 gdb_environ gdb_environ::from_host_environ ()
 {
@@ -59,7 +59,7 @@ gdb_environ gdb_environ::from_host_environ ()
   return e;
 }
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 void
 gdb_environ::clear ()
@@ -86,7 +86,7 @@ match_var_in_string (const char *string, const char *var, size_t var_len)
   return false;
 }
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 const char *
 gdb_environ::get (const char *var) const
@@ -100,7 +100,7 @@ gdb_environ::get (const char *var) const
   return NULL;
 }
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 void
 gdb_environ::set (const char *var, const char *value)
@@ -124,7 +124,7 @@ gdb_environ::set (const char *var, const char *value)
   m_user_unset_env.erase (std::string (var));
 }
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 void
 gdb_environ::unset (const char *var, bool update_unset_list)
@@ -152,7 +152,7 @@ gdb_environ::unset (const char *var, bool update_unset_list)
     m_user_unset_env.insert (std::string (var));
 }
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 void
 gdb_environ::unset (const char *var)
@@ -160,7 +160,7 @@ gdb_environ::unset (const char *var)
   unset (var, true);
 }
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 char **
 gdb_environ::envp () const
@@ -168,7 +168,7 @@ gdb_environ::envp () const
   return const_cast<char **> (&m_environ_vector[0]);
 }
 
-/* See common/environ.h.  */
+/* See gdbsupport/environ.h.  */
 
 const std::set<std::string> &
 gdb_environ::user_set_env () const
similarity index 91%
rename from gdb/common/errors.c
rename to gdb/gdbsupport/errors.c
index 22080124d4bbd3c426509fa68c9b0bf042cb8f4c..96be0381850e45aea8e5b4ab65478acb9dd8bfdd 100644 (file)
@@ -20,7 +20,7 @@
 #include "common-defs.h"
 #include "errors.h"
 
-/* See common/errors.h.  */
+/* See gdbsupport/errors.h.  */
 
 void
 warning (const char *fmt, ...)
@@ -32,7 +32,7 @@ warning (const char *fmt, ...)
   va_end (ap);
 }
 
-/* See common/errors.h.  */
+/* See gdbsupport/errors.h.  */
 
 void
 error (const char *fmt, ...)
@@ -44,7 +44,7 @@ error (const char *fmt, ...)
   va_end (ap);
 }
 
-/* See common/errors.h.  */
+/* See gdbsupport/errors.h.  */
 
 void
 internal_error (const char *file, int line, const char *fmt, ...)
@@ -56,7 +56,7 @@ internal_error (const char *file, int line, const char *fmt, ...)
   va_end (ap);
 }
 
-/* See common/errors.h.  */
+/* See gdbsupport/errors.h.  */
 
 void
 internal_warning (const char *file, int line, const char *fmt, ...)
similarity index 100%
rename from gdb/common/errors.h
rename to gdb/gdbsupport/errors.h
similarity index 100%
rename from gdb/common/fileio.c
rename to gdb/gdbsupport/fileio.c
similarity index 100%
rename from gdb/common/fileio.h
rename to gdb/gdbsupport/fileio.h
similarity index 99%
rename from gdb/common/filestuff.c
rename to gdb/gdbsupport/filestuff.c
index c7b8c694055138cea1c66c89154f5251a70d2d50..b8fca1552a46f723fde6dcedb9ab8290a88c2851 100644 (file)
@@ -426,7 +426,7 @@ gdb_pipe_cloexec (int filedes[2])
   return result;
 }
 
-/* See common/filestuff.h.  */
+/* See gdbsupport/filestuff.h.  */
 
 bool
 is_regular_file (const char *name, int *errno_ptr)
@@ -457,7 +457,7 @@ is_regular_file (const char *name, int *errno_ptr)
   return false;
 }
 
-/* See common/filestuff.h.  */
+/* See gdbsupport/filestuff.h.  */
 
 bool
 mkdir_recursive (const char *dir)
similarity index 100%
rename from gdb/common/format.c
rename to gdb/gdbsupport/format.c
similarity index 98%
rename from gdb/common/format.h
rename to gdb/gdbsupport/format.h
index 058844cec7b998bbed93c63d2e7ca7cab3d3462f..08ef66a760211b1bca1b9ff6521f9e7ac114a9b6 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef COMMON_FORMAT_H
 #define COMMON_FORMAT_H
 
-#include "common/gdb_string_view.h"
+#include "gdbsupport/gdb_string_view.h"
 
 #if defined(__MINGW32__) && !defined(PRINTF_HAS_LONG_LONG)
 # define USE_PRINTF_I64 1
similarity index 99%
rename from gdb/common/forward-scope-exit.h
rename to gdb/gdbsupport/forward-scope-exit.h
index bffc6e683ba0d50d306fbddaea5eeece8d0fc9ec..bba4027aa5a2d59c6714c4f534e1f0a4d31fe0f8 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef COMMON_FORWARD_SCOPE_EXIT_H
 #define COMMON_FORWARD_SCOPE_EXIT_H
 
-#include "common/scope-exit.h"
+#include "gdbsupport/scope-exit.h"
 #include <functional>
 
 /* A forward_scope_exit is like scope_exit, but instead of giving it a
similarity index 99%
rename from gdb/common/gdb_optional.h
rename to gdb/gdbsupport/gdb_optional.h
index 7ca5725636e9949d950154d2762175b3b0555a02..94300e48d6a89e9d6fae8f221028057cf5ea2734 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef COMMON_GDB_OPTIONAL_H
 #define COMMON_GDB_OPTIONAL_H
 
-#include "common/traits.h"
+#include "gdbsupport/traits.h"
 
 namespace gdb
 {
similarity index 96%
rename from gdb/common/gdb_tilde_expand.c
rename to gdb/gdbsupport/gdb_tilde_expand.c
index 326df8f6aa9584a4f058e326401bdc773b72201b..7e4b06da0e68e0bb8cd035cb8960e639ad7cdf80 100644 (file)
@@ -66,7 +66,7 @@ private:
   glob_t m_glob;
 };
 
-/* See common/gdb_tilde_expand.h.  */
+/* See gdbsupport/gdb_tilde_expand.h.  */
 
 std::string
 gdb_tilde_expand (const char *dir)
@@ -81,7 +81,7 @@ gdb_tilde_expand (const char *dir)
   return expanded_dir;
 }
 
-/* See common/gdb_tilde_expand.h.  */
+/* See gdbsupport/gdb_tilde_expand.h.  */
 
 gdb::unique_xmalloc_ptr<char>
 gdb_tilde_expand_up (const char *dir)
similarity index 98%
rename from gdb/common/job-control.c
rename to gdb/gdbsupport/job-control.c
index fc3de6849041290e0dc27f48eae6fd9629da555d..cd3dde12fbf0d38f7a43d1183bf35d9207b33cfb 100644 (file)
@@ -63,7 +63,7 @@ gdb_setpgid ()
   return retval;
 }
 
-/* See common/common-terminal.h.  */
+/* See gdbsupport/common-terminal.h.  */
 
 void
 have_job_control ()
similarity index 97%
rename from gdb/common/job-control.h
rename to gdb/gdbsupport/job-control.h
index 56eba97b9ee60ae31623242e41d830b0a04440b5..e4660ae50cb9fc6f7a90f67160d865c2595cd878 100644 (file)
@@ -23,7 +23,7 @@
 
 /* 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
-   common/common-inflow.c.  */
+   gdbsupport/common-inflow.c.  */
 extern int job_control;
 
 /* Set the process group of the caller to its own pid, or do nothing
similarity index 97%
rename from gdb/common/netstuff.c
rename to gdb/gdbsupport/netstuff.c
index b192de7060f5bcd02ee36ef1f6fc89b416e4fcfa..a7dc346591348acc9b8d706d51606857c6a87e0f 100644 (file)
 #include <netinet/tcp.h>
 #endif
 
-/* See common/netstuff.h.  */
+/* See gdbsupport/netstuff.h.  */
 
 scoped_free_addrinfo::~scoped_free_addrinfo ()
 {
   freeaddrinfo (m_res);
 }
 
-/* See common/netstuff.h.  */
+/* See gdbsupport/netstuff.h.  */
 
 parsed_connection_spec
 parse_connection_spec_without_prefix (std::string spec, struct addrinfo *hint)
@@ -111,7 +111,7 @@ parse_connection_spec_without_prefix (std::string spec, struct addrinfo *hint)
   return ret;
 }
 
-/* See common/netstuff.h.  */
+/* See gdbsupport/netstuff.h.  */
 
 parsed_connection_spec
 parse_connection_spec (const char *spec, struct addrinfo *hint)
similarity index 100%
rename from gdb/common/new-op.c
rename to gdb/gdbsupport/new-op.c
similarity index 96%
rename from gdb/common/pathstuff.c
rename to gdb/gdbsupport/pathstuff.c
index b295e73237b82de3819c69afa5b44457af18e4a8..fafecd543d3b21b362a8ee471aa66608c781526f 100644 (file)
@@ -27,7 +27,7 @@
 #include <windows.h>
 #endif
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 gdb::unique_xmalloc_ptr<char>
 gdb_realpath (const char *filename)
@@ -80,7 +80,7 @@ gdb_realpath (const char *filename)
   return make_unique_xstrdup (filename);
 }
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 gdb::unique_xmalloc_ptr<char>
 gdb_realpath_keepfile (const char *filename)
@@ -124,7 +124,7 @@ gdb_realpath_keepfile (const char *filename)
   return gdb::unique_xmalloc_ptr<char> (result);
 }
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 gdb::unique_xmalloc_ptr<char>
 gdb_abspath (const char *path)
@@ -145,7 +145,7 @@ gdb_abspath (const char *path)
             path, (char *) NULL));
 }
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 const char *
 child_path (const char *parent, const char *child)
@@ -195,7 +195,7 @@ child_path (const char *parent, const char *child)
   return NULL;
 }
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 bool
 contains_dir_separator (const char *path)
@@ -209,7 +209,7 @@ contains_dir_separator (const char *path)
   return false;
 }
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 std::string
 get_standard_cache_dir ()
@@ -241,7 +241,7 @@ get_standard_cache_dir ()
   return {};
 }
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 std::string
 get_standard_temp_dir ()
@@ -266,7 +266,7 @@ get_standard_temp_dir ()
 #endif
 }
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 const char *
 get_shell ()
@@ -278,7 +278,7 @@ get_shell ()
   return ret;
 }
 
-/* See common/pathstuff.h.  */
+/* See gdbsupport/pathstuff.h.  */
 
 gdb::char_vector
 make_temp_filename (const std::string &f)
similarity index 98%
rename from gdb/common/pathstuff.h
rename to gdb/gdbsupport/pathstuff.h
index 67072a40e733700f369c1284718dee37dbf9cc7d..7d7c8cd02814f03c3ead278c417bd1c18728dca0 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef COMMON_PATHSTUFF_H
 #define COMMON_PATHSTUFF_H
 
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 /* Path utilities.  */
 
similarity index 100%
rename from gdb/common/poison.h
rename to gdb/gdbsupport/poison.h
similarity index 100%
rename from gdb/common/ptid.c
rename to gdb/gdbsupport/ptid.c
similarity index 100%
rename from gdb/common/ptid.h
rename to gdb/gdbsupport/ptid.h
similarity index 99%
rename from gdb/common/rsp-low.h
rename to gdb/gdbsupport/rsp-low.h
index 979b32632bd09d972f1f6fbf75c104d95f4b7353..b2b62c9e5b83fa82ef9928eb74966a02a22996bb 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef COMMON_RSP_LOW_H
 #define COMMON_RSP_LOW_H
 
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 /* Convert hex digit A to a number, or throw an exception.  */
 
similarity index 99%
rename from gdb/common/scope-exit.h
rename to gdb/gdbsupport/scope-exit.h
index 8cdbec305ac84ebf103d2b512b08028413bd96e5..e2e6818295e6a352fb702a12392448f0acf1f2a3 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <functional>
 #include <type_traits>
-#include "common/preprocessor.h"
+#include "gdbsupport/preprocessor.h"
 
 /* scope_exit is a general-purpose scope guard that calls its exit
    function at the end of the current scope.  A scope_exit may be
similarity index 97%
rename from gdb/common/scoped_mmap.c
rename to gdb/gdbsupport/scoped_mmap.c
index 19175e4a919a8a2de2b8bd20cf6f73af64077167..9e0af57e4c9ca3bdb46d30eddbec6f38cd4feb60 100644 (file)
@@ -20,7 +20,7 @@
 #include "common-defs.h"
 #include "scoped_mmap.h"
 #include "scoped_fd.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 #ifdef HAVE_SYS_MMAN_H
 
similarity index 100%
rename from gdb/common/symbol.h
rename to gdb/gdbsupport/symbol.h
similarity index 96%
rename from gdb/common/tdesc.c
rename to gdb/gdbsupport/tdesc.c
index f946a53c7f36fd915f2e5409c50aaeaa0b604716..1e2a3148132ce26458e61a4f376e91d73ee78c1c 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "common-defs.h"
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 tdesc_reg::tdesc_reg (struct tdesc_feature *feature, const std::string &name_,
                      int regnum, int save_restore_, const char *group_,
@@ -114,7 +114,7 @@ tdesc_predefined_type (enum tdesc_type_kind kind)
   gdb_assert_not_reached ("bad predefined tdesc type");
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 struct tdesc_type *
 tdesc_named_type (const struct tdesc_feature *feature, const char *id)
@@ -132,7 +132,7 @@ tdesc_named_type (const struct tdesc_feature *feature, const char *id)
   return NULL;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 tdesc_create_reg (struct tdesc_feature *feature, const char *name,
@@ -145,7 +145,7 @@ tdesc_create_reg (struct tdesc_feature *feature, const char *name,
   feature->registers.emplace_back (reg);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 struct tdesc_type *
 tdesc_create_vector (struct tdesc_feature *feature, const char *name,
@@ -157,7 +157,7 @@ tdesc_create_vector (struct tdesc_feature *feature, const char *name,
   return type;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 tdesc_type_with_fields *
 tdesc_create_struct (struct tdesc_feature *feature, const char *name)
@@ -169,7 +169,7 @@ tdesc_create_struct (struct tdesc_feature *feature, const char *name)
   return type;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 tdesc_set_struct_size (tdesc_type_with_fields *type, int size)
@@ -179,7 +179,7 @@ tdesc_set_struct_size (tdesc_type_with_fields *type, int size)
   type->size = size;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 tdesc_type_with_fields *
 tdesc_create_union (struct tdesc_feature *feature, const char *name)
@@ -191,7 +191,7 @@ tdesc_create_union (struct tdesc_feature *feature, const char *name)
   return type;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 tdesc_type_with_fields *
 tdesc_create_flags (struct tdesc_feature *feature, const char *name,
@@ -206,7 +206,7 @@ tdesc_create_flags (struct tdesc_feature *feature, const char *name,
   return type;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 tdesc_type_with_fields *
 tdesc_create_enum (struct tdesc_feature *feature, const char *name,
@@ -221,7 +221,7 @@ tdesc_create_enum (struct tdesc_feature *feature, const char *name,
   return type;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 tdesc_add_field (tdesc_type_with_fields *type, const char *field_name,
@@ -235,7 +235,7 @@ tdesc_add_field (tdesc_type_with_fields *type, const char *field_name,
   type->fields.emplace_back (field_name, field_type, -1, -1);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 tdesc_add_typed_bitfield (tdesc_type_with_fields *type, const char *field_name,
@@ -248,7 +248,7 @@ tdesc_add_typed_bitfield (tdesc_type_with_fields *type, const char *field_name,
   type->fields.emplace_back (field_name, field_type, start, end);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 tdesc_add_bitfield (tdesc_type_with_fields *type, const char *field_name,
@@ -266,7 +266,7 @@ tdesc_add_bitfield (tdesc_type_with_fields *type, const char *field_name,
   tdesc_add_typed_bitfield (type, field_name, start, end, field_type);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 tdesc_add_flag (tdesc_type_with_fields *type, int start,
@@ -280,7 +280,7 @@ tdesc_add_flag (tdesc_type_with_fields *type, int start,
                             start, start);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 tdesc_add_enum_value (tdesc_type_with_fields *type, int value,
similarity index 100%
rename from gdb/common/tdesc.h
rename to gdb/gdbsupport/tdesc.h
similarity index 100%
rename from gdb/common/traits.h
rename to gdb/gdbsupport/traits.h
similarity index 98%
rename from gdb/common/valid-expr.h
rename to gdb/gdbsupport/valid-expr.h
index 603c76e8f130bb72883bc011c39d4bd6e1af20f5..c622d3546e3cdd81b50bb984ec591ba420b11659 100644 (file)
@@ -26,8 +26,8 @@
 #ifndef COMMON_VALID_EXPR_H
 #define COMMON_VALID_EXPR_H
 
-#include "common/preprocessor.h"
-#include "common/traits.h"
+#include "gdbsupport/preprocessor.h"
+#include "gdbsupport/traits.h"
 
 /* Macro that uses SFINAE magic to detect whether the EXPR expression
    is either valid or ill-formed, at compile time, without actually
similarity index 100%
rename from gdb/common/vec.c
rename to gdb/gdbsupport/vec.c
similarity index 100%
rename from gdb/common/vec.h
rename to gdb/gdbsupport/vec.h
index ffd4bf5c822e8b29b303f568a8014f4d4248a059..04230d3c170e74afe8f16910c9448a035d2b5abe 100644 (file)
@@ -27,12 +27,12 @@ struct symtab;
 #include "frame.h"
 #include "ui-out.h"
 #include "btrace.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "target/waitstatus.h"
 #include "cli/cli-utils.h"
-#include "common/refcounted-object.h"
-#include "common/common-gdbthread.h"
-#include "common/forward-scope-exit.h"
+#include "gdbsupport/refcounted-object.h"
+#include "gdbsupport/common-gdbthread.h"
+#include "gdbsupport/forward-scope-exit.h"
 
 struct inferior;
 
index 49653ffcaf7d58f106689471c907e773e2f89f39..1a131e2279cafcefa6ee61a62db984605f9119ee 100644 (file)
  */
 
 #include "hashtab.h"
-#include "common/array-view.h"
-#include "common/offset-type.h"
-#include "common/enum-flags.h"
-#include "common/underlying.h"
-#include "common/print-utils.h"
+#include "gdbsupport/array-view.h"
+#include "gdbsupport/offset-type.h"
+#include "gdbsupport/enum-flags.h"
+#include "gdbsupport/underlying.h"
+#include "gdbsupport/print-utils.h"
 #include "gdbarch.h"
 
 /* Forward declarations for prototypes.  */
index 5eeac9270a9e3f8f95b6a69413f22f5761b8a8f0..9229f72a0960ac2055932baa626462a7922048e5 100644 (file)
@@ -63,7 +63,7 @@ extern "C"
 #include "value.h"
 #include "language.h"
 #include "target.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
 #include "gdbthread.h"
index ea0872363d3c4b3c424181cf0d80cb2287358e7c..6a58565fef1c8717a0e0eba9b167a48ba989b66f 100644 (file)
@@ -89,7 +89,7 @@
 #include "inferior.h"
 #include "infrun.h"
 #include "gdbthread.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "gdbcore.h"
 #include "command.h"
 #include "gdbcmd.h"
index a426c3c640b01de25dad10545651977ccf002017..39bec8724f46d5fa1d49878275d3f988fa7c4cab 100644 (file)
@@ -30,7 +30,7 @@
 #include "top.h"
 #include "extension-priv.h"
 #include "utils.h"
-#include "common/version.h"
+#include "gdbsupport/version.h"
 #ifdef HAVE_GUILE
 #include "guile.h"
 #include "guile-internal.h"
index 114b35846ed757932f1dc0ba71f236c001b7be1a..f0bb2444ca47ed4bfff89ac9b62a648468ac0455 100644 (file)
@@ -26,7 +26,7 @@
 #include "top.h"
 #include "target.h"
 #include "guile-internal.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 
 #ifdef HAVE_POLL
 #if defined (HAVE_POLL_H)
index 14eace5f9cdb56db3f1a14566dec62522cdcd732..fc5668fb52ef13a7850021c2088e5a377b97c0a1 100644 (file)
@@ -23,7 +23,7 @@
 #include "defs.h"
 #include "filenames.h"
 #include "guile-internal.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
 /* Struct to marshall args to scscm_safe_call_body.  */
 
index 5b99da70e6eeb59e4cf9639f4ac018eb61df54be..b32ec4fad29310161814a8aeedd575e44850d8d4 100644 (file)
@@ -26,7 +26,7 @@
 #include "gdbtypes.h"
 #include "objfiles.h"
 #include "language.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "bcache.h"
 #include "dwarf2loc.h"
 #include "typeprint.h"
index be5d4c67be7462ee348c2143067b5c822d0a1fb4..15a30a4c2a913d6fb2d4e26949af194208df5f76 100644 (file)
@@ -30,7 +30,7 @@
 #include "fbsd-nat.h"
 #include "i386-tdep.h"
 #include "x86-nat.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "x86-bsd-nat.h"
 #include "i386-bsd-nat.h"
 
index f274847174cf37ed07589550e28e3af50d09ddc3..3848bf890d48f1792f54525917d6c83b2ccd625a 100644 (file)
@@ -24,7 +24,7 @@
 #include "regcache.h"
 #include "regset.h"
 #include "i386-fbsd-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 #include "i386-tdep.h"
 #include "i387-tdep.h"
index 30db72d880e0be0fd80e91c3c8ec6a7b2f7299d3..7a04a9647fa139faa2e0c3e1d9be61d3d009defd 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 #include "i386-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "target-descriptions.h"
 #include "osabi.h"
 
index abcf72f8989835b55f2be998f6ea048a00ce6bae..dd8f141f23b118018a31aad4ca3889d0ecae436a 100644 (file)
@@ -31,7 +31,7 @@
 #include "i387-tdep.h"
 #include "i386-tdep.h"
 #include "i386-linux-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 #include "x86-linux-nat.h"
 #include "nat/linux-ptrace.h"
index 4d94ea659aa2365233ac0e03766eeccd62a02841..d0d339d7dcb803d4daf2fd97dffdcbf6bb1bf98d 100644 (file)
@@ -38,7 +38,7 @@
 #include "xml-syscall.h"
 
 #include "i387-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 /* The syscall's XML filename for i386.  */
 #define XML_SYSCALL_FILENAME_I386 "syscalls/i386-linux.xml"
index e3dd4b3238dcdd8c98f64449ccc0afb152d6876a..3b8dac73c6e87df5f3d81e0e341beeac81fcf989 100644 (file)
@@ -46,7 +46,7 @@
 #include "remote.h"
 #include "i386-tdep.h"
 #include "i387-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "x86-tdep.h"
 
 #include "record.h"
index 25786619bfaf152654fbb99b0bb721ee55b1cc0f..6c3763d037f0d76dc4e5095baa8f82a836afa6ae 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "i386-tdep.h"
 #include "i387-tdep.h"
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 
 /* Print the floating point number specified by RAW.  */
 
index 00ebf638f4d5047ff6421028a6e1e93ea5114e57..0f890261a06a17a1ba8623f7b36f5b6f0bcb8d11 100644 (file)
@@ -36,7 +36,7 @@
 #include "ia64-libunwind-tdep.h"
 
 #include "complaints.h"
-#include "common/preprocessor.h"
+#include "gdbsupport/preprocessor.h"
 
 /* IA-64 is the only target that currently uses ia64-libunwind-tdep.
    Note how UNW_TARGET, UNW_OBJ, etc. are compile time constants below.
index a77a86f490c56dfdabbbc564f55ccddc8a8ca4d7..7faa0b6308696467e67f3a82901ff3b821ef0b5b 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <signal.h>
 #include "nat/gdb_ptrace.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #ifdef HAVE_SYS_REG_H
 #include <sys/reg.h>
 #endif
index 41e9e67252b7c29d7ac35c8b7c5a4f21892a2376..0a73965a0bfdc3038e0c108c3b929c915ae8c873 100644 (file)
 #include "inferior.h"
 #include <sys/stat.h>
 #include "inf-child.h"
-#include "common/fileio.h"
-#include "common/agent.h"
-#include "common/gdb_wait.h"
-#include "common/filestuff.h"
+#include "gdbsupport/fileio.h"
+#include "gdbsupport/agent.h"
+#include "gdbsupport/gdb_wait.h"
+#include "gdbsupport/filestuff.h"
 
 #include <sys/types.h>
 #include <fcntl.h>
index e1acd8dc9df7cb1faf00a346b0cf8685bff6b0c3..32c433e3eafc4dc471cc84a8b89eefb2f645cdf0 100644 (file)
@@ -25,7 +25,7 @@
 #include "gdbcore.h"
 #include "regcache.h"
 #include "nat/gdb_ptrace.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <signal.h>
 
 #include "inf-ptrace.h"
index 84092d37e6418d00d2255a52947c1ecf1c7b9bb4..b2f8ed21dc92d10830f283c499887ec51ecc207f 100644 (file)
@@ -41,7 +41,7 @@
 #include "interps.h"
 #include "thread-fsm.h"
 #include <algorithm>
-#include "common/scope-exit.h"
+#include "gdbsupport/scope-exit.h"
 
 /* If we can't find a function's name from its address,
    we print this instead.  */
index 330fc92159362f7a4a4a7638019155f8a96aa6bb..9966fc671fb7a5e6aac89c239b09a725c0345e71 100644 (file)
@@ -21,7 +21,7 @@
 #define INFCALL_H
 
 #include "dummy-frame.h"
-#include "common/array-view.h"
+#include "gdbsupport/array-view.h"
 
 struct value;
 struct type;
index 0f941004384dbc94de61289d7f3c5dd9359cc993..0ad9b916779c9c8c2f3b57d69b804f87e9abd2dc 100644 (file)
@@ -25,7 +25,7 @@
 #include "frame.h"
 #include "inferior.h"
 #include "infrun.h"
-#include "common/environ.h"
+#include "gdbsupport/environ.h"
 #include "value.h"
 #include "gdbcmd.h"
 #include "symfile.h"
@@ -58,7 +58,7 @@
 #include "thread-fsm.h"
 #include "top.h"
 #include "interps.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include "source.h"
 
 /* Local functions: */
@@ -213,7 +213,7 @@ show_args_command (struct ui_file *file, int from_tty,
   deprecated_show_value_hack (file, from_tty, c, get_inferior_args ());
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 void
 set_inferior_cwd (const char *cwd)
@@ -228,7 +228,7 @@ set_inferior_cwd (const char *cwd)
     inf->cwd.reset (xstrdup (cwd));
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 const char *
 get_inferior_cwd ()
index f3c0fd811fa6c134ba44fa89c1c8b6c3ef8d4ac3..b1b595735b822621aab7655d9dd300899303f41e 100644 (file)
@@ -20,8 +20,8 @@
 #ifndef INFERIOR_ITER_H
 #define INFERIOR_ITER_H
 
-#include "common/filtered-iterator.h"
-#include "common/safe-iterator.h"
+#include "gdbsupport/filtered-iterator.h"
+#include "gdbsupport/safe-iterator.h"
 
 /* A forward iterator that iterates over all inferiors.  */
 
index abfef700c386f0a11c17e4619beebf50dbeb46df..1415670b26188ed955a0ab4aeaa18b82506c5c4f 100644 (file)
@@ -29,7 +29,7 @@
 #include "observable.h"
 #include "gdbcore.h"
 #include "symfile.h"
-#include "common/environ.h"
+#include "gdbsupport/environ.h"
 #include "cli/cli-utils.h"
 #include "continuations.h"
 #include "arch-utils.h"
index 9e0e3b30e882b061d42deb291d926acca552e3a6..9cfb03cdbb38eb63220cf16ff68729c1d04e24c8 100644 (file)
@@ -44,16 +44,16 @@ struct thread_info;
 #include "frame.h"
 
 /* For gdb_environ.  */
-#include "common/environ.h"
+#include "gdbsupport/environ.h"
 
 #include "progspace.h"
 #include "registry.h"
 
 #include "symfile-add-flags.h"
-#include "common/refcounted-object.h"
-#include "common/forward-scope-exit.h"
+#include "gdbsupport/refcounted-object.h"
+#include "gdbsupport/forward-scope-exit.h"
 
-#include "common/common-inferior.h"
+#include "gdbsupport/common-inferior.h"
 #include "gdbthread.h"
 
 struct infcall_suspend_state;
index 621f69aa40fbe7f2753b9e0de2730a1f9f19af9f..6d645d291a7ef056966b324c5b011a9de29c1cc4 100644 (file)
@@ -34,7 +34,7 @@
 #ifdef HAVE_TERMIOS_H
 #include <termios.h>
 #endif
-#include "common/job-control.h"
+#include "gdbsupport/job-control.h"
 
 #ifdef HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>
index 5dd5c37bd2b708bcaeaf2155ed46540df12b2dff..73b1b01a27b1ccff2aaa2b39908b9b35b621b199 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <unistd.h>
 #include <signal.h>
-#include "common/job-control.h"
+#include "gdbsupport/job-control.h"
 
 /* RAII class used to ignore SIGTTOU in a scope.  */
 
index 4fd92f1bac25e50401f8a85e3630e322e7b14965..c60ed306bd1dab7f3a16b76d5ce50be0b77fca8e 100644 (file)
@@ -25,7 +25,7 @@
 #include "frame.h"
 #include "inferior.h"
 #include "breakpoint.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "gdbcore.h"
 #include "gdbcmd.h"
 #include "cli/cli-script.h"
 #include "solist.h"
 #include "event-loop.h"
 #include "thread-fsm.h"
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 #include "progspace-and-thread.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include "arch-utils.h"
-#include "common/scope-exit.h"
-#include "common/forward-scope-exit.h"
+#include "gdbsupport/scope-exit.h"
+#include "gdbsupport/forward-scope-exit.h"
 
 /* Prototypes for local functions */
 
index e53fd81e71691b55b84f09a70052b11469ede64b..30374ee51c4116ed9798beb52b02d7b1deec1cc8 100644 (file)
@@ -19,7 +19,7 @@
 #define INFRUN_H 1
 
 #include "symtab.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 struct target_waitstatus;
 struct frame_info;
index 214cb824976168a320e468cb2ccf657afc7e6831..b039ab8fa23c21ce80d819f538f88dfdcb35a108 100644 (file)
@@ -27,7 +27,7 @@
 #include "gdbthread.h"
 #include "regcache.h"
 #include "symtab.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "frame.h"
 #include <algorithm>
 
index e7446efa07f843b9132a6ccdb207c0704fe798dd..2a100b04917acd370c8e58c6572dd18b4fb66495 100644 (file)
@@ -24,7 +24,7 @@
 #define LANGUAGE_H 1
 
 #include "symtab.h"
-#include "common/function-view.h"
+#include "gdbsupport/function-view.h"
 #include "expression.h"
 
 /* Forward decls for prototypes.  */
index 83468f83ed92f560774c392d1f5642f86f7ab646..ac7d34dfe96f898e74a534fad79324a3a6004932 100644 (file)
@@ -44,8 +44,8 @@
 #include "ada-lang.h"
 #include "stack.h"
 #include "location.h"
-#include "common/function-view.h"
-#include "common/def-vector.h"
+#include "gdbsupport/function-view.h"
+#include "gdbsupport/def-vector.h"
 #include <algorithm>
 
 /* An enumeration of the various things a user might attempt to
index d323a716e3992d33e520873674de79f651ccb678..fd79345fac143ee0e6a71dc542d53451d70b7302 100644 (file)
@@ -31,7 +31,7 @@
 #include "source.h"
 
 #include "nat/gdb_ptrace.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <dirent.h>
 #include <ctype.h>
 
index 4b9eab31960376604f5b8cb4cea038b2582f89e3..945c19f6668d78c1838d7fae277d2f83cd19f506 100644 (file)
@@ -23,7 +23,7 @@
 #include "target.h"
 #include "nat/linux-nat.h"
 #include "nat/linux-waitpid.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <unistd.h>
 #include <sys/syscall.h>
 #include "nat/gdb_ptrace.h"
 #include "nat/linux-osdata.h"
 #include "linux-tdep.h"
 #include "symfile.h"
-#include "common/agent.h"
+#include "gdbsupport/agent.h"
 #include "tracepoint.h"
-#include "common/buffer.h"
+#include "gdbsupport/buffer.h"
 #include "target-descriptions.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "objfiles.h"
 #include "nat/linux-namespaces.h"
-#include "common/fileio.h"
-#include "common/scope-exit.h"
+#include "gdbsupport/fileio.h"
+#include "gdbsupport/scope-exit.h"
 
 #ifndef SPUFS_MAGIC
 #define SPUFS_MAGIC 0x23c9b64e
index f32631f4acbfdab79f5f7ec9be8017324ed03a7a..7d0c3e9fc9577a5d2fbc45122dec4108ee3949e2 100644 (file)
@@ -37,8 +37,8 @@
 #include "infcall.h"
 #include "gdbcmd.h"
 #include "gdb_regex.h"
-#include "common/enum-flags.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/enum-flags.h"
+#include "gdbsupport/gdb_optional.h"
 
 #include <ctype.h>
 
index 5c8b76c9a76388f6cba45050fccea0b4cee6ff49..950be9ca5a98128fe2d2a0d744a934fdaa536b14 100644 (file)
@@ -21,7 +21,7 @@
 #include <dlfcn.h>
 #include "gdb_proc_service.h"
 #include "nat/gdb_thread_db.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "bfd.h"
 #include "command.h"
 #include "gdbcmd.h"
@@ -46,7 +46,7 @@
 #include <ctype.h>
 #include "nat/linux-namespaces.h"
 #include <algorithm>
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 #include "valprint.h"
 
 /* GNU/Linux libthread_db support.
index 2b375872c7758c9c26f896cd0c1254f6f296517b..0af53995f92ef750a1ea1b716f8bd816116032bf 100644 (file)
@@ -17,7 +17,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/gdb_assert.h"
+#include "gdbsupport/gdb_assert.h"
 #include "location.h"
 #include "symtab.h"
 #include "language.h"
index 84e39fdf88550bb128813866e7f1b7788eb2017b..d7471e9572c1283d5efe1a25be0fef53efe6623a 100644 (file)
@@ -28,7 +28,7 @@
 #include "gdbcore.h"
 #include "mach-o.h"
 #include "aout/stab_gnu.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "psympriv.h"
 #include "complaints.h"
 #include "gdb_bfd.h"
index d1e14537bd3f4200aadfabdb600935d7edcef2d6..045d1625a19ad810bbc1ac0ab6238eb862e84d71 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef MACROTAB_H
 #define MACROTAB_H
 
-#include "common/function-view.h"
+#include "gdbsupport/function-view.h"
 
 struct obstack;
 struct bcache;
index ef9bfe8fc6925c49725b70804544e43e8cbe0a62..540738e543d5e0b77126a7d2bd04ce2b72ae0254 100644 (file)
 #include "maint.h"
 
 #include "filenames.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include <signal.h>
 #include "event-top.h"
 #include "infrun.h"
-#include "common/signals-state-save-restore.h"
+#include "gdbsupport/signals-state-save-restore.h"
 #include <vector>
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 #include "cli/cli-style.h"
 
 /* The selected interpreter.  This will be used as a set command
index cecde84e9a205fafdbba99becfe4eae85d036528..96a1377e27888f93b2aaa63b560b807de1295405 100644 (file)
@@ -38,7 +38,7 @@
 #include "value.h"
 #include "top.h"
 #include "maint.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 #include "cli/cli-decode.h"
 #include "cli/cli-utils.h"
index 57f350ade8c69c7d2dc3c7d8c56f62f8ca0bc85d..827964d825324e1927f6544f956e7f62a0dd16b6 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef MAINT_H
 #define MAINT_H
 
-#include "common/run-time-clock.h"
+#include "gdbsupport/run-time-clock.h"
 #include <chrono>
 
 extern void set_per_command_time (int);
index 858a41abfb423ac66c1d4f3343682e23b1e62d33..4bfab9c021d2ee63ae8ac4b03d56e4496bee593d 100644 (file)
@@ -25,7 +25,7 @@
 #include "target-dcache.h"
 #include "value.h"
 #include "language.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "breakpoint.h"
 #include "cli/cli-utils.h"
 #include <algorithm>
index d751d3cf230f7aef0b47a970b16124fe5e8017c4..f2fd66461cec3005b18d340c5450dda5fb736c13 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef MEMRANGE_H
 #define MEMRANGE_H
 
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 
 /* Defines a [START, START + LENGTH) memory range.  */
 
index a68080d580b34594c65c786a38600d347e2c28b6..1fe930cc6fdc42fa54a1b34351b0542d94815b85 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef MI_MI_CMD_BREAK_H
 #define MI_MI_CMD_BREAK_H
 
-#include "common/scoped_restore.h"
+#include "gdbsupport/scoped_restore.h"
 
 /* Setup the reporting of the insertion of a new breakpoint or
    catchpoint.  */
index fcc49b9eb36117e8f9836d5e859b7be17fc61e6a..ee01afa4c9c23929b5e36f0d9129df3ada73a651 100644 (file)
@@ -26,7 +26,7 @@
 #include "mi-getopt.h"
 #include "symtab.h"
 #include "target.h"
-#include "common/environ.h"
+#include "gdbsupport/environ.h"
 #include "command.h"
 #include "ui-out.h"
 #include "top.h"
index 80bc7a1968edd32f494d5ee5667b1b350c8a878b..c8a4ce73c9789ca6be383a3e7f49d7a7ee6adff1 100644 (file)
@@ -34,7 +34,7 @@
 #include "extension.h"
 #include <ctype.h>
 #include "mi-parse.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include "safe-ctype.h"
 
 enum what_to_list { locals, arguments, all };
index 0c2e0c3b7bfc493ff68b6dd422e0ef2a6ef3bb6a..662ffa3f4d915c78fd7b3911907367cb8a8d52bd 100644 (file)
@@ -30,7 +30,7 @@
 #include "mi-getopt.h"
 #include "gdbthread.h"
 #include "mi-parse.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include "inferior.h"
 
 extern unsigned int varobjdebug;               /* defined in varobj.c.  */
index ad1a06cae0bd2bba2cafc772c6e24c3a6231ed4e..ab1f9138876ad00a1d487ea7f4d486e7543c9a91 100644 (file)
@@ -38,7 +38,7 @@
 #include "cli-out.h"
 #include "thread-fsm.h"
 #include "cli/cli-interp.h"
-#include "common/scope-exit.h"
+#include "gdbsupport/scope-exit.h"
 
 /* These are the interpreter setup, etc. functions for the MI
    interpreter.  */
index 13c310d494c0f348531db91f1c9da73f71c67af0..da8c81f9e2265a4c1edc56c32d14e8bad5199d60 100644 (file)
@@ -44,7 +44,7 @@
 #include "language.h"
 #include "valprint.h"
 #include "osdata.h"
-#include "common/gdb_splay_tree.h"
+#include "gdbsupport/gdb_splay_tree.h"
 #include "tracepoint.h"
 #include "ctf.h"
 #include "ada-lang.h"
 #include "extension.h"
 #include "gdbcmd.h"
 #include "observable.h"
-#include "common/gdb_optional.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/gdb_optional.h"
+#include "gdbsupport/byte-vector.h"
 
 #include <ctype.h>
-#include "common/run-time-clock.h"
+#include "gdbsupport/run-time-clock.h"
 #include <chrono>
 #include "progspace-and-thread.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/rsp-low.h"
 #include <algorithm>
 #include <set>
 #include <map>
index 2262ff56f96a7c3ad86ed94c42838eac1227675e..6ee08b9a1842d5459a63833908a5e1b5c0de2f47 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef MI_MI_PARSE_H
 #define MI_MI_PARSE_H
 
-#include "common/run-time-clock.h"
+#include "gdbsupport/run-time-clock.h"
 #include <chrono>
 #include "mi-cmds.h"  /* For enum print_values.  */
 
index e64e5df1a18eb09f5538055800e18ec30e708597..0f734ebc76134dddc34d03aa9c587c377b58e2fc 100644 (file)
@@ -50,7 +50,7 @@
 #include "cp-support.h"
 #include "language.h"
 #include "cli/cli-utils.h"
-#include "common/symbol.h"
+#include "gdbsupport/symbol.h"
 #include <algorithm>
 #include "safe-ctype.h"
 
@@ -433,7 +433,7 @@ lookup_bound_minimal_symbol (const char *name)
   return lookup_minimal_symbol (name, NULL, NULL);
 }
 
-/* See common/symbol.h.  */
+/* See gdbsupport/symbol.h.  */
 
 int
 find_minimal_symbol_address (const char *name, CORE_ADDR *addr,
index 13c5e06675f5878b85f50bd6835f0f3a4705b33f..08d027917d837f12463f9470559169dc5a76c159 100644 (file)
@@ -38,7 +38,7 @@
 #include "glibc-tdep.h"
 #include "linux-tdep.h"
 #include "xml-syscall.h"
-#include "common/gdb_signals.h"
+#include "gdbsupport/gdb_signals.h"
 
 #include "features/mips-linux.c"
 #include "features/mips-dsp-linux.c"
@@ -1437,7 +1437,7 @@ mips_gdb_signal_to_target (struct gdbarch *gdbarch,
 }
 
 /* Translate signals based on MIPS signal values.
-   Adapted from gdb/common/signals.c.  */
+   Adapted from gdb/gdbsupport/signals.c.  */
 
 static enum gdb_signal
 mips_gdb_signal_from_target (struct gdbarch *gdbarch, int signal)
index 2d395804961ba86722d296ad4f8b8f7a4dda7fcd..740d5b0d97c153c189c055470feb1ab7a84f348a 100644 (file)
@@ -19,8 +19,8 @@
 #ifndef NAMESPACE_H
 #define NAMESPACE_H
 
-#include "common/vec.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/vec.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "gdb_obstack.h"
 
 /* This struct is designed to store data from using directives.  It
index 1efec9a268cc9a0dd2fda99fe362ee40c79a01fd..9f5a0f045e9c134e4338d3ba4cc88013a43f9334 100644 (file)
@@ -16,9 +16,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/>.  */
 
-#include "common/common-defs.h"
-#include "common/break-common.h"
-#include "common/common-regcache.h"
+#include "gdbsupport/common-defs.h"
+#include "gdbsupport/break-common.h"
+#include "gdbsupport/common-regcache.h"
 #include "nat/linux-nat.h"
 #include "aarch64-linux-hw-point.h"
 
index 5d9c2a1c80b356e95385b42e29c8456ed785a070..10b5e69515aa5662f4f20c96ff15cd780dd28d19 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef NAT_AARCH64_LINUX_HW_POINT_H
 #define NAT_AARCH64_LINUX_HW_POINT_H
 
-#include "common/break-common.h" /* For enum target_hw_bp_type.  */
+#include "gdbsupport/break-common.h" /* For enum target_hw_bp_type.  */
 
 /* Macro definitions, data structures, and code for the hardware
    breakpoint and hardware watchpoint support follow.  We use the
index 9c4c3ada7199ff99665b090cd5b0318e9e8ce275..94e07128834bf60cc18d7558f6276bd3b037fea9 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/>.  */
 
-#include "common/common-defs.h"
-#include "common/break-common.h"
+#include "gdbsupport/common-defs.h"
+#include "gdbsupport/break-common.h"
 #include "nat/linux-nat.h"
 #include "nat/aarch64-linux-hw-point.h"
 #include "nat/aarch64-linux.h"
index 635b4c9d68a7f90bd8f5e40efb6117fbb0d57f96..1383d4688c0a536f4dc1b61e5cfe0bb3409c063c 100644 (file)
 
 #include <sys/utsname.h>
 #include <sys/uio.h>
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "elf/external.h"
 #include "elf/common.h"
 #include "aarch64-sve-linux-ptrace.h"
 #include "arch/aarch64.h"
-#include "common/common-regcache.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/common-regcache.h"
+#include "gdbsupport/byte-vector.h"
 
 /* See nat/aarch64-sve-linux-ptrace.h.  */
 
index dab52684ad03331f26b3514f7aef0a054742f764..91460c02ca9a8a3333f7a8d70f7cf53f81c08c81 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <signal.h>
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "amd64-linux-siginfo.h"
 
 #define GDB_SI_SIZE 128
index 1179d01c04fafc5e4ce9ca7c78badfc0f2ec7ad0..68b51aa8146806d7b6620a2595278177986db3fd 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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "fork-inferior.h"
 #include "target/waitstatus.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "target/target.h"
-#include "common/common-inferior.h"
-#include "common/common-gdbthread.h"
-#include "common/pathstuff.h"
-#include "common/signals-state-save-restore.h"
-#include "common/gdb_tilde_expand.h"
+#include "gdbsupport/common-inferior.h"
+#include "gdbsupport/common-gdbthread.h"
+#include "gdbsupport/pathstuff.h"
+#include "gdbsupport/signals-state-save-restore.h"
+#include "gdbsupport/gdb_tilde_expand.h"
 #include <vector>
 
 extern char **environ;
index ef291ec2310353f99ccef9b52ec598d3dedc74e1..8625291cce987db8c5138ac2dc476bfde9c4e398 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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "linux-btrace.h"
-#include "common/common-regcache.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/common-regcache.h"
+#include "gdbsupport/gdb_wait.h"
 #include "x86-cpuid.h"
-#include "common/filestuff.h"
-#include "common/scoped_fd.h"
-#include "common/scoped_mmap.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/scoped_fd.h"
+#include "gdbsupport/scoped_mmap.h"
 
 #include <inttypes.h>
 
index df7b0d27c7e1fffa3896dce66b2f8fc3f1a20420..1d5c7457ee4d68ff69da97d69a844a6d4ed150bb 100644 (file)
@@ -22,8 +22,8 @@
 #ifndef NAT_LINUX_BTRACE_H
 #define NAT_LINUX_BTRACE_H
 
-#include "common/btrace-common.h"
-#include "common/vec.h"
+#include "gdbsupport/btrace-common.h"
+#include "gdbsupport/vec.h"
 #if HAVE_LINUX_PERF_EVENT_H
 #  include <linux/perf_event.h>
 #endif
index c0f326b9a1eda321d53f0faace0e6f87309ba3e9..503f755903c4dbacac6316a853f7a753577afe95 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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "nat/linux-namespaces.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include <fcntl.h>
 #include <sys/syscall.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/socket.h>
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <signal.h>
 #include <sched.h>
-#include "common/scope-exit.h"
+#include "gdbsupport/scope-exit.h"
 
 /* See nat/linux-namespaces.h.  */
 int debug_linux_namespaces;
index 29f43d8dfa56de4645a65f175f31c0492a5feb50..13af248485504877abbfd3f8cca9983dc55043bc 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef NAT_LINUX_NAT_H
 #define NAT_LINUX_NAT_H
 
-#include "common/function-view.h"
+#include "gdbsupport/function-view.h"
 #include "target/waitstatus.h"
 
 struct lwp_info;
index 3599df7cbeb67908ab94067f4a9ee5ca4b738927..67f9f3a42515497232913f420ebc88e3b7892611 100644 (file)
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "linux-osdata.h"
 
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
-#include "common/xml-utils.h"
-#include "common/buffer.h"
+#include "gdbsupport/xml-utils.h"
+#include "gdbsupport/buffer.h"
 #include <dirent.h>
 #include <sys/stat.h>
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include <algorithm>
 
 #define NAMELEN(dirent) strlen ((dirent)->d_name)
index 2ae84e51b0b965868d4efc1a2a798c72b8b7caba..6d209ae50a1e3ba68f79fbf4da0eea27f995ebc5 100644 (file)
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "nat/linux-personality.h"
 
 #ifdef HAVE_PERSONALITY
index 929bc137dced52222c443337582e40a315f4a699..2afc53d27aae03b2869ffedc37f57eacd79e0e66 100644 (file)
@@ -16,9 +16,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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "linux-procfs.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include <dirent.h>
 #include <sys/stat.h>
 
index 40919f77d7209ebd250a6c146675e99f73f7f200..c1ebc0a032dfce899aeeba0c7534c93508b7cc9a 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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "linux-ptrace.h"
 #include "linux-procfs.h"
 #include "linux-waitpid.h"
-#include "common/buffer.h"
+#include "gdbsupport/buffer.h"
 #ifdef HAVE_SYS_PROCFS_H
 #include <sys/procfs.h>
 #endif
index cfb12178a423b0c57257d002e7dacf0dc6d17a0a..fd2f12a342ce5a85cab20fc02772bec0caf1b280 100644 (file)
@@ -21,7 +21,7 @@
 struct buffer;
 
 #include "nat/gdb_ptrace.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 
 #ifdef __UCLIBC__
 #if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__))
index 298032dff9ab0b5769d3c01fea8d47165f4da701..4d3fe25fd3153e6c85b7f61d84268e821f967397 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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 
 #include "linux-nat.h"
 #include "linux-waitpid.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 
 /* Convert wait status STATUS to a string.  Used for printing debug
    messages only.  */
index 8add09c00fc30e5bcae07fb8fae00009d7e9701f..124752f7c2fe4d225066d930c0c26abe1aebc1c7 100644 (file)
@@ -15,7 +15,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "nat/gdb_ptrace.h"
 #include "mips-linux-watch.h"
 
index 35e8d9d461efe2f7dbd863a419c53dc6ec42cd59..7d255c89e470e6750d85deaa73797c28e7febdbe 100644 (file)
@@ -19,7 +19,7 @@
 #define NAT_MIPS_LINUX_WATCH_H
 
 #include <asm/ptrace.h>
-#include "common/break-common.h"
+#include "gdbsupport/break-common.h"
 
 #define MAX_DEBUG_REGISTER 8
 
index 27942fa2a5d60f8d8caaf45e8c017f2f51a29793..11f2a43122fcd076ef8a65baa69289dfa0b61889 100644 (file)
@@ -15,7 +15,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "ppc-linux.h"
 #include "nat/gdb_ptrace.h"
 #include <elf.h>
index fb35178965d83f5946644e01530a39eb77af054a..69cc47d4dd7e40f19f48c51f44ea59d38b0b9a42 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/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "x86-dregs.h"
-#include "common/break-common.h"
+#include "gdbsupport/break-common.h"
 
 /* Support for hardware watchpoints and breakpoints using the x86
    debug registers.
index e8a2e0099e864b911c33928379ec133fc9ac7de9..4d0602429b2fbcded3948aab31e7bda8a974ed3e 100644 (file)
@@ -33,7 +33,7 @@
    (32 bytes on 64 bit hosts).  */
 
 
-#include "common/break-common.h" /* target_hw_bp_type */
+#include "gdbsupport/break-common.h" /* target_hw_bp_type */
 
 /* Low-level function vector.  */
 
index 29b4ee16b60aeb6a8067f0b0308ef9dcf2e079a7..271e630a3f3436f18bcd4809eb6cd423b0c9c840 100644 (file)
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "nat/gdb_ptrace.h"
 #include <sys/user.h>
 #include "target/waitstatus.h"
index be00a3b560a957a8ed0c1dc5482fc8513d32b560..55ff58118cf497adbfe37d17f47b27701c3e54bf 100644 (file)
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "x86-linux.h"
 #include "x86-linux-dregs.h"
 
index 9dd35a4c8aafcce2e9c7bec459941dcb7831c47c..b9866c2259199a5b050a81050ffb5c50e641e22a 100644 (file)
@@ -42,8 +42,8 @@
 #include "regcache.h"
 #include "solib.h"
 #include "inf-child.h"
-#include "common/filestuff.h"
-#include "common/scoped_fd.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/scoped_fd.h"
 
 #define NULL_PID               0
 #define _DEBUG_FLAG_TRACE      (_DEBUG_FLAG_TRACE_EXEC|_DEBUG_FLAG_TRACE_RD|\
index 48e731acd05267d058bf455c27f98c0975fef70e..0c610d28419403393eec0ff05906ae9259d8711f 100644 (file)
@@ -32,7 +32,7 @@
 #include "gdbcore.h"
 #include "objfiles.h"
 #include "source.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
 #define QNX_NOTE_NAME  "QNX"
 #define QNX_INFO_SECT_NAME "QNX_info"
index 38128ea62117a71c34dbee1ee9e0f076de8c285f..45c86a3ac09afedf67eb8d97778b4e035183388c 100644 (file)
@@ -20,7 +20,7 @@
 #if !defined (OBJFILE_FLAGS_H)
 #define OBJFILE_FLAGS_H
 
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 
 /* Defines for the objfile flags field.  Defined in a separate file to
    break circular header dependencies.  */
index b59db591d9fa73f9c8a23af337c0cf32e1846bfb..84d9681bf4ea69bd9181497f64e76d13521e7084 100644 (file)
@@ -52,7 +52,7 @@
 #include "solist.h"
 #include "gdb_bfd.h"
 #include "btrace.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
 #include <vector>
 
index e0ff8343439d40542a8cfd4967a21e7ed39be687..3a7a8ba940bdc907e1953839e522cd666801f013 100644 (file)
@@ -30,8 +30,8 @@
 #include "psymtab.h"
 #include <bitset>
 #include <vector>
-#include "common/next-iterator.h"
-#include "common/safe-iterator.h"
+#include "gdbsupport/next-iterator.h"
+#include "gdbsupport/safe-iterator.h"
 #include "bcache.h"
 
 struct htab;
index 0a99bd021df6b2edfa8fe4bded96c1da6e0c3528..88c01df2a1ec4933034f9c9da9a5450bacbcb3d1 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <sys/types.h>
 #include <sys/ptrace.h>
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 
 #include "inf-child.h"
 #include "obsd-nat.h"
index edd1fffae0ac38223e01d5915f401bfd695f5be4..b58966ea90bd9145233530e1f54b2765e70aa86c 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef OBSERVABLE_H
 #define OBSERVABLE_H
 
-#include "common/observable.h"
+#include "gdbsupport/observable.h"
 
 struct bpstats;
 struct so_list;
index 0ee13d8ffa597ab6d46e5376160dd65bafa70122..ea3b7dce43b0c8a33400864c5a96880574cd3716 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 #include "target.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "xml-support.h"
 #include "osdata.h"
 #include "ui-out.h"
index 62679ac4445b448f2215f171d3a1b4bc589c3fa7..a3738a9252d11104777802f42436be50f8c857be 100644 (file)
@@ -38,7 +38,7 @@
 #include "cp-abi.h"
 #include "cp-support.h"
 #include "objfiles.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 \f
 
 /* Decorations for Pascal.  */
index 6f777e6ed73f55a1b935842c456ee68f66908d6b..a1ab75297a161e07d579c644d52662fa09e9fd23 100644 (file)
@@ -50,7 +50,7 @@
 #include "objfiles.h"
 #include "user-regs.h"
 #include <algorithm>
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 
 /* Standard set of definitions for printing, dumping, prefixifying,
  * and evaluating expressions.  */
index 4254ef60e621b010797ded1d162823868c038e94..9c0341b556e10d26f93f8fc594b1be889a72b231 100644 (file)
@@ -23,7 +23,7 @@
 #if !defined (PARSER_DEFS_H)
 #define PARSER_DEFS_H 1
 
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "expression.h"
 
 struct block;
index 70e2962c99e409373e9fdae9f51a45311e653bb2..deb31d49890c7bee2e55ad373fbbeaa40649a109 100644 (file)
@@ -32,7 +32,7 @@
 #include <sys/user.h>
 #include <sys/ioctl.h>
 #include <sys/uio.h>
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <fcntl.h>
 #include <sys/procfs.h>
 #include "nat/gdb_ptrace.h"
index 714a2e981ea705d3508b0a410007d3b67ecf9822..2081704bc4aec254c0758187e1ab89bd2491c7a5 100644 (file)
 #include "cli/cli-option.h"
 #include "cli/cli-script.h"
 #include "cli/cli-style.h"
-#include "common/format.h"
+#include "gdbsupport/format.h"
 #include "source.h"
-#include "common/byte-vector.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/byte-vector.h"
+#include "gdbsupport/gdb_optional.h"
 
 /* Last specified output format.  */
 
index 7bc75d8e879bd8cd0932827716cec46c1d13f6d1..cdc6e021d2e7682f23e1133c41a7bab97f6e249f 100644 (file)
@@ -36,7 +36,7 @@
 #include "location.h"
 #include <ctype.h>
 #include <algorithm>
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 
 /* Class that implements the static probe methods for "any" probe.  */
 
index c7ce82d23aff89362a512c7a03054aba75e07cbc..cb2eaf8cb190280139edda8049cb32d3061567d7 100644 (file)
@@ -35,7 +35,7 @@
 #include <sys/proc.h>  /* for struct proc */
 #include <sys/user.h>  /* for struct user */
 #include <fcntl.h>     /* for O_RDWR etc.  */
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 
 #include "proc-utils.h"
 
index 020336e5ba4b3bcf320e59a6a3192dcdeb9f7ad3..50e3e928425e47895ba7ae32b132c297c7d81474 100644 (file)
 #include "regcache.h"
 #include "inf-child.h"
 #include "nat/fork-inferior.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 #define _STRUCTURED_PROC 1     /* Should be done by configure script.  */
 
 #include <sys/procfs.h>
 #include <sys/fault.h>
 #include <sys/syscall.h>
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <signal.h>
 #include <ctype.h>
 #include "gdb_bfd.h"
@@ -46,8 +46,8 @@
 #include "auxv.h"
 #include "procfs.h"
 #include "observable.h"
-#include "common/scoped_fd.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/scoped_fd.h"
+#include "gdbsupport/pathstuff.h"
 
 /* This module provides the interface between GDB and the
    /proc file system, which is used on many versions of Unix
index 362c5ef8b4f43af73f7931821e6dd3dd78236bbd..63ec2acb0d57b64554687e7c540b155729cb9af3 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 #include "producer.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 /* See producer.h.  */
 
index 039f55517305f797909d817c6c0500ff6602f541..073da1fbc062dc4dc4923c4b5d2fd222085f0460 100644 (file)
 #define PROGSPACE_H
 
 #include "target.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "gdb_bfd.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "registry.h"
-#include "common/next-iterator.h"
-#include "common/safe-iterator.h"
+#include "gdbsupport/next-iterator.h"
+#include "gdbsupport/safe-iterator.h"
 
 struct target_ops;
 struct bfd;
index c761fa72222603a0f1d6d3e0a584256c1c22f0f4..aed686258d4d54ed28185c872b8c3e23640bf625 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "gdb_obstack.h"
 #include "symfile.h"
-#include "common/next-iterator.h"
+#include "gdbsupport/next-iterator.h"
 #include "bcache.h"
 
 struct partial_symbol;
index 95ad410f23fd852c4172786731d1265a9e93dc67..a351ac5aec879c5d1995ef62598067dffee0ba3f 100644 (file)
@@ -30,7 +30,7 @@
 #include "demangle.h"
 #include "mi/mi-cmds.h"
 #include "python-internal.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 
 enum mi_print_types
 {
index 7e7d518c5577683d62324f7935e0851052a74a7e..161e6dcf3430850d2c4bc525430149e31ded2db8 100644 (file)
@@ -26,7 +26,7 @@
 #include "python-internal.h"
 #include "arch-utils.h"
 #include "language.h"
-#include "common/gdb_signals.h"
+#include "gdbsupport/gdb_signals.h"
 #include "py-event.h"
 #include "py-stopevent.h"
 
index 15280f6fbf55ad856de4b58363089be6997bad29..3f5514ee0113ef032f3e205e758262e23ecaea43 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef PYTHON_PY_REF_H
 #define PYTHON_PY_REF_H
 
-#include "common/gdb_ref_ptr.h"
+#include "gdbsupport/gdb_ref_ptr.h"
 
 /* A policy class for gdb::ref_ptr for Python reference counting.  */
 template<typename T>
index 7b99beacae02ad3b1e535aaf0fcb87c434dd4de4..e8af6f60e1e5a35db388355b337a12f2136cad44 100644 (file)
@@ -26,7 +26,7 @@
 #include "demangle.h"
 #include "objfiles.h"
 #include "language.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "typeprint.h"
 
 typedef struct pyty_type_object
index 2f5e94d86c7da34c12f8c1e6b44c7a8d27c97c23..96bee7c3b04f0c1fff1b3ea96bc9e08060230f36 100644 (file)
@@ -93,7 +93,7 @@ const struct extension_language_defn extension_language_python =
 #include "python-internal.h"
 #include "linespec.h"
 #include "source.h"
-#include "common/version.h"
+#include "gdbsupport/version.h"
 #include "target.h"
 #include "gdbthread.h"
 #include "interps.h"
index 21085d5c62c7ef7eeea0b420deb3a0f137f2ea94..ec06145585fd56436068def8f24167045359cbb4 100644 (file)
@@ -38,7 +38,7 @@
 #include "infrun.h"
 #include "event-loop.h"
 #include "inf-loop.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "inferior.h"
 #include <algorithm>
 
index 95a0353d754ee0c5b58e8f5727dffd46a598b70d..2fc6a2ef776cb33c0120bcd9975d7d8ecbe3c789 100644 (file)
@@ -36,8 +36,8 @@
 #include "gdb_bfd.h"
 #include "observable.h"
 #include "infrun.h"
-#include "common/gdb_unlinker.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/gdb_unlinker.h"
+#include "gdbsupport/byte-vector.h"
 
 #include <signal.h>
 
index 828c19968a3d9fb92f04fff12d66bec1abc164b2..7d46bf1617c611c913665523d55c830300c059de 100644 (file)
@@ -23,7 +23,7 @@
 #include "record.h"
 #include "observable.h"
 #include "inferior.h"
-#include "common/common-utils.h"
+#include "gdbsupport/common-utils.h"
 #include "cli/cli-utils.h"
 #include "disasm.h"
 
index 03f96e8ab78e540b4649687dec083e2f59b291c9..f371b7f7cc13d2eebeaff4be0bbb7c4193fc81a9 100644 (file)
@@ -21,7 +21,7 @@
 #define RECORD_H
 
 #include "target/waitstatus.h" /* For enum target_stop_reason.  */
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 
 struct cmd_list_element;
 struct inferior;
index 1bcf9c3d17adf81c8c81710e4b8ad72fb8648349..52ecbbe138731b93794f6c0e774120a18d1c02e4 100644 (file)
@@ -18,7 +18,7 @@
 #include "defs.h"
 #include "gdbcmd.h"
 #include "regcache.h"
-#include "common/def-vector.h"
+#include "gdbsupport/def-vector.h"
 #include "valprint.h"
 #include "remote.h"
 #include "reggroups.h"
index 323f0f5ab4e2342cda2dfc5f618f90e062e77020..bcced338fba4af5ad4efd3d8e52818268b154fe9 100644 (file)
@@ -168,7 +168,7 @@ register_size (struct gdbarch *gdbarch, int regnum)
   return size;
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 int
 regcache_register_size (const struct regcache *regcache, int n)
@@ -284,7 +284,7 @@ regcache::restore (readonly_detached_regcache *src)
     }
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 enum register_status
 reg_buffer::get_register_status (int regnum) const
@@ -372,7 +372,7 @@ get_current_regcache (void)
   return get_thread_regcache (inferior_thread ());
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 struct regcache *
 get_thread_regcache_for_ptid (ptid_t ptid)
@@ -931,7 +931,7 @@ regcache::cooked_write_part (int regnum, int offset, int len,
   write_part (regnum, offset, len, buf, false);
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 void
 reg_buffer::raw_supply (int regnum, const void *buf)
@@ -996,7 +996,7 @@ reg_buffer::raw_supply_zeroed (int regnum)
   m_register_status[regnum] = REG_VALID;
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 void
 reg_buffer::raw_collect (int regnum, void *buf) const
@@ -1148,7 +1148,7 @@ regcache::collect_regset (const struct regset *regset,
   transfer_regset (regset, nullptr, regnum, nullptr, (gdb_byte *) buf, size);
 }
 
-/* See common/common-regcache.h.  */
+/* See gdbsupport/common-regcache.h.  */
 
 bool
 reg_buffer::raw_compare (int regnum, const void *buf, int offset) const
@@ -1380,7 +1380,7 @@ register_dump::dump (ui_file *file)
 }
 
 #if GDB_SELF_TEST
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "selftest-arch.h"
 #include "target-float.h"
 
index 2b703ea4a4b84f7a4eb3d0ed398319efb95877c8..8d0c302ac3e559fa133769b8014f3c318d5c2b46 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef REGCACHE_H
 #define REGCACHE_H
 
-#include "common/common-regcache.h"
+#include "gdbsupport/common-regcache.h"
 #include <forward_list>
 
 struct regcache;
@@ -68,7 +68,7 @@ extern void regcache_cooked_write_unsigned (struct regcache *regcache,
 
 /* Special routines to read/write the PC.  */
 
-/* For regcache_read_pc see common/common-regcache.h.  */
+/* For regcache_read_pc see gdbsupport/common-regcache.h.  */
 extern void regcache_write_pc (struct regcache *regcache, CORE_ADDR pc);
 
 /* Mapping between register numbers and offsets in a buffer, for use
@@ -181,10 +181,10 @@ public:
   /* Return regcache's architecture.  */
   gdbarch *arch () const;
 
-  /* See common/common-regcache.h.  */
+  /* See gdbsupport/common-regcache.h.  */
   enum register_status get_register_status (int regnum) const override;
 
-  /* See common/common-regcache.h.  */
+  /* See gdbsupport/common-regcache.h.  */
   void raw_collect (int regnum, void *buf) const override;
 
   /* Collect register REGNUM from REGCACHE.  Store collected value as an integer
@@ -199,7 +199,7 @@ public:
      reading only LEN.  */
   void raw_collect_part (int regnum, int offset, int len, gdb_byte *out) const;
 
-  /* See common/common-regcache.h.  */
+  /* See gdbsupport/common-regcache.h.  */
   void raw_supply (int regnum, const void *buf) override;
 
   void raw_supply (int regnum, const reg_buffer &src)
@@ -228,7 +228,7 @@ public:
 
   virtual ~reg_buffer () = default;
 
-  /* See common/common-regcache.h.  */
+  /* See gdbsupport/common-regcache.h.  */
   bool raw_compare (int regnum, const void *buf, int offset) const override;
 
 protected:
index 2f7ecf366c3e07beb4c6a08ee8b1cbb4ccb2cc4f..11c141e42c4d5565dd809e582675432a1b0890d8 100644 (file)
 #include "defs.h"
 #include "gdbcmd.h"
 #include "remote.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <sys/stat.h>
 #include "remote-fileio.h"
 #include "event-loop.h"
 #include "target.h"
 #include "filenames.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 #include <fcntl.h>
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 #ifdef __CYGWIN__
 #include <sys/cygwin.h>                /* For cygwin_conv_path.  */
 #endif
index 184d2054dc1b2e49a223ec1969ff57a2c3f004c7..779b63ee291a68181dd4d70b906273a88033e029 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef REMOTE_FILEIO_H
 #define REMOTE_FILEIO_H
 
-#include "common/fileio.h"
+#include "gdbsupport/fileio.h"
 
 struct cmd_list_element;
 struct remote_target;
index 8a6cb6b18e3fe0cb7e2c9e9a83e5da4408f1dc8b..a22a59ed39958065eef6951b641d684ae9948df0 100644 (file)
@@ -41,7 +41,7 @@
 #include "arch-utils.h"
 #include "readline/readline.h"
 #include "gdbthread.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 /* Prototypes */
 
index 124d254478e17485829ed2948120ca4249cd19a8..42c730e48fb9f7d37dfd47e57accc961c3655690 100644 (file)
 #include "cli/cli-setshow.h"
 #include "target-descriptions.h"
 #include "gdb_bfd.h"
-#include "common/filestuff.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/rsp-low.h"
 #include "disasm.h"
 #include "location.h"
 
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 
 #include "event-loop.h"
 #include "event-top.h"
 #include "tracepoint.h"
 #include "ax.h"
 #include "ax-gdb.h"
-#include "common/agent.h"
+#include "gdbsupport/agent.h"
 #include "btrace.h"
 #include "record-btrace.h"
 #include <algorithm>
-#include "common/scoped_restore.h"
-#include "common/environ.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/scoped_restore.h"
+#include "gdbsupport/environ.h"
+#include "gdbsupport/byte-vector.h"
 #include <unordered_map>
 
 /* The remote target.  */
index 828beea7e2bc3187a630e2d81900e3f1f544773a..7f3a1f6cbc36bffd5483a425b0964d5116dbe3e2 100644 (file)
@@ -50,7 +50,7 @@
 #include "dwarf2-frame.h"
 #include "user-regs.h"
 #include "valprint.h"
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "opcode/riscv-opc.h"
 #include "cli/cli-decode.h"
 #include "observable.h"
index e99865682fd28e992c675f70e59c22b0768da8b9..4964f591a5a916790900f83787449ce47f38ef1c 100644 (file)
@@ -37,7 +37,7 @@
 #include "solib.h"
 #include "solib-aix.h"
 #include "target-float.h"
-#include "common/xml-utils.h"
+#include "gdbsupport/xml-utils.h"
 #include "trad-frame.h"
 #include "frame-unwind.h"
 
index 15932638397d0854e41f2b73b359147076925189..ddbf1d4bba312769845ced9d79ebec058135cbe1 100644 (file)
@@ -38,9 +38,9 @@
 #include "gdb_regex.h"
 #include "rust-lang.h"
 #include "parser-defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "value.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 
 #define GDB_YY_REMAP_PREFIX rust
 #include "yy-remap.h"
index fa27b58e56efd0eef76e78bd893e91e3dafbb268..a9d20e809c17d72bfd15d0905b83cc89bdce8a65 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "arch-utils.h"
 #include "dwarf2-frame.h"
-#include "common/errors.h"
+#include "gdbsupport/errors.h"
 #include "frame-unwind.h"
 #include "gdbcore.h"
 #include "gdbcmd.h"
index 38cd6248d047f31585a3fd90b9e48ea75d6fad55..e440a300d4e58d4868446476b54bbcb045945078 100644 (file)
@@ -19,7 +19,7 @@
 #include "defs.h"
 
 #if GDB_SELF_TEST
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "selftest-arch.h"
 #include "arch-utils.h"
 
index 683d3f4252870a02ccf18dcb285300c12eb7228d..85429b68cbb1698dab22e43cd4f0522bf252bb5e 100644 (file)
@@ -23,7 +23,7 @@
 #include "event-loop.h"
 
 #include "gdb_select.h"
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 #ifdef USE_WIN32API
 #include <winsock2.h>
 #endif
index d3956346246db5cdf6667992050839584aac979a..a65a186526f24be2d8d46859c85fe702a6ca91ac 100644 (file)
@@ -19,7 +19,7 @@
 #include "defs.h"
 #include "ser-event.h"
 #include "serial.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 /* On POSIX hosts, a serial_event is basically an abstraction for the
    classical self-pipe trick.
index 702d97c551371e064f464b2f2a52d18ee21c8c2c..61d5708ea09cc490648e048c72fd3f480e999df9 100644 (file)
@@ -27,9 +27,9 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 #include <fcntl.h>
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 #include <signal.h>
 
index 5aa7105dc2cb4e8549f286994d918e3e7e4cd06a..cc96a52dc3e153b9417b3df7b68e48704f21c775 100644 (file)
@@ -24,8 +24,8 @@
 #include "gdbcmd.h"
 #include "cli/cli-decode.h"
 #include "cli/cli-setshow.h"
-#include "common/filestuff.h"
-#include "common/netstuff.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/netstuff.h"
 
 #include <sys/types.h>
 
@@ -36,7 +36,7 @@
 #include <sys/ioctl.h>  /* For FIONBIO.  */
 #endif
 
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 
 #ifdef USE_WIN32API
 #include <ws2tcpip.h>
index 3492619f2d6e50d039b3432a1cb040e83a5fd03e..049dfd5261f78ec916debf3a3582e4a6a7e0256d 100644 (file)
 #include <sys/types.h>
 #include "terminal.h"
 #include <sys/socket.h>
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 
 #include "gdb_select.h"
 #include "gdbcmd.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include <termios.h>
 #include "inflow.h"
 
index 127b11dc4431b4d8fd192db8345f31cdcee83b4e..039d50cb117e90f023c840f7d190d171bc0f4475 100644 (file)
@@ -34,7 +34,7 @@
 #include "filenames.h"
 #include "fnmatch.h"
 #include "gdb_regex.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include <list>
 
 /* True if we want to print debug printouts related to file/function
index ab4f36262903ed2d2c7fa3de2c81d039a06ae3dd..bf2f30d01cd33c4314e25647cda67522338c466e 100644 (file)
@@ -26,7 +26,7 @@
 #include "xcoffread.h"
 #include "observable.h"
 #include "gdbcmd.h"
-#include "common/scope-exit.h"
+#include "gdbsupport/scope-exit.h"
 
 /* Variable controlling the output of the debugging traces for
    this module.  */
index a1cf94c42e6859caedf2f7a0a8eddc69b42c3699..1ccbc27b2bce09a9a81cde4b7759188f63c7a04a 100644 (file)
@@ -23,7 +23,7 @@
 #include "symtab.h"
 #include "symfile.h"
 #include "target.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "solib-target.h"
 #include <vector>
 
index e0b1a921f82c3247e45e27cdd1a60f5db85a01ea..29a17ad5d496bd6f4b68e4e978321d7037877842 100644 (file)
@@ -31,7 +31,7 @@
 #include "frame.h"
 #include "gdb_regex.h"
 #include "inferior.h"
-#include "common/environ.h"
+#include "gdbsupport/environ.h"
 #include "language.h"
 #include "gdbcmd.h"
 #include "completer.h"
@@ -45,7 +45,7 @@
 #include "interps.h"
 #include "filesystem.h"
 #include "gdb_bfd.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "source.h"
 
 /* Architecture-specific operations.  */
index 86efe83bf9a5679de9a58e2ff0ebe9a3dc37c11e..94d82073bccb06a327952794c01540890d6c3355 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "defs.h"
 #include "source-cache.h"
-#include "common/scoped_fd.h"
+#include "gdbsupport/scoped_fd.h"
 #include "source.h"
 #include "cli/cli-style.h"
 
index dec5a2f84bab5490c19a66b11f1e8bc0d1867457..8ebc4361e17104186db4d31ca738a276bd4a44be 100644 (file)
@@ -26,7 +26,7 @@
 #include "gdbcmd.h"
 #include "frame.h"
 #include "value.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 #include <sys/types.h>
 #include <fcntl.h>
 #include "completer.h"
 #include "ui-out.h"
 #include "readline/readline.h"
-#include "common/enum-flags.h"
-#include "common/scoped_fd.h"
+#include "gdbsupport/enum-flags.h"
+#include "gdbsupport/scoped_fd.h"
 #include <algorithm>
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 #include "source-cache.h"
 
 #define OPEN_MODE (O_RDONLY | O_BINARY)
index 1c45405774b830f673fc1703442cb42962a9ca5c..54d899a1d043a43b99f09e9421644bb509a34662 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef SOURCE_H
 #define SOURCE_H
 
-#include "common/scoped_fd.h"
+#include "gdbsupport/scoped_fd.h"
 
 struct symtab;
 
index 173fd0b639706ee240522667b36928fd2fc97b0f..3685e5af410a9bd7bdc7e33abb0a82faf27bc7c5 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <signal.h>
 #include <sys/ptrace.h>
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #ifdef HAVE_MACHINE_REG_H
 #include <machine/reg.h>
 #endif
index 90a9f002848b484a359956c76273a8b8414954cd..2f4b4d694642b2a4576f3c5f101489af6d906814 100644 (file)
@@ -26,7 +26,7 @@
 #include "inf-ptrace.h"
 #include "regcache.h"
 #include "symfile.h"
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "gdbthread.h"
 #include "gdb_bfd.h"
 
index b3d113d3b42a2df0384548e1cab7713b77465b28..f7df7a40d10e6140e4bbd2da68c0daef9461ccd7 100644 (file)
@@ -52,7 +52,7 @@
 #include "symfile.h"
 #include "extension.h"
 #include "observable.h"
-#include "common/def-vector.h"
+#include "gdbsupport/def-vector.h"
 #include "cli/cli-option.h"
 
 /* The possible choices of "set print frame-arguments", and the value
index aa1c8144d8a0b43c902fdb36d74659375366033f..866b41e7f04e367c1d94c81cbd783e3eae30017a 100644 (file)
@@ -20,7 +20,7 @@
 #include "defs.h"
 #include "stap-probe.h"
 #include "probe.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "ui-out.h"
 #include "objfiles.h"
 #include "arch-utils.h"
index b29baa15e390a940536f61f33b312402d287e2a1..9c6564d57c0dc6e37c56b441dcd1263a409e0560 100644 (file)
@@ -20,7 +20,7 @@
 #if !defined (SYMFILE_ADD_FLAGS_H)
 #define SYMFILE_ADD_FLAGS_H
 
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 
 /* This enum encodes bit-flags passed as ADD_FLAGS parameter to
    symbol_file_add, etc.  Defined in a separate file to break circular
index dc6bdf3fd4a49f7ae4268d15abc0c71742328f05..13a07e4dc0e57eff06680b25d921c5009dc20e07 100644 (file)
 #include "stack.h"
 #include "gdb_bfd.h"
 #include "cli/cli-utils.h"
-#include "common/byte-vector.h"
-#include "common/pathstuff.h"
-#include "common/selftest.h"
+#include "gdbsupport/byte-vector.h"
+#include "gdbsupport/pathstuff.h"
+#include "gdbsupport/selftest.h"
 #include "cli/cli-style.h"
-#include "common/forward-scope-exit.h"
+#include "gdbsupport/forward-scope-exit.h"
 
 #include <sys/types.h>
 #include <fcntl.h>
index 403dd165264e427db214644c347f5b0bceb67360..741b085e0c4f0cb5226aa68f45a60a441070d952 100644 (file)
@@ -26,7 +26,7 @@
 #include "symfile-add-flags.h"
 #include "objfile-flags.h"
 #include "gdb_bfd.h"
-#include "common/function-view.h"
+#include "gdbsupport/function-view.h"
 
 /* Opaque declarations.  */
 struct target_section;
index 6e7e32fb4d872d919beabbe9ca5588c22057e2ae..01118c62555cc33de975603f2974dc8c6370a1f8 100644 (file)
 #include "parser-defs.h"
 #include "completer.h"
 #include "progspace-and-thread.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include "filename-seen-cache.h"
 #include "arch-utils.h"
 #include <algorithm>
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 
 /* Forward declarations for local functions.  */
 
index e4ee7271a15f9d333fe584acd47fd2f9964aa64f..6780fa37be17b88a8cb7e2fb69441714912bd585 100644 (file)
 #include <array>
 #include <vector>
 #include <string>
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 #include "gdbtypes.h"
 #include "gdb_regex.h"
-#include "common/enum-flags.h"
-#include "common/function-view.h"
-#include "common/gdb_optional.h"
-#include "common/next-iterator.h"
+#include "gdbsupport/enum-flags.h"
+#include "gdbsupport/function-view.h"
+#include "gdbsupport/gdb_optional.h"
+#include "gdbsupport/next-iterator.h"
 #include "completer.h"
 
 /* Opaque declarations.  */
index bd33091ba9e4bcbad5efafe4fb6e211ca379bfe9..f422f2c14c235c46239716e35041e74608d0909b 100644 (file)
@@ -26,7 +26,7 @@
 #include "reggroups.h"
 #include "target.h"
 #include "target-descriptions.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "xml-support.h"
 #include "xml-tdesc.h"
 #include "osabi.h"
@@ -635,7 +635,7 @@ tdesc_architecture (const struct target_desc *target_desc)
   return target_desc->arch;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 const char *
 tdesc_architecture_name (const struct target_desc *target_desc)
@@ -652,7 +652,7 @@ tdesc_osabi (const struct target_desc *target_desc)
   return target_desc->osabi;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 const char *
 tdesc_osabi_name (const struct target_desc *target_desc)
@@ -1125,7 +1125,7 @@ tdesc_use_registers (struct gdbarch *gdbarch,
   set_gdbarch_register_reggroup_p (gdbarch, tdesc_register_reggroup_p);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 struct tdesc_feature *
 tdesc_create_feature (struct target_desc *tdesc, const char *name)
@@ -1182,7 +1182,7 @@ set_tdesc_property (struct target_desc *target_desc,
   target_desc->properties.emplace_back (key, value);
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 set_tdesc_architecture (struct target_desc *target_desc,
@@ -1198,7 +1198,7 @@ set_tdesc_architecture (struct target_desc *target_desc,
   target_desc->arch = arch;
 }
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 void
 set_tdesc_osabi (struct target_desc *target_desc, const char *name)
@@ -1563,7 +1563,7 @@ public:
     printf_unfiltered ("  Original: %s */\n\n",
                       lbasename (m_filename_after_features.c_str ()));
 
-    printf_unfiltered ("#include \"common/tdesc.h\"\n");
+    printf_unfiltered ("#include \"gdbsupport/tdesc.h\"\n");
     printf_unfiltered ("\n");
   }
 
@@ -1658,7 +1658,7 @@ private:
   int m_next_regnum = 0;
 };
 
-/* See common/tdesc.h.  */
+/* See gdbsupport/tdesc.h.  */
 
 const char *
 tdesc_get_features_xml (const target_desc *tdesc)
index fe07d425a5f9620ca6f53fa6da251a3af63b5063..5f27eed06dbb864d2df3aeaefff3fc71d5f36580 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef TARGET_DESCRIPTIONS_H
 #define TARGET_DESCRIPTIONS_H 1
-#include "common/tdesc.h"
+#include "gdbsupport/tdesc.h"
 
 struct tdesc_arch_data;
 struct target_ops;
index d04363c2a56ca67185d74c9f5c54cc1567eb4e0e..ce964babaace3bdd53c39ff4fb8dc8d7aa6893fe 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "target.h"
 #include "memory-map.h"
 
-#include "common/gdb_sys_time.h"
+#include "gdbsupport/gdb_sys_time.h"
 #include <algorithm>
 
 static bool
index 1c04095fd63c329a4d92331154280d2adf0b4e7b..de3706d75dc108d2c69ef769a8e4ce1293de62a3 100644 (file)
 #include "inline-frame.h"
 #include "tracepoint.h"
 #include "gdb/fileio.h"
-#include "common/agent.h"
+#include "gdbsupport/agent.h"
 #include "auxv.h"
 #include "target-debug.h"
 #include "top.h"
 #include "event-top.h"
 #include <algorithm>
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 #include "terminal.h"
 #include <unordered_map>
 
index 323357ca5503cea8f32f7bd5e4403214cf4b1034..4e2e75cb8067f5edf0d0f4f84b8de1f43122766a 100644 (file)
@@ -42,7 +42,7 @@ struct inferior;
 
 #include "infrun.h" /* For enum exec_direction_kind.  */
 #include "breakpoint.h" /* For enum bptype.  */
-#include "common/scoped_restore.h"
+#include "gdbsupport/scoped_restore.h"
 
 /* This include file defines the interface between the main part
    of the debugger, and the part which is target-specific, or
@@ -74,15 +74,15 @@ struct inferior;
 #include "bfd.h"
 #include "symtab.h"
 #include "memattr.h"
-#include "common/vec.h"
-#include "common/gdb_signals.h"
+#include "gdbsupport/vec.h"
+#include "gdbsupport/gdb_signals.h"
 #include "btrace.h"
 #include "record.h"
 #include "command.h"
 #include "disasm.h"
 #include "tracepoint.h"
 
-#include "common/break-common.h" /* For enum target_hw_bp_type.  */
+#include "gdbsupport/break-common.h" /* For enum target_hw_bp_type.  */
 
 enum strata
   {
index f86ce223739f5b01477622097c16341c7faf6d6a..0b74f788b7478de84d97f1b54fefb5148fa26dea 100644 (file)
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "waitstatus.h"
 
 /* Return a pretty printed form of target_waitstatus.  */
index 8f48599e9e8c3d0ee9847ba475267a185cc62fd6..ec1abed7b4030587a88f4f51d1731fd777cf0b17 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef TARGET_WAITSTATUS_H
 #define TARGET_WAITSTATUS_H
 
-#include "common/gdb_signals.h"
+#include "gdbsupport/gdb_signals.h"
 
 /* Stuff for target_wait.  */
 
index be6ab73c6863a092c06d6ecb727d7c6d15442545..72ee9ddcb8441e873a85e0edc1528d0fc9103446 100644 (file)
@@ -19,9 +19,9 @@
 #ifndef THREAD_ITER_H
 #define THREAD_ITER_H
 
-#include "common/filtered-iterator.h"
-#include "common/next-iterator.h"
-#include "common/safe-iterator.h"
+#include "gdbsupport/filtered-iterator.h"
+#include "gdbsupport/next-iterator.h"
+#include "gdbsupport/safe-iterator.h"
 
 /* A forward iterator that iterates over a given inferior's
    threads.  */
index d13298f5c6f5401478c704ecebe9b197ac118408..2d25cee7cee7fed7a1fb01fadd342ebaf50f10e8 100644 (file)
@@ -23,7 +23,7 @@
 #include "symtab.h"
 #include "frame.h"
 #include "inferior.h"
-#include "common/environ.h"
+#include "gdbsupport/environ.h"
 #include "value.h"
 #include "target.h"
 #include "gdbthread.h"
@@ -45,7 +45,7 @@
 #include "thread-fsm.h"
 #include "tid-parse.h"
 #include <algorithm>
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include "inline-frame.h"
 #include "stack.h"
 
@@ -1307,7 +1307,7 @@ switch_to_thread (thread_info *thr)
   reinit_frame_cache ();
 }
 
-/* See common/common-gdbthread.h.  */
+/* See gdbsupport/common-gdbthread.h.  */
 
 void
 switch_to_thread (ptid_t ptid)
index a5f05ef15151103fb55f65831d0a82dc925ba6f2..aa2681e2127a27dc221984965ee79f128996ccb4 100644 (file)
@@ -40,7 +40,7 @@
 #include "tilegx-tdep.h"
 #include "opcode/tilegx.h"
 #include <algorithm>
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 struct tilegx_frame_cache
 {
index c5fc94f82951de115dab3588343b3aaa40ee4244..c28e660a057039d14fe2af5ff7e16b0efbaa42e3 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
 #include "value.h"
 #include "language.h"
 #include "terminal.h"
-#include "common/job-control.h"
+#include "gdbsupport/job-control.h"
 #include "annotate.h"
 #include "completer.h"
 #include "top.h"
-#include "common/version.h"
+#include "gdbsupport/version.h"
 #include "serial.h"
 #include "main.h"
 #include "event-loop.h"
@@ -50,9 +50,9 @@
 #include "maint.h"
 #include "filenames.h"
 #include "frame.h"
-#include "common/buffer.h"
+#include "gdbsupport/buffer.h"
 #include "gdb_select.h"
-#include "common/scope-exit.h"
+#include "gdbsupport/scope-exit.h"
 
 /* readline include files.  */
 #include "readline/readline.h"
index aab03c13d69b08460d37e46aae9ff30d5a1d20ac..e7659b65ffe4c619291d5fb5456546708ff85ae8 100644 (file)
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -20,7 +20,7 @@
 #ifndef TOP_H
 #define TOP_H
 
-#include "common/buffer.h"
+#include "gdbsupport/buffer.h"
 #include "event-loop.h"
 #include "value.h"
 
index 593556a8ba8935da475909fb6d82b57f2c15015d..2e61d83409046420793e3bb6d6250e764d0617c5 100644 (file)
@@ -20,8 +20,8 @@
 #include "defs.h"
 #include "tracefile.h"
 #include "readline/tilde.h"
-#include "common/filestuff.h"
-#include "common/rsp-low.h" /* bin2hex */
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/rsp-low.h" /* bin2hex */
 #include "regcache.h"
 #include "inferior.h"
 #include "gdbthread.h"
@@ -31,7 +31,7 @@
 #include "remote.h"
 #include "xml-tdesc.h"
 #include "target-descriptions.h"
-#include "common/buffer.h"
+#include "gdbsupport/buffer.h"
 #include <algorithm>
 
 #ifndef O_LARGEFILE
index bf886e06521a7ab38d56a2968306babe9650c823..7ed2fc08e4997b3a5dbf6e06881fbef02a2024ef 100644 (file)
@@ -22,7 +22,7 @@
 #include "ctf.h"
 #include "exec.h"
 #include "regcache.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 /* Helper macros.  */
 
index af5dcd1e339d9612a297c52d9e3577754dfc1113..5674400776a79d7243f411afca6e507066de665e 100644 (file)
@@ -52,8 +52,8 @@
 #include "cli/cli-utils.h"
 #include "probe.h"
 #include "ctf.h"
-#include "common/filestuff.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/rsp-low.h"
 #include "tracefile.h"
 #include "location.h"
 #include <algorithm>
index ca9d2a779439933ca7f6e273b1f6eb02d8a4d42e..440effb39d6a08228ce373aa345c93048342e7a9 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "breakpoint.h"
 #include "memrange.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
 
 #include <vector>
 #include <string>
index 56d5974cb35774e8314ef51abd91ecade28fc12a..c9607d8f3c8d3589bc6489c8bbb0662e3455c645 100644 (file)
@@ -40,7 +40,7 @@
 #ifdef __MINGW32__
 #include <windows.h>
 #endif
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "completer.h"
 #include "gdb_curses.h"
 #include <map>
index 05d411aa3929f8fe8bca7582440cf7e5a2797203..042b13ca3b1890f0653a727848a768b8179dbf41 100644 (file)
@@ -23,7 +23,7 @@
 #include "ui-file.h"
 #include "gdb_obstack.h"
 #include "gdb_select.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 
 null_file null_stream;
 
index 9eba70eedac646911e137348298fbc27d41ec048..8574204b92aaece802af39880c6123763573d07b 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <vector>
 
-#include "common/enum-flags.h"
+#include "gdbsupport/enum-flags.h"
 
 class ui_out_level;
 class ui_out_table;
index d0d1128cd2a0452c2272c42d219c5fa635d6ab33..95a4cc799f01c5590a947a7a48b58be52391cb34 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/array-view.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/array-view.h"
 #include <array>
 
 namespace selftests {
index 4c436efa969ae593c42575486db194d7132a595d..2ed83faed66b868a650a6f6da7a4cc9ecd457b78 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/pathstuff.h"
-#include "common/selftest.h"
+#include "gdbsupport/pathstuff.h"
+#include "gdbsupport/selftest.h"
 
 namespace selftests {
 namespace child_path {
index a251a8e58f84a386b5b5cd2e2688cedb15db179f..6d8928fd6bcf2a27f89615190ae91a6bf613b718 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 #include "cli/cli-utils.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 namespace selftests {
 namespace cli_utils {
index 996ab5e82d138f6d3046cd1e9fb0c7d25485e2a0..3d4211da86d1e6899a3abdd519fdaa17801ed2bf 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common/common-defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/common-defs.h"
+#include "gdbsupport/selftest.h"
 
 namespace selftests {
 
index 9dd9aeac00cf5e702d97bcbdc2d5e52e651ac1aa..aad4614ecf5d9f27a440cf03fdb32fe815ab7e36 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "utils.h"
 
 namespace selftests {
index 2bbff7039e69ee60740775c4d28fd76c3446fc50..c499f01cfae82c16abbc80e6e9c75b81cc2ec757 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/environ.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/environ.h"
 #include "diagnostics.h"
 
 static const char gdb_selftest_env_var[] = "GDB_SELFTEST_ENVIRON";
index 976af3d2fcd68c78e2aaac9dda9bd35ca0790949..7d31b3cb93fbaee60c395d215810f3114080fba2 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/format.h"
-#include "common/selftest.h"
+#include "gdbsupport/format.h"
+#include "gdbsupport/selftest.h"
 
 namespace selftests {
 namespace format_pieces {
index 2abaa1f99170b3d2aac31d7c06deccdef7440f11..f0d58d8778bad3dd3b33ac355a4e4493dff80e9c 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/function-view.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/function-view.h"
 
 namespace selftests {
 namespace function_view {
index 04fcd7e0b5a0cd2c38ba54adc52e2b71b1082b9e..747728158d8e18ebf2e6542f178fa618cd1e425b 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "symtab.h"
 
 namespace selftests {
index fc6f0fe57300b9081941146683851d9b4d054bc6..f64f050133519013cd1f6d41e5384455e865bd0e 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "memory-map.h"
 
 #if defined(HAVE_LIBEXPAT)
index ada8e3e43427418eba83643d0c5818b11cbce2bd..6fe1fe622f520227cc8f164d251cc8c22fcd995c 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "memrange.h"
 
 namespace selftests {
index a8b571f38c78d595097e4a503f32138ae9a997d1..8be4a922f712d29d102c7fa53279916ab07cfe5d 100644 (file)
 
 #include "defs.h"
 
-#include "common/filestuff.h"
-#include "common/selftest.h"
-#include "common/byte-vector.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/byte-vector.h"
+#include "gdbsupport/pathstuff.h"
 
 namespace selftests {
 namespace mkdir_recursive {
index 2a51a999561eada9ed83376bc706d7662a861498..f7a8e9606ae808b7dc2f29ba5966408a191bfde0 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/observable.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/observable.h"
 
 namespace selftests {
 namespace observers {
index 8222a94ad024f595d1f4c852170a1b6de828e5f1..57a1a27d1337d7d2e030207b2e3d90f270647f6f 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/offset-type.h"
-#include "common/underlying.h"
-#include "common/valid-expr.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/offset-type.h"
+#include "gdbsupport/underlying.h"
+#include "gdbsupport/valid-expr.h"
 
 namespace selftests {
 namespace offset_type {
index fdd4437b16edfde054e5fe11cbab7d17facf6adf..828b0e8577ac5adbd525d746b16729ef05b98acb 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/gdb_optional.h"
 
 /* Used by the included .cc files below.  Included here because the
    included test files are wrapped in a namespace.  */
index 915aa669f428600c9ce4eb5204a1670ad0619e90..b86ab4343f2812882816be7c1c5cf6a86ffc8648 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/netstuff.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/netstuff.h"
 #include "diagnostics.h"
 #ifdef USE_WIN32API
 #include <ws2tcpip.h>
index 0194d9a229f52baa5b1709e26920dce9893baa9b..1deb738e1bfd1574e6b97311878f2d25f6091098 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/ptid.h"
+#include "gdbsupport/ptid.h"
 #include <type_traits>
 
 namespace selftests {
index dc3e8f5205476551447a49eb86dd168285cdf6d4..e316a22c74c876d0743e83dd554b8f9bd3e191bc 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/rsp-low.h"
 
 namespace selftests {
 namespace rsp_low {
index 886ff261acb404a29204fe4a3b1c84cd48623dfe..c3d17102cd5d897fdaa97554c3c155a8e66351ac 100644 (file)
 
 #include "defs.h"
 
-#include "common/filestuff.h"
-#include "common/scoped_fd.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/scoped_fd.h"
 #include "config.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 namespace selftests {
 namespace scoped_fd {
index a3d2040b62ae38fe02b7ca79791bf648de4df7f2..37d91ae1f25f413c5f7e92f35715d5846326aa65 100644 (file)
 
 #include "defs.h"
 
-#include "common/filestuff.h"
-#include "common/scoped_mmap.h"
+#include "gdbsupport/filestuff.h"
+#include "gdbsupport/scoped_mmap.h"
 #include "config.h"
 
 #if defined(HAVE_SYS_MMAN_H)
 
-#include "common/selftest.h"
-#include "common/gdb_unlinker.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/gdb_unlinker.h"
 
 #include <unistd.h>
 
index 564ca07a92075d7aa5df2d0e9c06ffde83c9293b..c05cccf04687ba843c83722b16cd1cb87072076d 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/scoped_restore.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/scoped_restore.h"
 
 namespace selftests {
 namespace scoped_restore_tests {
index b2a2bf7f2e95ca75f1ba51977a9e8f411f83b0b1..910f6588d7b4543cff9a9bf65e9a853e9c1bfa0a 100644 (file)
@@ -24,8 +24,8 @@
 #define GNULIB_NAMESPACE gnulib
 
 #include "defs.h"
-#include "common/selftest.h"
-#include "common/gdb_string_view.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/gdb_string_view.h"
 
 /* Used by the included .cc files below.  Included here because the
    included test files are wrapped in a namespace.  */
index 9682724b86fb597b6d32ac7500c0f8d1591c4a36..fc7f144c235f19272b6c632da5c53be08885ccdc 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "ui-style.h"
 
 namespace selftests {
index 1e2618453b4c3ab6d63bb54dc7bd4f58b1f004b2..1f04c7cea2412ffd518acc097ddd0a3efb9a3f73 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "tracepoint.h"
 
 namespace selftests {
index e85aa2180b7e83a9602e9c03c0ab637c7b7bbdf4..ffb6238445b39c174308f4922133194bc64caf4b 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 #include "selftest-arch.h"
 #include "value.h"
 #include "gdbtypes.h"
index c874de3e181805952d4bbe56fee42d19ffa7b676..ec81124001f9ed5b6d2b2d49a78fd7e0f5891d88 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 #include "utils.h"
-#include "common/selftest.h"
+#include "gdbsupport/selftest.h"
 
 namespace selftests {
 namespace utils {
index 2c24056aacd7b12a018154a067007d55ee273574..99c431b236054ec696892c46ea1f5d35e33272de 100644 (file)
@@ -18,8 +18,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "common/xml-utils.h"
-#include "common/selftest.h"
+#include "gdbsupport/xml-utils.h"
+#include "gdbsupport/selftest.h"
 
 namespace selftests {
 namespace xml_utils {
index 7120a92258445063e271ee2c802189fafc1c9314..94ce09118d8870a503c3911ae3378d9868af6ba9 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 #include <ctype.h>
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include "event-top.h"
 #include "gdbthread.h"
 #include "fnmatch.h"
 #include "gdb_usleep.h"
 #include "interps.h"
 #include "gdb_regex.h"
-#include "common/job-control.h"
-#include "common/selftest.h"
-#include "common/gdb_optional.h"
+#include "gdbsupport/job-control.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/gdb_optional.h"
 #include "cp-support.h"
 #include <algorithm>
-#include "common/pathstuff.h"
+#include "gdbsupport/pathstuff.h"
 #include "cli/cli-style.h"
-#include "common/scope-exit.h"
+#include "gdbsupport/scope-exit.h"
 
 void (*deprecated_error_begin_hook) (void);
 
index 58b4a283447e03829274ed8e9c6370172274227e..3c0aee73eda6e7a3cb8eef58441179f6963f9220 100644 (file)
@@ -22,7 +22,7 @@
 #define UTILS_H
 
 #include "exceptions.h"
-#include "common/scoped_restore.h"
+#include "gdbsupport/scoped_restore.h"
 #include <chrono>
 
 extern void initialize_utils (void);
index 8d310b504a265e08170665d664b0dd501ab17c57..e730e5c55d5bafe509bb8951d7d48c35825e3871 100644 (file)
@@ -26,7 +26,7 @@
 #include "language.h"
 #include "target-float.h"
 #include "infcall.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 /* Define whether or not the C operator '/' truncates towards zero for
    differently signed operands (truncation direction is undefined in C).  */
index 948ad89fe9270b1e85f8242f7722b27fe946f8a9..663edae20340ed48f706618b49b238af5a78fd8c 100644 (file)
@@ -39,7 +39,7 @@
 #include "observable.h"
 #include "objfiles.h"
 #include "extension.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 extern unsigned int overload_debug;
 /* Local functions.  */
index 6f9b47da80c1101e60a67993c1b676ad5bb72244..7b2b79b53964d1a5d723dc88d1ec5d5015c226f9 100644 (file)
@@ -35,7 +35,7 @@
 #include "typeprint.h"
 #include <ctype.h>
 #include <algorithm>
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 #include "cli/cli-option.h"
 
 /* Maximum number of wchars returned from wchar_iterate.  */
index 1b22cf916e3c921bb33e7afcba016626621de1af..9103d8f41c345d20c437625fb82095985b64d37c 100644 (file)
@@ -41,8 +41,8 @@
 #include "user-regs.h"
 #include <algorithm>
 #include "completer.h"
-#include "common/selftest.h"
-#include "common/array-view.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/array-view.h"
 
 /* Definition of a user function.  */
 struct internal_function
index 0756d13b6d79f060e9ada774518092e49ec1a9d4..f96b095941a2471844c6cd0f1ec2db039ffa5815 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "frame.h"             /* For struct frame_id.  */
 #include "extension.h"
-#include "common/gdb_ref_ptr.h"
+#include "gdbsupport/gdb_ref_ptr.h"
 
 struct block;
 struct expression;
index 8ec8298a12c6d256df7bcf8f59fe18886f22a5a4..17f4ae06d8cae940779e999289d8f45442805329 100644 (file)
@@ -26,7 +26,7 @@
 #include "gdb_regex.h"
 
 #include "varobj.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "gdbthread.h"
 #include "inferior.h"
 #include "varobj-iter.h"
index 5d8c6876dd8f4ee8da794e587ef2e08f9a5d5d77..9067d2d6beb7f8c99e0ad05da79f16c4da47216e 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "symtab.h"
 #include "gdbtypes.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
 #include "value.h"
 
 /* Enumeration for the format types */
index ae4e3d55b308149b17e9606b0c6b9621498fbdf3..3431181a88cb630fc19dd8b68e9dfc37bb636a74 100644 (file)
@@ -67,8 +67,8 @@
 #include "x86-nat.h"
 #include "complaints.h"
 #include "inf-child.h"
-#include "common/gdb_tilde_expand.h"
-#include "common/pathstuff.h"
+#include "gdbsupport/gdb_tilde_expand.h"
+#include "gdbsupport/pathstuff.h"
 
 #define AdjustTokenPrivileges          dyn_AdjustTokenPrivileges
 #define DebugActiveProcessStop         dyn_DebugActiveProcessStop
index fe85358fa263adfee386b63d7950d6cb77d46f93..e1b592510fa6c810d941946e20189b7c353fe9d3 100644 (file)
@@ -35,7 +35,7 @@
 #ifdef __x86_64__
 #include "amd64-linux-tdep.h"
 #endif
-#include "common/x86-xstate.h"
+#include "gdbsupport/x86-xstate.h"
 #include "nat/linux-btrace.h"
 #include "nat/linux-nat.h"
 #include "nat/x86-linux.h"
index ae727da03b360d0039c1f4fa70fd31fcb1f8a816..8b79d69a6d58e067cf627f753e04bb5895287fc0 100644 (file)
@@ -20,7 +20,7 @@
 #include "defs.h"
 #include "gdbcmd.h"
 #include "xml-support.h"
-#include "common/filestuff.h"
+#include "gdbsupport/filestuff.h"
 #include "safe-ctype.h"
 #include <vector>
 #include <string>
index c5cf617050a1ec1ab11d3ea2cbfea526d8e3f544..eebd79d33a4e7eae9fda60402bcd9be5c8acf3d8 100644 (file)
@@ -22,9 +22,9 @@
 #define XML_SUPPORT_H
 
 #include "gdb_obstack.h"
-#include "common/vec.h"
-#include "common/xml-utils.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/vec.h"
+#include "gdbsupport/xml-utils.h"
+#include "gdbsupport/byte-vector.h"
 
 struct gdb_xml_parser;
 struct gdb_xml_element;
index 2137ee8a411fc12752d8d29a6c94c6f77e2811e1..902509b51f2eb565c0ecc21edba0d2e6027e91f3 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef XML_TDESC_H
 #define XML_TDESC_H
 
-#include "common/gdb_optional.h"
+#include "gdbsupport/gdb_optional.h"
 #include <string>
 
 struct target_ops;
index 1555eb1eb4a953ff41abc4122f6074b2b2d580cf..2dd76c3725170cc5ccc25f35e4025193f12b45bf 100644 (file)
@@ -33,7 +33,7 @@
 #include "regcache.h"
 #include "osabi.h"
 #include "objfiles.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
 
 enum gdb_regnum
 {
index 13904069b3a796f794499bf98316ac689576a60c..3ff66d171a050fe6ca7722332819e8216e0a333c 100644 (file)
@@ -28,7 +28,7 @@
 #include <signal.h>
 #include <sys/user.h>
 #include <sys/ioctl.h>
-#include "common/gdb_wait.h"
+#include "gdbsupport/gdb_wait.h"
 #include <fcntl.h>
 #include <sys/procfs.h>
 #include "nat/gdb_ptrace.h"