public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Rename common to gdbsupport
@ 2019-07-09 13:59 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2019-07-09 13:59 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=268a13a5a3f7c6b9b6ffc5ac2d1b24eb41f3fbdc

commit 268a13a5a3f7c6b9b6ffc5ac2d1b24eb41f3fbdc
Author: Tom Tromey <tom@tromey.com>
Date:   Sun May 5 20:29:24 2019 -0600

    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.

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

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0ad7576..b1200e9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 7308ea5..b6680b9 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -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.
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c
index 17f5e1e..7574658 100644
--- a/gdb/aarch64-tdep.c
+++ b/gdb/aarch64-tdep.c
@@ -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"
diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4
index 0719d42..b32dcf5 100644
--- a/gdb/acinclude.m4
+++ b/gdb/acinclude.m4
@@ -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)
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 332363b..ae28265 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -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>
 
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index b10c680..788f7a6 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -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.
diff --git a/gdb/agent.c b/gdb/agent.c
index 8b777d0..bc71860 100644
--- a/gdb/agent.c
+++ b/gdb/agent.c
@@ -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".  */
 
diff --git a/gdb/alloc.c b/gdb/alloc.c
index 95488a7..8323dd6 100644
--- a/gdb/alloc.c
+++ b/gdb/alloc.c
@@ -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.
 
diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c
index 46867f4..f1aa72a 100644
--- a/gdb/amd64-darwin-tdep.c
+++ b/gdb/amd64-darwin-tdep.c
@@ -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"
diff --git a/gdb/amd64-dicos-tdep.c b/gdb/amd64-dicos-tdep.c
index 8ca838e..e797843 100644
--- a/gdb/amd64-dicos-tdep.c
+++ b/gdb/amd64-dicos-tdep.c
@@ -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
diff --git a/gdb/amd64-fbsd-nat.c b/gdb/amd64-fbsd-nat.c
index cc676d3..718ebd9 100644
--- a/gdb/amd64-fbsd-nat.c
+++ b/gdb/amd64-fbsd-nat.c
@@ -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
diff --git a/gdb/amd64-fbsd-tdep.c b/gdb/amd64-fbsd-tdep.c
index 7e2e9ed..493e630 100644
--- a/gdb/amd64-fbsd-tdep.c
+++ b/gdb/amd64-fbsd-tdep.c
@@ -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"
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c
index 8d0e8eb..4f1c98a 100644
--- a/gdb/amd64-linux-nat.c
+++ b/gdb/amd64-linux-nat.c
@@ -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"
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 008817c..7ec08c7 100644
--- a/gdb/amd64-linux-tdep.c
+++ b/gdb/amd64-linux-tdep.c
@@ -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"
diff --git a/gdb/amd64-nbsd-tdep.c b/gdb/amd64-nbsd-tdep.c
index 06905d6..331cb8a 100644
--- a/gdb/amd64-nbsd-tdep.c
+++ b/gdb/amd64-nbsd-tdep.c
@@ -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"
 
diff --git a/gdb/amd64-obsd-tdep.c b/gdb/amd64-obsd-tdep.c
index cd1a1c3..67f9f88 100644
--- a/gdb/amd64-obsd-tdep.c
+++ b/gdb/amd64-obsd-tdep.c
@@ -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"
 
diff --git a/gdb/amd64-sol2-tdep.c b/gdb/amd64-sol2-tdep.c
index 56d2e22..74358d8 100644
--- a/gdb/amd64-sol2-tdep.c
+++ b/gdb/amd64-sol2-tdep.c
@@ -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
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index f02b007..232d16d 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -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"
 
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c
index 922da9e..3eb1f14 100644
--- a/gdb/amd64-windows-tdep.c
+++ b/gdb/amd64-windows-tdep.c
@@ -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"
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 43f5834..bfcb582 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -32,7 +32,7 @@
 #include "language.h"
 #include "symtab.h"
 
-#include "common/version.h"
+#include "gdbsupport/version.h"
 
 #include "floatformat.h"
 
diff --git a/gdb/arch/aarch64-insn.c b/gdb/arch/aarch64-insn.c
index cf6e669..e04ad87 100644
--- a/gdb/arch/aarch64-insn.c
+++ b/gdb/arch/aarch64-insn.c
@@ -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.  */
diff --git a/gdb/arch/aarch64.c b/gdb/arch/aarch64.c
index 11a15dd..30c5f8a 100644
--- a/gdb/arch/aarch64.c
+++ b/gdb/arch/aarch64.c
@@ -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>
 
diff --git a/gdb/arch/aarch64.h b/gdb/arch/aarch64.h
index 309fe75..aed1035 100644
--- a/gdb/arch/aarch64.h
+++ b/gdb/arch/aarch64.h
@@ -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
diff --git a/gdb/arch/amd64.c b/gdb/arch/amd64.c
index b7e6332..3158ab5 100644
--- a/gdb/arch/amd64.c
+++ b/gdb/arch/amd64.c
@@ -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"
diff --git a/gdb/arch/amd64.h b/gdb/arch/amd64.h
index 1e02c52..96b52a9 100644
--- a/gdb/arch/amd64.h
+++ b/gdb/arch/amd64.h
@@ -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,
diff --git a/gdb/arch/arm-get-next-pcs.c b/gdb/arch/arm-get-next-pcs.c
index 00c7064..e133570 100644
--- a/gdb/arch/arm-get-next-pcs.c
+++ b/gdb/arch/arm-get-next-pcs.c
@@ -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"
 
diff --git a/gdb/arch/arm-linux.c b/gdb/arch/arm-linux.c
index 180228f..d23c196 100644
--- a/gdb/arch/arm-linux.c
+++ b/gdb/arch/arm-linux.c
@@ -17,8 +17,8 @@
    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"
diff --git a/gdb/arch/arm.c b/gdb/arch/arm.c
index 93738f0..860ce02 100644
--- a/gdb/arch/arm.c
+++ b/gdb/arch/arm.c
@@ -17,8 +17,8 @@
    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.  */
diff --git a/gdb/arch/i386.c b/gdb/arch/i386.c
index ab24cf7..d08ac6a 100644
--- a/gdb/arch/i386.c
+++ b/gdb/arch/i386.c
@@ -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"
diff --git a/gdb/arch/i386.h b/gdb/arch/i386.h
index 9a831ce..1caa0ae 100644
--- a/gdb/arch/i386.h
+++ b/gdb/arch/i386.h
@@ -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,
diff --git a/gdb/arch/ppc-linux-common.c b/gdb/arch/ppc-linux-common.c
index 6badd2f..8af30e3 100644
--- a/gdb/arch/ppc-linux-common.c
+++ b/gdb/arch/ppc-linux-common.c
@@ -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"
 
diff --git a/gdb/arch/riscv.c b/gdb/arch/riscv.c
index 5ed1d47..68ff711 100644
--- a/gdb/arch/riscv.c
+++ b/gdb/arch/riscv.c
@@ -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>
diff --git a/gdb/arch/riscv.h b/gdb/arch/riscv.h
index 05c1905..7917bdf 100644
--- a/gdb/arch/riscv.h
+++ b/gdb/arch/riscv.h
@@ -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
diff --git a/gdb/arch/tic6x.c b/gdb/arch/tic6x.c
index dd2257c..03aacfa 100644
--- a/gdb/arch/tic6x.c
+++ b/gdb/arch/tic6x.c
@@ -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"
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 8e3607c..fe62519 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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;
diff --git a/gdb/auto-load.c b/gdb/auto-load.c
index 6833c21..7e41799 100644
--- a/gdb/auto-load.c
+++ b/gdb/auto-load.c
@@ -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).
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 5e0ff26..5395801 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -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"
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index d3eb4cb..9f1b7a1 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -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,
diff --git a/gdb/ax-general.c b/gdb/ax-general.c
index f956dfc..d0fdc62 100644
--- a/gdb/ax-general.c
+++ b/gdb/ax-general.c
@@ -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
 };
 
diff --git a/gdb/ax.h b/gdb/ax.h
index d16098b..112c21b 100644
--- 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
   };
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 9bae0a0..00fd762 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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.  */
 
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 75f1978..3c9d506 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -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;
diff --git a/gdb/btrace.c b/gdb/btrace.c
index 2806b8c..08096ad 100644
--- a/gdb/btrace.c
+++ b/gdb/btrace.c
@@ -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;
diff --git a/gdb/btrace.h b/gdb/btrace.h
index 7b38b14..ba8d27c 100644
--- a/gdb/btrace.h
+++ b/gdb/btrace.h
@@ -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>
diff --git a/gdb/build-id.c b/gdb/build-id.c
index 27f29cd..048da2a 100644
--- a/gdb/build-id.c
+++ b/gdb/build-id.c
@@ -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"
diff --git a/gdb/build-id.h b/gdb/build-id.h
index b8b033e..2835a76 100644
--- a/gdb/build-id.h
+++ b/gdb/build-id.h
@@ -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.  */
 
diff --git a/gdb/c-lang.h b/gdb/c-lang.h
index 70a95ea..d95df54 100644
--- a/gdb/c-lang.h
+++ b/gdb/c-lang.h
@@ -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
diff --git a/gdb/charset.c b/gdb/charset.c
index 5d8a996..9df46c0 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -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
diff --git a/gdb/charset.h b/gdb/charset.h
index d7cf247..623a40a 100644
--- a/gdb/charset.h
+++ b/gdb/charset.h
@@ -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
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 368ddf5..e689c0f 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -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.  */
diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h
index 94e210a..188df05 100644
--- a/gdb/cli/cli-cmds.h
+++ b/gdb/cli/cli-cmds.h
@@ -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.  */
 
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index a6ddd8c..edea3ad 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -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.  */
 
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index 621bc93..1910ca2 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -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)
diff --git a/gdb/cli/cli-option.h b/gdb/cli/cli-option.h
index a26b52f..d231d8b 100644
--- a/gdb/cli/cli-option.h
+++ b/gdb/cli/cli-option.h
@@ -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"
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index 361ead4..4fc9c70 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -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"
 
diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c
index f572138..9f7384b 100644
--- a/gdb/coff-pe-read.c
+++ b/gdb/coff-pe-read.c
@@ -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>
diff --git a/gdb/command.h b/gdb/command.h
index 648950b..2c60804 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -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;
 
diff --git a/gdb/compile/compile-c-support.c b/gdb/compile/compile-c-support.c
index d1947da..0f50c09 100644
--- a/gdb/compile/compile-c-support.c
+++ b/gdb/compile/compile-c-support.c
@@ -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.  */
 
diff --git a/gdb/compile/compile-c.h b/gdb/compile/compile-c.h
index b5a2194..4b65d46 100644
--- a/gdb/compile/compile-c.h
+++ b/gdb/compile/compile-c.h
@@ -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.  */
diff --git a/gdb/compile/compile-cplus-symbols.c b/gdb/compile/compile-cplus-symbols.c
index 98133af..201c447 100644
--- a/gdb/compile/compile-cplus-symbols.c
+++ b/gdb/compile/compile-cplus-symbols.c
@@ -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"
diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c
index d7aef26..3a7c8b0 100644
--- a/gdb/compile/compile-cplus-types.c
+++ b/gdb/compile/compile-cplus-types.c
@@ -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"
diff --git a/gdb/compile/compile-cplus.h b/gdb/compile/compile-cplus.h
index e5ea7d7..d58e030 100644
--- a/gdb/compile/compile-cplus.h
+++ b/gdb/compile/compile-cplus.h
@@ -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;
diff --git a/gdb/compile/compile-loc2c.c b/gdb/compile/compile-loc2c.c
index b5682d8..9ca10b7 100644
--- a/gdb/compile/compile-loc2c.c
+++ b/gdb/compile/compile-loc2c.c
@@ -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
diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c
index 25d0bfe..4c0721d 100644
--- a/gdb/compile/compile.c
+++ b/gdb/compile/compile.c
@@ -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"
 
 \f
 
diff --git a/gdb/completer.c b/gdb/completer.c
index 6892a62..07facfb 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -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"
diff --git a/gdb/completer.h b/gdb/completer.h
index 9f8ec47..313010f 100644
--- a/gdb/completer.h
+++ b/gdb/completer.h
@@ -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.  */
diff --git a/gdb/configure b/gdb/configure
index 361f3cc..12954d1 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -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
 
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 275f08d..2a43d12 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -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])
diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh
index 597d088..8956541 100755
--- a/gdb/contrib/ari/gdb_ari.sh
+++ b/gdb/contrib/ari/gdb_ari.sh
@@ -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:]]*\(/ {
diff --git a/gdb/corefile.c b/gdb/corefile.c
index bf859fb..4fe8606 100644
--- a/gdb/corefile.c
+++ b/gdb/corefile.c
@@ -138,7 +138,7 @@ validate_files (void)
     }
 }
 
-/* See common/common-inferior.h.  */
+/* See gdbsupport/common-inferior.h.  */
 
 char *
 get_exec_file (int err)
diff --git a/gdb/corelow.c b/gdb/corelow.c
index 9fcc2d2..c0e5ad1 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -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
diff --git a/gdb/cp-support.c b/gdb/cp-support.c
index 9ba6ee3..562c6f1 100644
--- a/gdb/cp-support.c
+++ b/gdb/cp-support.c
@@ -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
diff --git a/gdb/cp-support.h b/gdb/cp-support.h
index c2e63ea..9878507 100644
--- a/gdb/cp-support.h
+++ b/gdb/cp-support.h
@@ -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.  */
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index d3a38d8..c8472d9 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -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;
diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c
index cd7d8c5..54b856a 100644
--- a/gdb/csky-tdep.c
+++ b/gdb/csky-tdep.c
@@ -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"
diff --git a/gdb/ctf.c b/gdb/ctf.c
index 7a95df7..cc714f0 100644
--- 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.  */
 
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index d2cb683..f890e13 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -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.
diff --git a/gdb/debug.c b/gdb/debug.c
index 5926503..5907ed1 100644
--- a/gdb/debug.c
+++ b/gdb/debug.c
@@ -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)
diff --git a/gdb/defs.h b/gdb/defs.h
index 81ab74c..a400722 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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.  */
diff --git a/gdb/disasm-selftests.c b/gdb/disasm-selftests.c
index e0d84d9..9991796 100644
--- a/gdb/disasm-selftests.c
+++ b/gdb/disasm-selftests.c
@@ -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 {
diff --git a/gdb/disasm.c b/gdb/disasm.c
index 4e58cb6..4e51bc5 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -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.
diff --git a/gdb/disasm.h b/gdb/disasm.h
index d3cc631..a9cfb21 100644
--- a/gdb/disasm.h
+++ b/gdb/disasm.h
@@ -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
   {
diff --git a/gdb/dtrace-probe.c b/gdb/dtrace-probe.c
index 2a2eae1..2d92edb 100644
--- a/gdb/dtrace-probe.c
+++ b/gdb/dtrace-probe.c
@@ -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"
diff --git a/gdb/dwarf-index-cache.c b/gdb/dwarf-index-cache.c
index d017901..f003022 100644
--- a/gdb/dwarf-index-cache.c
+++ b/gdb/dwarf-index-cache.c
@@ -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>
 
diff --git a/gdb/dwarf-index-cache.h b/gdb/dwarf-index-cache.h
index 2f26763..5ff09ff 100644
--- a/gdb/dwarf-index-cache.h
+++ b/gdb/dwarf-index-cache.h
@@ -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
diff --git a/gdb/dwarf-index-write.c b/gdb/dwarf-index-write.c
index 3f5862a..7d59a1b 100644
--- a/gdb/dwarf-index-write.c
+++ b/gdb/dwarf-index-write.c
@@ -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"
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c
index 0f2502b..cad6b7b 100644
--- a/gdb/dwarf2-frame.c
+++ b/gdb/dwarf2-frame.c
@@ -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
 
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index 3bd9abc..6d91960 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -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.  */
 
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 37cda40..83ff1f4 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -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;
 
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index f1fbba4..f479677 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -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.
diff --git a/gdb/dwarf2read.h b/gdb/dwarf2read.h
index 9251bde..8939f97 100644
--- a/gdb/dwarf2read.h
+++ b/gdb/dwarf2read.h
@@ -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;
diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index caeb5f3..affa00b 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -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"
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 3facb38..2132fb5 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -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"
 
diff --git a/gdb/exceptions.c b/gdb/exceptions.c
index ebdc71d..a405947 100644
--- a/gdb/exceptions.c
+++ b/gdb/exceptions.c
@@ -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)
diff --git a/gdb/exec.c b/gdb/exec.c
index 7de9234..3098fca 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -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 *);
 
diff --git a/gdb/extension.h b/gdb/extension.h
index 2f1b718..5e914f5 100644
--- a/gdb/extension.h
+++ b/gdb/extension.h
@@ -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;
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index d4f4c8c..b5be0b7 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -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"
diff --git a/gdb/features/aarch64-core.c b/gdb/features/aarch64-core.c
index c6e1910..a080a64 100644
--- a/gdb/features/aarch64-core.c
+++ b/gdb/features/aarch64-core.c
@@ -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)
diff --git a/gdb/features/aarch64-fpu.c b/gdb/features/aarch64-fpu.c
index b73d12e..87e3946 100644
--- a/gdb/features/aarch64-fpu.c
+++ b/gdb/features/aarch64-fpu.c
@@ -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)
diff --git a/gdb/features/aarch64-pauth.c b/gdb/features/aarch64-pauth.c
index e4b84ff..931e6cb 100644
--- a/gdb/features/aarch64-pauth.c
+++ b/gdb/features/aarch64-pauth.c
@@ -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)
diff --git a/gdb/features/aarch64-sve.c b/gdb/features/aarch64-sve.c
index ae292d2..9c7f56d 100644
--- a/gdb/features/aarch64-sve.c
+++ b/gdb/features/aarch64-sve.c
@@ -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
diff --git a/gdb/features/i386/32bit-avx.c b/gdb/features/i386/32bit-avx.c
index b9feac3..32ca7a0 100644
--- a/gdb/features/i386/32bit-avx.c
+++ b/gdb/features/i386/32bit-avx.c
@@ -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)
diff --git a/gdb/features/i386/32bit-avx512.c b/gdb/features/i386/32bit-avx512.c
index 51a4032..96d0e06 100644
--- a/gdb/features/i386/32bit-avx512.c
+++ b/gdb/features/i386/32bit-avx512.c
@@ -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)
diff --git a/gdb/features/i386/32bit-core.c b/gdb/features/i386/32bit-core.c
index 098c2ca..8f9fbad 100644
--- a/gdb/features/i386/32bit-core.c
+++ b/gdb/features/i386/32bit-core.c
@@ -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)
diff --git a/gdb/features/i386/32bit-linux.c b/gdb/features/i386/32bit-linux.c
index 3bc5937..3289f07 100644
--- a/gdb/features/i386/32bit-linux.c
+++ b/gdb/features/i386/32bit-linux.c
@@ -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)
diff --git a/gdb/features/i386/32bit-mpx.c b/gdb/features/i386/32bit-mpx.c
index 8288e9d..40b34ed 100644
--- a/gdb/features/i386/32bit-mpx.c
+++ b/gdb/features/i386/32bit-mpx.c
@@ -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)
diff --git a/gdb/features/i386/32bit-pkeys.c b/gdb/features/i386/32bit-pkeys.c
index a2a72f4..5e9087e 100644
--- a/gdb/features/i386/32bit-pkeys.c
+++ b/gdb/features/i386/32bit-pkeys.c
@@ -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)
diff --git a/gdb/features/i386/32bit-segments.c b/gdb/features/i386/32bit-segments.c
index c22c3df..209d434 100644
--- a/gdb/features/i386/32bit-segments.c
+++ b/gdb/features/i386/32bit-segments.c
@@ -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)
diff --git a/gdb/features/i386/32bit-sse.c b/gdb/features/i386/32bit-sse.c
index 68fbab0..e5eaf8f 100644
--- a/gdb/features/i386/32bit-sse.c
+++ b/gdb/features/i386/32bit-sse.c
@@ -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)
diff --git a/gdb/features/i386/64bit-avx.c b/gdb/features/i386/64bit-avx.c
index 7e45c98..f44af9f 100644
--- a/gdb/features/i386/64bit-avx.c
+++ b/gdb/features/i386/64bit-avx.c
@@ -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)
diff --git a/gdb/features/i386/64bit-avx512.c b/gdb/features/i386/64bit-avx512.c
index acc07a3..d12234c 100644
--- a/gdb/features/i386/64bit-avx512.c
+++ b/gdb/features/i386/64bit-avx512.c
@@ -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)
diff --git a/gdb/features/i386/64bit-core.c b/gdb/features/i386/64bit-core.c
index 617425d..2418fe5 100644
--- a/gdb/features/i386/64bit-core.c
+++ b/gdb/features/i386/64bit-core.c
@@ -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)
diff --git a/gdb/features/i386/64bit-linux.c b/gdb/features/i386/64bit-linux.c
index 68de9d2..661ce6b 100644
--- a/gdb/features/i386/64bit-linux.c
+++ b/gdb/features/i386/64bit-linux.c
@@ -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)
diff --git a/gdb/features/i386/64bit-mpx.c b/gdb/features/i386/64bit-mpx.c
index ce4d611..3eabc9d 100644
--- a/gdb/features/i386/64bit-mpx.c
+++ b/gdb/features/i386/64bit-mpx.c
@@ -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)
diff --git a/gdb/features/i386/64bit-pkeys.c b/gdb/features/i386/64bit-pkeys.c
index 70b88cf..83001d4 100644
--- a/gdb/features/i386/64bit-pkeys.c
+++ b/gdb/features/i386/64bit-pkeys.c
@@ -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)
diff --git a/gdb/features/i386/64bit-segments.c b/gdb/features/i386/64bit-segments.c
index b06d40f..d857170 100644
--- a/gdb/features/i386/64bit-segments.c
+++ b/gdb/features/i386/64bit-segments.c
@@ -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)
diff --git a/gdb/features/i386/64bit-sse.c b/gdb/features/i386/64bit-sse.c
index e083093..48b5aa0 100644
--- a/gdb/features/i386/64bit-sse.c
+++ b/gdb/features/i386/64bit-sse.c
@@ -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)
diff --git a/gdb/features/i386/x32-core.c b/gdb/features/i386/x32-core.c
index dd6e1a2..740eb65 100644
--- a/gdb/features/i386/x32-core.c
+++ b/gdb/features/i386/x32-core.c
@@ -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)
diff --git a/gdb/features/riscv/32bit-cpu.c b/gdb/features/riscv/32bit-cpu.c
index 64686db..26e6dc1 100644
--- a/gdb/features/riscv/32bit-cpu.c
+++ b/gdb/features/riscv/32bit-cpu.c
@@ -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)
diff --git a/gdb/features/riscv/32bit-csr.c b/gdb/features/riscv/32bit-csr.c
index 711e958..d306bc8 100644
--- a/gdb/features/riscv/32bit-csr.c
+++ b/gdb/features/riscv/32bit-csr.c
@@ -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)
diff --git a/gdb/features/riscv/32bit-fpu.c b/gdb/features/riscv/32bit-fpu.c
index a19780a..d92407f 100644
--- a/gdb/features/riscv/32bit-fpu.c
+++ b/gdb/features/riscv/32bit-fpu.c
@@ -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)
diff --git a/gdb/features/riscv/64bit-cpu.c b/gdb/features/riscv/64bit-cpu.c
index 9100898..96ecce0 100644
--- a/gdb/features/riscv/64bit-cpu.c
+++ b/gdb/features/riscv/64bit-cpu.c
@@ -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)
diff --git a/gdb/features/riscv/64bit-csr.c b/gdb/features/riscv/64bit-csr.c
index 7c77740..e46a77f 100644
--- a/gdb/features/riscv/64bit-csr.c
+++ b/gdb/features/riscv/64bit-csr.c
@@ -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)
diff --git a/gdb/features/riscv/64bit-fpu.c b/gdb/features/riscv/64bit-fpu.c
index b93cb4e..4fd8ee1 100644
--- a/gdb/features/riscv/64bit-fpu.c
+++ b/gdb/features/riscv/64bit-fpu.c
@@ -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)
diff --git a/gdb/features/tic6x-c6xp.c b/gdb/features/tic6x-c6xp.c
index bfd69d7..c295051 100644
--- a/gdb/features/tic6x-c6xp.c
+++ b/gdb/features/tic6x-c6xp.c
@@ -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)
diff --git a/gdb/features/tic6x-core.c b/gdb/features/tic6x-core.c
index 0415209..2dc9655 100644
--- a/gdb/features/tic6x-core.c
+++ b/gdb/features/tic6x-core.c
@@ -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)
diff --git a/gdb/features/tic6x-gp.c b/gdb/features/tic6x-gp.c
index 4a0734c..fcc4cbc 100644
--- a/gdb/features/tic6x-gp.c
+++ b/gdb/features/tic6x-gp.c
@@ -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)
diff --git a/gdb/filename-seen-cache.h b/gdb/filename-seen-cache.h
index 824245e..90bd564 100644
--- a/gdb/filename-seen-cache.h
+++ b/gdb/filename-seen-cache.h
@@ -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.  */
 
diff --git a/gdb/findcmd.c b/gdb/findcmd.c
index 52f8f80..5a1fa89 100644
--- a/gdb/findcmd.c
+++ b/gdb/findcmd.c
@@ -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.  */
 
diff --git a/gdb/findvar.c b/gdb/findvar.c
index e89ee37..e52ec8d 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -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
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 4c49848..edfb6a3 100644
--- a/gd[...]

[diff truncated at 100000 bytes]


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-09 13:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09 13:59 [binutils-gdb] Rename common to gdbsupport Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).