Rename common to gdbsupport

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.
This commit is contained in:
Tom Tromey 2019-05-05 20:29:24 -06:00
parent 5b0e2db4fa
commit 268a13a5a3
488 changed files with 1038 additions and 903 deletions

View 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

View 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.

View 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"

View 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)

View 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>

View 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.

View 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". */

View 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.

View 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"

View 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

View 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"
class amd64_fbsd_nat_target final

View 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"

View 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"

View 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"

View 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"

View 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"

View 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

View File

@ -39,14 +39,14 @@
#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"

View 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"

View File

@ -32,7 +32,7 @@
#include "language.h"
#include "symtab.h"
#include "common/version.h"
#include "gdbsupport/version.h"
#include "floatformat.h"

View 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. */

View 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>

View 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

View 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"

View 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,

View 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"

View File

@ -17,8 +17,8 @@
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"

View File

@ -17,8 +17,8 @@
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. */

View File

@ -15,10 +15,10 @@
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"

View 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,

View 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"

View 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>

View 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

View 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"

View 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;

View File

@ -36,11 +36,11 @@
#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).

View 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"

View 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,

View 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
};

View File

@ -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
};

View 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. */

View File

@ -21,14 +21,14 @@
#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;

View 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;

View 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>

View 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"

View 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. */

View 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

View File

@ -21,12 +21,12 @@
#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

View 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

View 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. */

View 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. */

View 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. */

View 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)

View 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"

View 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"

View 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>

View 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;

View 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. */

View 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. */

View 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"

View File

@ -19,11 +19,11 @@
#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"

View 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;

View 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"

View File

@ -35,14 +35,14 @@
#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"

View 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"

View 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. */

6
gdb/configure vendored
View File

@ -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

View 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])

View File

@ -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:]]*\(/ {

View File

@ -138,7 +138,7 @@ validate_files (void)
}
}
/* See common/common-inferior.h. */
/* See gdbsupport/common-inferior.h. */
char *
get_exec_file (int err)

View 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

View 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

View File

@ -25,10 +25,10 @@
/* 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. */

View 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;

View 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"

View File

@ -31,7 +31,7 @@
#include "tracefile.h"
#include <ctype.h>
#include <algorithm>
#include "common/filestuff.h"
#include "gdbsupport/filestuff.h"
/* The CTF target. */

View File

@ -63,10 +63,10 @@
#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.

View 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)

View 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. */

View 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 {

View 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.

View 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
{

View 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"

View File

@ -23,12 +23,12 @@
#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>

View 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

View File

@ -21,11 +21,11 @@
#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"

View 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

View 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. */

View File

@ -39,12 +39,12 @@
#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;

View 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"
@ -68,15 +68,15 @@
#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>
@ -84,12 +84,12 @@
#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.

View 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;

View 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"

View 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"

View 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)

View 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 *);

View 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;

View File

@ -18,14 +18,14 @@
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"

View 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)

View 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)

View 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)

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