Rename common to gdbsupport
This is the next patch in the ongoing series to move gdbsever to the top level. This patch just renames the "common" directory. The idea is to do this move in two parts: first rename the directory (this patch), then move the directory to the top. This approach makes the patches a bit more tractable. I chose the name "gdbsupport" for the directory. However, as this patch was largely written by sed, we could pick a new name without too much difficulty. Tested by the buildbot. gdb/ChangeLog 2019-07-09 Tom Tromey <tom@tromey.com> * contrib/ari/gdb_ari.sh: Change common to gdbsupport. * configure: Rebuild. * configure.ac: Change common to gdbsupport. * gdbsupport: Rename from common. * acinclude.m4: Change common to gdbsupport. * Makefile.in (CONFIG_SRC_SUBDIR, COMMON_SFILES) (HFILES_NO_SRCDIR, stamp-version, ALLDEPFILES): Change common to gdbsupport. * aarch64-tdep.c, ada-lang.c, ada-lang.h, agent.c, alloc.c, amd64-darwin-tdep.c, amd64-dicos-tdep.c, amd64-fbsd-nat.c, amd64-fbsd-tdep.c, amd64-linux-nat.c, amd64-linux-tdep.c, amd64-nbsd-tdep.c, amd64-obsd-tdep.c, amd64-sol2-tdep.c, amd64-tdep.c, amd64-windows-tdep.c, arch-utils.c, arch/aarch64-insn.c, arch/aarch64.c, arch/aarch64.h, arch/amd64.c, arch/amd64.h, arch/arm-get-next-pcs.c, arch/arm-linux.c, arch/arm.c, arch/i386.c, arch/i386.h, arch/ppc-linux-common.c, arch/riscv.c, arch/riscv.h, arch/tic6x.c, arm-tdep.c, auto-load.c, auxv.c, ax-gdb.c, ax-general.c, ax.h, breakpoint.c, breakpoint.h, btrace.c, btrace.h, build-id.c, build-id.h, c-lang.h, charset.c, charset.h, cli/cli-cmds.c, cli/cli-cmds.h, cli/cli-decode.c, cli/cli-dump.c, cli/cli-option.h, cli/cli-script.c, coff-pe-read.c, command.h, compile/compile-c-support.c, compile/compile-c.h, compile/compile-cplus-symbols.c, compile/compile-cplus-types.c, compile/compile-cplus.h, compile/compile-loc2c.c, compile/compile.c, completer.c, completer.h, contrib/ari/gdb_ari.sh, corefile.c, corelow.c, cp-support.c, cp-support.h, cp-valprint.c, csky-tdep.c, ctf.c, darwin-nat.c, debug.c, defs.h, disasm-selftests.c, disasm.c, disasm.h, dtrace-probe.c, dwarf-index-cache.c, dwarf-index-cache.h, dwarf-index-write.c, dwarf2-frame.c, dwarf2expr.c, dwarf2loc.c, dwarf2read.c, event-loop.c, event-top.c, exceptions.c, exec.c, extension.h, fbsd-nat.c, features/aarch64-core.c, features/aarch64-fpu.c, features/aarch64-pauth.c, features/aarch64-sve.c, features/i386/32bit-avx.c, features/i386/32bit-avx512.c, features/i386/32bit-core.c, features/i386/32bit-linux.c, features/i386/32bit-mpx.c, features/i386/32bit-pkeys.c, features/i386/32bit-segments.c, features/i386/32bit-sse.c, features/i386/64bit-avx.c, features/i386/64bit-avx512.c, features/i386/64bit-core.c, features/i386/64bit-linux.c, features/i386/64bit-mpx.c, features/i386/64bit-pkeys.c, features/i386/64bit-segments.c, features/i386/64bit-sse.c, features/i386/x32-core.c, features/riscv/32bit-cpu.c, features/riscv/32bit-csr.c, features/riscv/32bit-fpu.c, features/riscv/64bit-cpu.c, features/riscv/64bit-csr.c, features/riscv/64bit-fpu.c, features/tic6x-c6xp.c, features/tic6x-core.c, features/tic6x-gp.c, filename-seen-cache.h, findcmd.c, findvar.c, fork-child.c, gcore.c, gdb_bfd.c, gdb_bfd.h, gdb_proc_service.h, gdb_regex.c, gdb_select.h, gdb_usleep.c, gdbarch-selftests.c, gdbthread.h, gdbtypes.h, gnu-nat.c, go32-nat.c, guile/guile.c, guile/scm-ports.c, guile/scm-safe-call.c, guile/scm-type.c, i386-fbsd-nat.c, i386-fbsd-tdep.c, i386-go32-tdep.c, i386-linux-nat.c, i386-linux-tdep.c, i386-tdep.c, i387-tdep.c, ia64-libunwind-tdep.c, ia64-linux-nat.c, inf-child.c, inf-ptrace.c, infcall.c, infcall.h, infcmd.c, inferior-iter.h, inferior.c, inferior.h, inflow.c, inflow.h, infrun.c, infrun.h, inline-frame.c, language.h, linespec.c, linux-fork.c, linux-nat.c, linux-tdep.c, linux-thread-db.c, location.c, machoread.c, macrotab.h, main.c, maint.c, maint.h, memattr.c, memrange.h, mi/mi-cmd-break.h, mi/mi-cmd-env.c, mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-interp.c, mi/mi-main.c, mi/mi-parse.h, minsyms.c, mips-linux-tdep.c, namespace.h, nat/aarch64-linux-hw-point.c, nat/aarch64-linux-hw-point.h, nat/aarch64-linux.c, nat/aarch64-sve-linux-ptrace.c, nat/amd64-linux-siginfo.c, nat/fork-inferior.c, nat/linux-btrace.c, nat/linux-btrace.h, nat/linux-namespaces.c, nat/linux-nat.h, nat/linux-osdata.c, nat/linux-personality.c, nat/linux-procfs.c, nat/linux-ptrace.c, nat/linux-ptrace.h, nat/linux-waitpid.c, nat/mips-linux-watch.c, nat/mips-linux-watch.h, nat/ppc-linux.c, nat/x86-dregs.c, nat/x86-dregs.h, nat/x86-linux-dregs.c, nat/x86-linux.c, nto-procfs.c, nto-tdep.c, objfile-flags.h, objfiles.c, objfiles.h, obsd-nat.c, observable.h, osdata.c, p-valprint.c, parse.c, parser-defs.h, ppc-linux-nat.c, printcmd.c, probe.c, proc-api.c, procfs.c, producer.c, progspace.h, psymtab.h, python/py-framefilter.c, python/py-inferior.c, python/py-ref.h, python/py-type.c, python/python.c, record-btrace.c, record-full.c, record.c, record.h, regcache-dump.c, regcache.c, regcache.h, remote-fileio.c, remote-fileio.h, remote-sim.c, remote.c, riscv-tdep.c, rs6000-aix-tdep.c, rust-exp.y, s12z-tdep.c, selftest-arch.c, ser-base.c, ser-event.c, ser-pipe.c, ser-tcp.c, ser-unix.c, skip.c, solib-aix.c, solib-target.c, solib.c, source-cache.c, source.c, source.h, sparc-nat.c, spu-linux-nat.c, stack.c, stap-probe.c, symfile-add-flags.h, symfile.c, symfile.h, symtab.c, symtab.h, target-descriptions.c, target-descriptions.h, target-memory.c, target.c, target.h, target/waitstatus.c, target/waitstatus.h, thread-iter.h, thread.c, tilegx-tdep.c, top.c, top.h, tracefile-tfile.c, tracefile.c, tracepoint.c, tracepoint.h, tui/tui-io.c, ui-file.c, ui-out.h, unittests/array-view-selftests.c, unittests/child-path-selftests.c, unittests/cli-utils-selftests.c, unittests/common-utils-selftests.c, unittests/copy_bitwise-selftests.c, unittests/environ-selftests.c, unittests/format_pieces-selftests.c, unittests/function-view-selftests.c, unittests/lookup_name_info-selftests.c, unittests/memory-map-selftests.c, unittests/memrange-selftests.c, unittests/mkdir-recursive-selftests.c, unittests/observable-selftests.c, unittests/offset-type-selftests.c, unittests/optional-selftests.c, unittests/parse-connection-spec-selftests.c, unittests/ptid-selftests.c, unittests/rsp-low-selftests.c, unittests/scoped_fd-selftests.c, unittests/scoped_mmap-selftests.c, unittests/scoped_restore-selftests.c, unittests/string_view-selftests.c, unittests/style-selftests.c, unittests/tracepoint-selftests.c, unittests/unpack-selftests.c, unittests/utils-selftests.c, unittests/xml-utils-selftests.c, utils.c, utils.h, valarith.c, valops.c, valprint.c, value.c, value.h, varobj.c, varobj.h, windows-nat.c, x86-linux-nat.c, xml-support.c, xml-support.h, xml-tdesc.h, xstormy16-tdep.c, xtensa-linux-nat.c, dwarf2read.h: Change common to gdbsupport. gdb/gdbserver/ChangeLog 2019-07-09 Tom Tromey <tom@tromey.com> * configure: Rebuild. * configure.ac: Change common to gdbsupport. * acinclude.m4: Change common to gdbsupport. * Makefile.in (SFILES, OBS, GDBREPLAY_OBS, IPA_OBJS) (version-generated.c, gdbsupport/%-ipa.o, gdbsupport/%.o): Change common to gdbsupport. * ax.c, event-loop.c, fork-child.c, gdb_proc_service.h, gdbreplay.c, gdbthread.h, hostio-errno.c, hostio.c, i387-fp.c, inferiors.c, inferiors.h, linux-aarch64-tdesc-selftest.c, linux-amd64-ipa.c, linux-i386-ipa.c, linux-low.c, linux-tic6x-low.c, linux-x86-low.c, linux-x86-tdesc-selftest.c, linux-x86-tdesc.c, lynx-i386-low.c, lynx-low.c, mem-break.h, nto-x86-low.c, regcache.c, regcache.h, remote-utils.c, server.c, server.h, spu-low.c, symbol.c, target.h, tdesc.c, tdesc.h, thread-db.c, tracepoint.c, win32-i386-low.c, win32-low.c: Change common to gdbsupport.
This commit is contained in:
parent
5b0e2db4fa
commit
268a13a5a3
488 changed files with 1038 additions and 903 deletions
116
gdb/ChangeLog
116
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>
|
2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
* linespec.c (decode_digits_list_mode): Set explicit_line to a
|
* linespec.c (decode_digits_list_mode): Set explicit_line to a
|
||||||
|
|
146
gdb/Makefile.in
146
gdb/Makefile.in
|
@ -529,7 +529,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@
|
||||||
CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
|
CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
|
||||||
HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
|
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
|
target nat
|
||||||
CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
|
CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
|
||||||
|
|
||||||
|
@ -948,35 +948,35 @@ COMMON_SFILES = \
|
||||||
cli-out.c \
|
cli-out.c \
|
||||||
coff-pe-read.c \
|
coff-pe-read.c \
|
||||||
coffread.c \
|
coffread.c \
|
||||||
common/agent.c \
|
gdbsupport/agent.c \
|
||||||
common/btrace-common.c \
|
gdbsupport/btrace-common.c \
|
||||||
common/buffer.c \
|
gdbsupport/buffer.c \
|
||||||
common/cleanups.c \
|
gdbsupport/cleanups.c \
|
||||||
common/common-debug.c \
|
gdbsupport/common-debug.c \
|
||||||
common/common-exceptions.c \
|
gdbsupport/common-exceptions.c \
|
||||||
common/common-regcache.c \
|
gdbsupport/common-regcache.c \
|
||||||
common/common-utils.c \
|
gdbsupport/common-utils.c \
|
||||||
common/errors.c \
|
gdbsupport/errors.c \
|
||||||
common/environ.c \
|
gdbsupport/environ.c \
|
||||||
common/fileio.c \
|
gdbsupport/fileio.c \
|
||||||
common/filestuff.c \
|
gdbsupport/filestuff.c \
|
||||||
common/format.c \
|
gdbsupport/format.c \
|
||||||
common/job-control.c \
|
gdbsupport/job-control.c \
|
||||||
common/gdb_tilde_expand.c \
|
gdbsupport/gdb_tilde_expand.c \
|
||||||
common/gdb_vecs.c \
|
gdbsupport/gdb_vecs.c \
|
||||||
common/netstuff.c \
|
gdbsupport/netstuff.c \
|
||||||
common/new-op.c \
|
gdbsupport/new-op.c \
|
||||||
common/pathstuff.c \
|
gdbsupport/pathstuff.c \
|
||||||
common/print-utils.c \
|
gdbsupport/print-utils.c \
|
||||||
common/ptid.c \
|
gdbsupport/ptid.c \
|
||||||
common/rsp-low.c \
|
gdbsupport/rsp-low.c \
|
||||||
common/run-time-clock.c \
|
gdbsupport/run-time-clock.c \
|
||||||
common/scoped_mmap.c \
|
gdbsupport/scoped_mmap.c \
|
||||||
common/signals.c \
|
gdbsupport/signals.c \
|
||||||
common/signals-state-save-restore.c \
|
gdbsupport/signals-state-save-restore.c \
|
||||||
common/tdesc.c \
|
gdbsupport/tdesc.c \
|
||||||
common/vec.c \
|
gdbsupport/vec.c \
|
||||||
common/xml-utils.c \
|
gdbsupport/xml-utils.c \
|
||||||
complaints.c \
|
complaints.c \
|
||||||
completer.c \
|
completer.c \
|
||||||
continuations.c \
|
continuations.c \
|
||||||
|
@ -1442,45 +1442,45 @@ HFILES_NO_SRCDIR = \
|
||||||
cli/cli-setshow.h \
|
cli/cli-setshow.h \
|
||||||
cli/cli-style.h \
|
cli/cli-style.h \
|
||||||
cli/cli-utils.h \
|
cli/cli-utils.h \
|
||||||
common/buffer.h \
|
gdbsupport/buffer.h \
|
||||||
common/cleanups.h \
|
gdbsupport/cleanups.h \
|
||||||
common/common-debug.h \
|
gdbsupport/common-debug.h \
|
||||||
common/common-defs.h \
|
gdbsupport/common-defs.h \
|
||||||
common/common-exceptions.h \
|
gdbsupport/common-exceptions.h \
|
||||||
common/common-gdbthread.h \
|
gdbsupport/common-gdbthread.h \
|
||||||
common/common-regcache.h \
|
gdbsupport/common-regcache.h \
|
||||||
common/common-types.h \
|
gdbsupport/common-types.h \
|
||||||
common/common-utils.h \
|
gdbsupport/common-utils.h \
|
||||||
common/job-control.h \
|
gdbsupport/job-control.h \
|
||||||
common/errors.h \
|
gdbsupport/errors.h \
|
||||||
common/environ.h \
|
gdbsupport/environ.h \
|
||||||
common/fileio.h \
|
gdbsupport/fileio.h \
|
||||||
common/format.h \
|
gdbsupport/format.h \
|
||||||
common/gdb_assert.h \
|
gdbsupport/gdb_assert.h \
|
||||||
common/gdb_tilde_expand.h \
|
gdbsupport/gdb_tilde_expand.h \
|
||||||
common/gdb_locale.h \
|
gdbsupport/gdb_locale.h \
|
||||||
common/gdb_proc_service.h \
|
gdbsupport/gdb_proc_service.h \
|
||||||
common/gdb_setjmp.h \
|
gdbsupport/gdb_setjmp.h \
|
||||||
common/gdb_signals.h \
|
gdbsupport/gdb_signals.h \
|
||||||
common/gdb_sys_time.h \
|
gdbsupport/gdb_sys_time.h \
|
||||||
common/gdb_vecs.h \
|
gdbsupport/gdb_vecs.h \
|
||||||
common/gdb_wait.h \
|
gdbsupport/gdb_wait.h \
|
||||||
common/common-inferior.h \
|
gdbsupport/common-inferior.h \
|
||||||
common/netstuff.h \
|
gdbsupport/netstuff.h \
|
||||||
common/host-defs.h \
|
gdbsupport/host-defs.h \
|
||||||
common/pathstuff.h \
|
gdbsupport/pathstuff.h \
|
||||||
common/print-utils.h \
|
gdbsupport/print-utils.h \
|
||||||
common/ptid.h \
|
gdbsupport/ptid.h \
|
||||||
common/queue.h \
|
gdbsupport/queue.h \
|
||||||
common/rsp-low.h \
|
gdbsupport/rsp-low.h \
|
||||||
common/run-time-clock.h \
|
gdbsupport/run-time-clock.h \
|
||||||
common/signals-state-save-restore.h \
|
gdbsupport/signals-state-save-restore.h \
|
||||||
common/symbol.h \
|
gdbsupport/symbol.h \
|
||||||
common/tdesc.h \
|
gdbsupport/tdesc.h \
|
||||||
common/vec.h \
|
gdbsupport/vec.h \
|
||||||
common/version.h \
|
gdbsupport/version.h \
|
||||||
common/x86-xstate.h \
|
gdbsupport/x86-xstate.h \
|
||||||
common/xml-utils.h \
|
gdbsupport/xml-utils.h \
|
||||||
compile/compile.h \
|
compile/compile.h \
|
||||||
compile/compile-c.h \
|
compile/compile-c.h \
|
||||||
compile/compile-cplus.h \
|
compile/compile-cplus.h \
|
||||||
|
@ -2109,8 +2109,8 @@ $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ $(srcdir)/../COPYING3 $(srcdir)/copy
|
||||||
version.c: stamp-version; @true
|
version.c: stamp-version; @true
|
||||||
# Note that the obvious names for the temp file are taken by
|
# Note that the obvious names for the temp file are taken by
|
||||||
# create-version.sh.
|
# create-version.sh.
|
||||||
stamp-version: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/common/create-version.sh
|
stamp-version: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/gdbsupport/create-version.sh
|
||||||
$(ECHO_GEN) $(SHELL) $(srcdir)/common/create-version.sh $(srcdir) \
|
$(ECHO_GEN) $(SHELL) $(srcdir)/gdbsupport/create-version.sh $(srcdir) \
|
||||||
$(host_alias) $(target_alias) version-t.t
|
$(host_alias) $(target_alias) version-t.t
|
||||||
@$(SHELL) $(srcdir)/../move-if-change version-t.t version.c
|
@$(SHELL) $(srcdir)/../move-if-change version-t.t version.c
|
||||||
@echo stamp > stamp-version
|
@echo stamp > stamp-version
|
||||||
|
@ -2344,8 +2344,8 @@ ALLDEPFILES = \
|
||||||
xtensa-linux-tdep.c \
|
xtensa-linux-tdep.c \
|
||||||
xtensa-tdep.c \
|
xtensa-tdep.c \
|
||||||
xtensa-xtregs.c \
|
xtensa-xtregs.c \
|
||||||
common/mingw-strerror.c \
|
gdbsupport/mingw-strerror.c \
|
||||||
common/posix-strerror.c
|
gdbsupport/posix-strerror.c
|
||||||
|
|
||||||
# Some files need explicit build rules (due to -Werror problems) or due
|
# Some files need explicit build rules (due to -Werror problems) or due
|
||||||
# to sub-directory fun 'n' games.
|
# to sub-directory fun 'n' games.
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "infcall.h"
|
#include "infcall.h"
|
||||||
#include "ax.h"
|
#include "ax.h"
|
||||||
#include "ax-gdb.h"
|
#include "ax-gdb.h"
|
||||||
#include "common/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
|
|
||||||
#include "aarch64-tdep.h"
|
#include "aarch64-tdep.h"
|
||||||
#include "aarch64-ravenscar-thread.h"
|
#include "aarch64-ravenscar-thread.h"
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
#include "elf-bfd.h"
|
#include "elf-bfd.h"
|
||||||
#include "elf/aarch64.h"
|
#include "elf/aarch64.h"
|
||||||
|
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
|
|
||||||
#include "record.h"
|
#include "record.h"
|
||||||
#include "record-full.h"
|
#include "record-full.h"
|
||||||
|
|
|
@ -66,7 +66,7 @@ sinclude([../config/iconv.m4])
|
||||||
|
|
||||||
sinclude([../config/zlib.m4])
|
sinclude([../config/zlib.m4])
|
||||||
|
|
||||||
m4_include([common/common.m4])
|
m4_include([gdbsupport/common.m4])
|
||||||
|
|
||||||
dnl For libiberty_INIT.
|
dnl For libiberty_INIT.
|
||||||
m4_include(libiberty.m4)
|
m4_include(libiberty.m4)
|
||||||
|
|
|
@ -49,9 +49,9 @@
|
||||||
#include "valprint.h"
|
#include "valprint.h"
|
||||||
#include "source.h"
|
#include "source.h"
|
||||||
#include "observable.h"
|
#include "observable.h"
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
#include "stack.h"
|
#include "stack.h"
|
||||||
#include "common/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include "typeprint.h"
|
#include "typeprint.h"
|
||||||
#include "namespace.h"
|
#include "namespace.h"
|
||||||
|
|
||||||
|
@ -60,8 +60,8 @@
|
||||||
#include "mi/mi-common.h"
|
#include "mi/mi-common.h"
|
||||||
#include "arch-utils.h"
|
#include "arch-utils.h"
|
||||||
#include "cli/cli-utils.h"
|
#include "cli/cli-utils.h"
|
||||||
#include "common/function-view.h"
|
#include "gdbsupport/function-view.h"
|
||||||
#include "common/byte-vector.h"
|
#include "gdbsupport/byte-vector.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ struct parser_state;
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
#include "gdbtypes.h"
|
#include "gdbtypes.h"
|
||||||
#include "breakpoint.h"
|
#include "breakpoint.h"
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
|
|
||||||
/* Names of specific files known to be part of the runtime
|
/* Names of specific files known to be part of the runtime
|
||||||
system and that might consider (confusing) debugging information.
|
system and that might consider (confusing) debugging information.
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
#include "common/agent.h"
|
#include "gdbsupport/agent.h"
|
||||||
|
|
||||||
/* Enum strings for "set|show agent". */
|
/* Enum strings for "set|show agent". */
|
||||||
|
|
||||||
|
|
|
@ -34,9 +34,9 @@
|
||||||
GDBSERVER define when possible, and for this file it seemed
|
GDBSERVER define when possible, and for this file it seemed
|
||||||
simple to do so. */
|
simple to do so. */
|
||||||
|
|
||||||
#include "common/common-defs.h"
|
#include "gdbsupport/common-defs.h"
|
||||||
#include "libiberty.h"
|
#include "libiberty.h"
|
||||||
#include "common/errors.h"
|
#include "gdbsupport/errors.h"
|
||||||
|
|
||||||
/* The xmalloc() (libiberty.h) family of memory management routines.
|
/* The xmalloc() (libiberty.h) family of memory management routines.
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
|
|
||||||
#include "i387-tdep.h"
|
#include "i387-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
#include "ui-out.h"
|
#include "ui-out.h"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include "dicos-tdep.h"
|
#include "dicos-tdep.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include "amd64-nat.h"
|
#include "amd64-nat.h"
|
||||||
#include "amd64-bsd-nat.h"
|
#include "amd64-bsd-nat.h"
|
||||||
#include "x86-nat.h"
|
#include "x86-nat.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
|
|
||||||
|
|
||||||
class amd64_fbsd_nat_target final
|
class amd64_fbsd_nat_target final
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
#include "regset.h"
|
#include "regset.h"
|
||||||
#include "i386-fbsd-tdep.h"
|
#include "i386-fbsd-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
|
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "fbsd-tdep.h"
|
#include "fbsd-tdep.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "amd64-linux-tdep.h"
|
#include "amd64-linux-tdep.h"
|
||||||
#include "i386-linux-tdep.h"
|
#include "i386-linux-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
|
|
||||||
#include "x86-linux-nat.h"
|
#include "x86-linux-nat.h"
|
||||||
#include "nat/linux-ptrace.h"
|
#include "nat/linux-ptrace.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "amd64-linux-tdep.h"
|
#include "amd64-linux-tdep.h"
|
||||||
#include "i386-linux-tdep.h"
|
#include "i386-linux-tdep.h"
|
||||||
#include "linux-tdep.h"
|
#include "linux-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
|
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
|
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include "nbsd-tdep.h"
|
#include "nbsd-tdep.h"
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "obsd-tdep.h"
|
#include "obsd-tdep.h"
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "i387-tdep.h"
|
#include "i387-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
#include "bsd-uthread.h"
|
#include "bsd-uthread.h"
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "sol2-tdep.h"
|
#include "sol2-tdep.h"
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
|
|
||||||
/* Mapping between the general-purpose registers in gregset_t format
|
/* Mapping between the general-purpose registers in gregset_t format
|
||||||
|
|
|
@ -39,14 +39,14 @@
|
||||||
#include "disasm.h"
|
#include "disasm.h"
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "i387-tdep.h"
|
#include "i387-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "target-descriptions.h"
|
#include "target-descriptions.h"
|
||||||
#include "arch/amd64.h"
|
#include "arch/amd64.h"
|
||||||
#include "producer.h"
|
#include "producer.h"
|
||||||
#include "ax.h"
|
#include "ax.h"
|
||||||
#include "ax-gdb.h"
|
#include "ax-gdb.h"
|
||||||
#include "common/byte-vector.h"
|
#include "gdbsupport/byte-vector.h"
|
||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
#include "x86-tdep.h"
|
#include "x86-tdep.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
#include "amd64-tdep.h"
|
#include "amd64-tdep.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include "gdbtypes.h"
|
#include "gdbtypes.h"
|
||||||
#include "gdbcore.h"
|
#include "gdbcore.h"
|
||||||
#include "regcache.h"
|
#include "regcache.h"
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
|
|
||||||
#include "common/version.h"
|
#include "gdbsupport/version.h"
|
||||||
|
|
||||||
#include "floatformat.h"
|
#include "floatformat.h"
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
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"
|
#include "aarch64-insn.h"
|
||||||
|
|
||||||
/* Toggle this file's internal debugging dump. */
|
/* Toggle this file's internal debugging dump. */
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
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 "aarch64.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef ARCH_AARCH64_H
|
#ifndef ARCH_AARCH64_H
|
||||||
#define 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
|
/* 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
|
the presence of SVE and the Vector Quotient - the number of 128bit chunks in
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
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 "amd64.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "../features/i386/64bit-avx.c"
|
#include "../features/i386/64bit-avx.c"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#ifndef ARCH_AMD64_H
|
#ifndef ARCH_AMD64_H
|
||||||
#define ARCH_AMD64_H
|
#define ARCH_AMD64_H
|
||||||
|
|
||||||
#include "common/tdesc.h"
|
#include "gdbsupport/tdesc.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
target_desc *amd64_create_target_description (uint64_t xcr0, bool is_x32,
|
target_desc *amd64_create_target_description (uint64_t xcr0, bool is_x32,
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "common/common-defs.h"
|
#include "gdbsupport/common-defs.h"
|
||||||
#include "common/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include "common/common-regcache.h"
|
#include "gdbsupport/common-regcache.h"
|
||||||
#include "arm.h"
|
#include "arm.h"
|
||||||
#include "arm-get-next-pcs.h"
|
#include "arm-get-next-pcs.h"
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "common/common-defs.h"
|
#include "gdbsupport/common-defs.h"
|
||||||
#include "common/common-regcache.h"
|
#include "gdbsupport/common-regcache.h"
|
||||||
#include "arch/arm.h"
|
#include "arch/arm.h"
|
||||||
#include "arm-linux.h"
|
#include "arm-linux.h"
|
||||||
#include "arch/arm-get-next-pcs.h"
|
#include "arch/arm-get-next-pcs.h"
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "common/common-defs.h"
|
#include "gdbsupport/common-defs.h"
|
||||||
#include "common/common-regcache.h"
|
#include "gdbsupport/common-regcache.h"
|
||||||
#include "arm.h"
|
#include "arm.h"
|
||||||
|
|
||||||
/* See arm.h. */
|
/* See arm.h. */
|
||||||
|
|
|
@ -15,10 +15,10 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
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 "i386.h"
|
||||||
#include "common/tdesc.h"
|
#include "gdbsupport/tdesc.h"
|
||||||
#include "common/x86-xstate.h"
|
#include "gdbsupport/x86-xstate.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "../features/i386/32bit-core.c"
|
#include "../features/i386/32bit-core.c"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#ifndef ARCH_I386_H
|
#ifndef ARCH_I386_H
|
||||||
#define ARCH_I386_H
|
#define ARCH_I386_H
|
||||||
|
|
||||||
#include "common/tdesc.h"
|
#include "gdbsupport/tdesc.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
target_desc *i386_create_target_description (uint64_t xcr0, bool is_linux,
|
target_desc *i386_create_target_description (uint64_t xcr0, bool is_linux,
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
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-common.h"
|
||||||
#include "arch/ppc-linux-tdesc.h"
|
#include "arch/ppc-linux-tdesc.h"
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
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 "riscv.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef ARCH_RISCV_H
|
#ifndef ARCH_RISCV_H
|
||||||
#define 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
|
/* 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
|
we configure the actual gdbarch instance. We hold one of these in the
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "common/tdesc.h"
|
#include "gdbsupport/tdesc.h"
|
||||||
#include "tic6x.h"
|
#include "tic6x.h"
|
||||||
#include "common/common-defs.h"
|
#include "gdbsupport/common-defs.h"
|
||||||
|
|
||||||
#include "../features/tic6x-core.c"
|
#include "../features/tic6x-core.c"
|
||||||
#include "../features/tic6x-gp.c"
|
#include "../features/tic6x-gp.c"
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
#include "coff/internal.h"
|
#include "coff/internal.h"
|
||||||
#include "elf/arm.h"
|
#include "elf/arm.h"
|
||||||
|
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
|
|
||||||
#include "record.h"
|
#include "record.h"
|
||||||
#include "record-full.h"
|
#include "record-full.h"
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
#include "features/arm/arm-with-neon.c"
|
#include "features/arm/arm-with-neon.c"
|
||||||
|
|
||||||
#if GDB_SELF_TEST
|
#if GDB_SELF_TEST
|
||||||
#include "common/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int arm_debug;
|
static int arm_debug;
|
||||||
|
|
|
@ -36,11 +36,11 @@
|
||||||
#include "completer.h"
|
#include "completer.h"
|
||||||
#include "fnmatch.h"
|
#include "fnmatch.h"
|
||||||
#include "top.h"
|
#include "top.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "extension.h"
|
#include "extension.h"
|
||||||
#include "gdb/section-scripts.h"
|
#include "gdb/section-scripts.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "common/pathstuff.h"
|
#include "gdbsupport/pathstuff.h"
|
||||||
|
|
||||||
/* The section to look in for auto-loaded scripts (in file formats that
|
/* The section to look in for auto-loaded scripts (in file formats that
|
||||||
support sections).
|
support sections).
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "valprint.h"
|
#include "valprint.h"
|
||||||
#include "gdbcore.h"
|
#include "gdbcore.h"
|
||||||
#include "observable.h"
|
#include "observable.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
|
|
||||||
#include "auxv.h"
|
#include "auxv.h"
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
#include "valprint.h"
|
#include "valprint.h"
|
||||||
#include "c-lang.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.
|
/* 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,
|
Then look at the types and enums in ax-gdb.h. For the code itself,
|
||||||
|
|
|
@ -353,7 +353,7 @@ struct aop_map aop_map[] =
|
||||||
{0, 0, 0, 0, 0}
|
{0, 0, 0, 0, 0}
|
||||||
#define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE) \
|
#define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE) \
|
||||||
, { # NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED }
|
, { # NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED }
|
||||||
#include "common/ax.def"
|
#include "gdbsupport/ax.def"
|
||||||
#undef DEFOP
|
#undef DEFOP
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
4
gdb/ax.h
4
gdb/ax.h
|
@ -19,7 +19,7 @@
|
||||||
#ifndef AX_H
|
#ifndef AX_H
|
||||||
#define 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
|
/* 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
|
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) \
|
#define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE) \
|
||||||
aop_ ## NAME = VALUE,
|
aop_ ## NAME = VALUE,
|
||||||
#include "common/ax.def"
|
#include "gdbsupport/ax.def"
|
||||||
#undef DEFOP
|
#undef DEFOP
|
||||||
aop_last
|
aop_last
|
||||||
};
|
};
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
#include "ax-gdb.h"
|
#include "ax-gdb.h"
|
||||||
#include "dummy-frame.h"
|
#include "dummy-frame.h"
|
||||||
#include "interps.h"
|
#include "interps.h"
|
||||||
#include "common/format.h"
|
#include "gdbsupport/format.h"
|
||||||
#include "thread-fsm.h"
|
#include "thread-fsm.h"
|
||||||
#include "tid-parse.h"
|
#include "tid-parse.h"
|
||||||
#include "cli/cli-style.h"
|
#include "cli/cli-style.h"
|
||||||
|
@ -82,8 +82,8 @@
|
||||||
#include "extension.h"
|
#include "extension.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "progspace-and-thread.h"
|
#include "progspace-and-thread.h"
|
||||||
#include "common/array-view.h"
|
#include "gdbsupport/array-view.h"
|
||||||
#include "common/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
|
|
||||||
/* Prototypes for local functions. */
|
/* Prototypes for local functions. */
|
||||||
|
|
||||||
|
|
|
@ -21,14 +21,14 @@
|
||||||
|
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
#include "ax.h"
|
#include "ax.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "common/break-common.h"
|
#include "gdbsupport/break-common.h"
|
||||||
#include "probe.h"
|
#include "probe.h"
|
||||||
#include "location.h"
|
#include "location.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "common/array-view.h"
|
#include "gdbsupport/array-view.h"
|
||||||
#include "cli/cli-script.h"
|
#include "cli/cli-script.h"
|
||||||
|
|
||||||
struct block;
|
struct block;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include "filenames.h"
|
#include "filenames.h"
|
||||||
#include "xml-support.h"
|
#include "xml-support.h"
|
||||||
#include "regcache.h"
|
#include "regcache.h"
|
||||||
#include "common/rsp-low.h"
|
#include "gdbsupport/rsp-low.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "cli/cli-utils.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));
|
gdb::unique_xmalloc_ptr<gdb_byte> data ((gdb_byte *) xmalloc (size));
|
||||||
bin = data.get ();
|
bin = data.get ();
|
||||||
|
|
||||||
/* We use hex encoding - see common/rsp-low.h. */
|
/* We use hex encoding - see gdbsupport/rsp-low.h. */
|
||||||
while (len > 0)
|
while (len > 0)
|
||||||
{
|
{
|
||||||
char hi, lo;
|
char hi, lo;
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
inferior. For presentation purposes, the branch trace is represented as a
|
inferior. For presentation purposes, the branch trace is represented as a
|
||||||
list of sequential control-flow blocks, one such list per thread. */
|
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 "target/waitstatus.h" /* For enum target_stop_reason. */
|
||||||
#include "common/enum-flags.h"
|
#include "gdbsupport/enum-flags.h"
|
||||||
|
|
||||||
#if defined (HAVE_LIBIPT)
|
#if defined (HAVE_LIBIPT)
|
||||||
# include <intel-pt.h>
|
# include <intel-pt.h>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
#include "gdb_bfd.h"
|
#include "gdb_bfd.h"
|
||||||
#include "build-id.h"
|
#include "build-id.h"
|
||||||
#include "common/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include "symfile.h"
|
#include "symfile.h"
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "filenames.h"
|
#include "filenames.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#define BUILD_ID_H
|
#define BUILD_ID_H
|
||||||
|
|
||||||
#include "gdb_bfd.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. */
|
/* Locate NT_GNU_BUILD_ID from ABFD and return its content. */
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ struct parser_state;
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
#include "macroexp.h"
|
#include "macroexp.h"
|
||||||
#include "parser-defs.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
|
/* The various kinds of C string and character. Note that these
|
||||||
|
|
|
@ -21,12 +21,12 @@
|
||||||
#include "charset.h"
|
#include "charset.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "gdb_obstack.h"
|
#include "gdb_obstack.h"
|
||||||
#include "common/gdb_wait.h"
|
#include "gdbsupport/gdb_wait.h"
|
||||||
#include "charset-list.h"
|
#include "charset-list.h"
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
#include "common/environ.h"
|
#include "gdbsupport/environ.h"
|
||||||
#include "arch-utils.h"
|
#include "arch-utils.h"
|
||||||
#include "common/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#ifdef USE_WIN32API
|
#ifdef USE_WIN32API
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef CHARSET_H
|
#ifndef CHARSET_H
|
||||||
#define 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,
|
/* If the target program uses a different character set than the host,
|
||||||
GDB has some support for translating between the two; GDB converts
|
GDB has some support for translating between the two; GDB converts
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "readline/tilde.h"
|
#include "readline/tilde.h"
|
||||||
#include "completer.h"
|
#include "completer.h"
|
||||||
#include "target.h" /* For baud_rate, remote_debug and remote_timeout. */
|
#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 "gdbcmd.h"
|
||||||
#include "gdb_regex.h" /* Used by apropos_command. */
|
#include "gdb_regex.h" /* Used by apropos_command. */
|
||||||
#include "gdb_vfork.h"
|
#include "gdb_vfork.h"
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
#include "source.h"
|
#include "source.h"
|
||||||
#include "disasm.h"
|
#include "disasm.h"
|
||||||
#include "tracepoint.h"
|
#include "tracepoint.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "location.h"
|
#include "location.h"
|
||||||
#include "block.h"
|
#include "block.h"
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
#include "cli/cli-utils.h"
|
#include "cli/cli-utils.h"
|
||||||
|
|
||||||
#include "extension.h"
|
#include "extension.h"
|
||||||
#include "common/pathstuff.h"
|
#include "gdbsupport/pathstuff.h"
|
||||||
|
|
||||||
#ifdef TUI
|
#ifdef TUI
|
||||||
#include "tui/tui.h" /* For tui_active et.al. */
|
#include "tui/tui.h" /* For tui_active et.al. */
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
#ifndef CLI_CLI_CMDS_H
|
#ifndef CLI_CLI_CMDS_H
|
||||||
#define CLI_CLI_CMDS_H
|
#define CLI_CLI_CMDS_H
|
||||||
|
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "common/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
|
|
||||||
/* Chain containing all defined commands. */
|
/* Chain containing all defined commands. */
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "cli/cli-cmds.h"
|
#include "cli/cli-cmds.h"
|
||||||
#include "cli/cli-decode.h"
|
#include "cli/cli-decode.h"
|
||||||
#include "cli/cli-style.h"
|
#include "cli/cli-style.h"
|
||||||
#include "common/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
|
|
||||||
/* Prototypes for local functions. */
|
/* Prototypes for local functions. */
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
#include "gdbcore.h"
|
#include "gdbcore.h"
|
||||||
#include "cli/cli-utils.h"
|
#include "cli/cli-utils.h"
|
||||||
#include "gdb_bfd.h"
|
#include "gdb_bfd.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "common/byte-vector.h"
|
#include "gdbsupport/byte-vector.h"
|
||||||
|
|
||||||
static gdb::unique_xmalloc_ptr<char>
|
static gdb::unique_xmalloc_ptr<char>
|
||||||
scan_expression (const char **cmd, const char *def)
|
scan_expression (const char **cmd, const char *def)
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
#ifndef CLI_OPTION_H
|
#ifndef CLI_OPTION_H
|
||||||
#define CLI_OPTION_H 1
|
#define CLI_OPTION_H 1
|
||||||
|
|
||||||
#include "common/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
#include "common/array-view.h"
|
#include "gdbsupport/array-view.h"
|
||||||
#include "completer.h"
|
#include "completer.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "extension.h"
|
#include "extension.h"
|
||||||
#include "interps.h"
|
#include "interps.h"
|
||||||
#include "compile/compile.h"
|
#include "compile/compile.h"
|
||||||
#include "common/gdb_string_view.h"
|
#include "gdbsupport/gdb_string_view.h"
|
||||||
#include "python/python.h"
|
#include "python/python.h"
|
||||||
#include "guile/guile.h"
|
#include "guile/guile.h"
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "symfile.h"
|
#include "symfile.h"
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "common/common-utils.h"
|
#include "gdbsupport/common-utils.h"
|
||||||
#include "coff/internal.h"
|
#include "coff/internal.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
#if !defined (COMMAND_H)
|
#if !defined (COMMAND_H)
|
||||||
#define COMMAND_H 1
|
#define COMMAND_H 1
|
||||||
|
|
||||||
#include "common/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include "common/scoped_restore.h"
|
#include "gdbsupport/scoped_restore.h"
|
||||||
|
|
||||||
struct completion_tracker;
|
struct completion_tracker;
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
#include "macrotab.h"
|
#include "macrotab.h"
|
||||||
#include "macroscope.h"
|
#include "macroscope.h"
|
||||||
#include "regcache.h"
|
#include "regcache.h"
|
||||||
#include "common/function-view.h"
|
#include "gdbsupport/function-view.h"
|
||||||
#include "common/preprocessor.h"
|
#include "gdbsupport/preprocessor.h"
|
||||||
|
|
||||||
/* See compile-internal.h. */
|
/* See compile-internal.h. */
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef COMPILE_COMPILE_C_H
|
#ifndef COMPILE_COMPILE_C_H
|
||||||
#define COMPILE_COMPILE_C_H
|
#define COMPILE_COMPILE_C_H
|
||||||
|
|
||||||
#include "common/enum-flags.h"
|
#include "gdbsupport/enum-flags.h"
|
||||||
#include "gcc-c-plugin.h"
|
#include "gcc-c-plugin.h"
|
||||||
|
|
||||||
/* enum-flags wrapper. */
|
/* enum-flags wrapper. */
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "compile-internal.h"
|
#include "compile-internal.h"
|
||||||
#include "compile-cplus.h"
|
#include "compile-cplus.h"
|
||||||
#include "common/gdb_assert.h"
|
#include "gdbsupport/gdb_assert.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "parser-defs.h"
|
#include "parser-defs.h"
|
||||||
#include "block.h"
|
#include "block.h"
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
|
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "common/preprocessor.h"
|
#include "gdbsupport/preprocessor.h"
|
||||||
#include "gdbtypes.h"
|
#include "gdbtypes.h"
|
||||||
#include "compile-internal.h"
|
#include "compile-internal.h"
|
||||||
#include "compile-cplus.h"
|
#include "compile-cplus.h"
|
||||||
#include "common/gdb_assert.h"
|
#include "gdbsupport/gdb_assert.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "source.h"
|
#include "source.h"
|
||||||
#include "cp-support.h"
|
#include "cp-support.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef COMPILE_COMPILE_CPLUS_H
|
#ifndef COMPILE_COMPILE_CPLUS_H
|
||||||
#define COMPILE_COMPILE_CPLUS_H
|
#define COMPILE_COMPILE_CPLUS_H
|
||||||
|
|
||||||
#include "common/enum-flags.h"
|
#include "gdbsupport/enum-flags.h"
|
||||||
#include "gcc-cp-plugin.h"
|
#include "gcc-cp-plugin.h"
|
||||||
|
|
||||||
struct type;
|
struct type;
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "compile.h"
|
#include "compile.h"
|
||||||
#include "block.h"
|
#include "block.h"
|
||||||
#include "dwarf2-frame.h"
|
#include "dwarf2-frame.h"
|
||||||
#include "common/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,14 +35,14 @@
|
||||||
#include "source.h"
|
#include "source.h"
|
||||||
#include "block.h"
|
#include "block.h"
|
||||||
#include "arch-utils.h"
|
#include "arch-utils.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
#include "common/gdb_wait.h"
|
#include "gdbsupport/gdb_wait.h"
|
||||||
#include "valprint.h"
|
#include "valprint.h"
|
||||||
#include "common/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
#include "common/gdb_unlinker.h"
|
#include "gdbsupport/gdb_unlinker.h"
|
||||||
#include "common/pathstuff.h"
|
#include "gdbsupport/pathstuff.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include "expression.h"
|
#include "expression.h"
|
||||||
#include "filenames.h" /* For DOSish file names. */
|
#include "filenames.h" /* For DOSish file names. */
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "common/gdb_signals.h"
|
#include "gdbsupport/gdb_signals.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
#include "reggroups.h"
|
#include "reggroups.h"
|
||||||
#include "user-regs.h"
|
#include "user-regs.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#if !defined (COMPLETER_H)
|
#if !defined (COMPLETER_H)
|
||||||
#define COMPLETER_H 1
|
#define COMPLETER_H 1
|
||||||
|
|
||||||
#include "common/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
/* Types of functions in struct match_list_displayer. */
|
/* Types of functions in struct match_list_displayer. */
|
||||||
|
|
6
gdb/configure
vendored
6
gdb/configure
vendored
|
@ -6545,7 +6545,7 @@ fi
|
||||||
. $srcdir/configure.host
|
. $srcdir/configure.host
|
||||||
|
|
||||||
# Add in the common host objects.
|
# Add in the common host objects.
|
||||||
. $srcdir/common/common.host
|
. $srcdir/gdbsupport/common.host
|
||||||
gdb_host_obs="$gdb_host_obs $common_host_obs"
|
gdb_host_obs="$gdb_host_obs $common_host_obs"
|
||||||
|
|
||||||
# Accumulate some settings from configure.tgt over all enabled targets
|
# 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
|
$as_echo "#define GDB_SELF_TEST 1" >>confdefs.h
|
||||||
|
|
||||||
|
|
||||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) common/selftest.o selftest-arch.o"
|
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) gdbsupport/selftest.o selftest-arch.o"
|
||||||
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) common/selftest.c selftest-arch.c"
|
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) gdbsupport/selftest.c selftest-arch.c"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -178,7 +178,7 @@ fi
|
||||||
. $srcdir/configure.host
|
. $srcdir/configure.host
|
||||||
|
|
||||||
# Add in the common host objects.
|
# Add in the common host objects.
|
||||||
. $srcdir/common/common.host
|
. $srcdir/gdbsupport/common.host
|
||||||
gdb_host_obs="$gdb_host_obs $common_host_obs"
|
gdb_host_obs="$gdb_host_obs $common_host_obs"
|
||||||
|
|
||||||
# Accumulate some settings from configure.tgt over all enabled targets
|
# 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.])
|
[Define to be a string naming the default host character set.])
|
||||||
|
|
||||||
GDB_AC_SELFTEST([
|
GDB_AC_SELFTEST([
|
||||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) common/selftest.o selftest-arch.o"
|
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) gdbsupport/selftest.o selftest-arch.o"
|
||||||
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) common/selftest.c selftest-arch.c"
|
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) gdbsupport/selftest.c selftest-arch.c"
|
||||||
])
|
])
|
||||||
|
|
||||||
GDB_AC_TRANSFORM([gdb], [GDB_TRANSFORM_NAME])
|
GDB_AC_TRANSFORM([gdb], [GDB_TRANSFORM_NAME])
|
||||||
|
|
|
@ -334,7 +334,7 @@ Do not include gnu-regex.h, instead include gdb_regex.h"
|
||||||
|
|
||||||
BEGIN { doc["wait.h"] = "\
|
BEGIN { doc["wait.h"] = "\
|
||||||
Do not include wait.h or sys/wait.h, instead include gdb_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
|
category["wait.h"] = ari_regression
|
||||||
}
|
}
|
||||||
/^#[[:space:]]*include[[:space:]]*.wait\.h./ \
|
/^#[[:space:]]*include[[:space:]]*.wait\.h./ \
|
||||||
|
@ -446,7 +446,7 @@ Do not use PARAMS(), ISO C 90 implies prototypes"
|
||||||
BEGIN { doc["__func__"] = "\
|
BEGIN { doc["__func__"] = "\
|
||||||
Do not use __func__, ISO C 90 does not support this macro"
|
Do not use __func__, ISO C 90 does not support this macro"
|
||||||
category["__func__"] = ari_regression
|
category["__func__"] = ari_regression
|
||||||
fix("__func__", "common/gdb_assert.h", 1)
|
fix("__func__", "gdbsupport/gdb_assert.h", 1)
|
||||||
}
|
}
|
||||||
/(^|[^_[:alnum:]])__func__([^_[:alnum:]]|$)/ {
|
/(^|[^_[:alnum:]])__func__([^_[:alnum:]]|$)/ {
|
||||||
fail("__func__")
|
fail("__func__")
|
||||||
|
@ -593,8 +593,8 @@ BEGIN { doc["strerror"] = "\
|
||||||
Do not use strerror(), instead use safe_strerror()"
|
Do not use strerror(), instead use safe_strerror()"
|
||||||
category["strerror"] = ari_regression
|
category["strerror"] = ari_regression
|
||||||
fix("strerror", "gdb/gdb_string.h", 1)
|
fix("strerror", "gdb/gdb_string.h", 1)
|
||||||
fix("strerror", "gdb/common/mingw-strerror.c", 1)
|
fix("strerror", "gdb/gdbsupport/mingw-strerror.c", 1)
|
||||||
fix("strerror", "gdb/common/posix-strerror.c", 1)
|
fix("strerror", "gdb/gdbsupport/posix-strerror.c", 1)
|
||||||
}
|
}
|
||||||
/(^|[^_[:alnum:]])strerror[[:space:]]*\(/ {
|
/(^|[^_[:alnum:]])strerror[[:space:]]*\(/ {
|
||||||
fail("strerror")
|
fail("strerror")
|
||||||
|
@ -1080,7 +1080,7 @@ Do not use asprintf(), instead use xstrprintf()"
|
||||||
|
|
||||||
BEGIN { doc["vasprintf"] = "\
|
BEGIN { doc["vasprintf"] = "\
|
||||||
Do not use vasprintf(), instead use xstrvprintf"
|
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
|
category["vasprintf"] = ari_regression
|
||||||
}
|
}
|
||||||
/(^|[^_[:alnum:]])vasprintf[[:space:]]*\(/ {
|
/(^|[^_[:alnum:]])vasprintf[[:space:]]*\(/ {
|
||||||
|
|
|
@ -138,7 +138,7 @@ validate_files (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* See common/common-inferior.h. */
|
/* See gdbsupport/common-inferior.h. */
|
||||||
|
|
||||||
char *
|
char *
|
||||||
get_exec_file (int err)
|
get_exec_file (int err)
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "gdb_bfd.h"
|
#include "gdb_bfd.h"
|
||||||
#include "completer.h"
|
#include "completer.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
|
|
||||||
#ifndef O_LARGEFILE
|
#ifndef O_LARGEFILE
|
||||||
#define O_LARGEFILE 0
|
#define O_LARGEFILE 0
|
||||||
|
|
|
@ -34,9 +34,9 @@
|
||||||
#include "cp-abi.h"
|
#include "cp-abi.h"
|
||||||
#include "namespace.h"
|
#include "namespace.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include "common/gdb_setjmp.h"
|
#include "gdbsupport/gdb_setjmp.h"
|
||||||
#include "safe-ctype.h"
|
#include "safe-ctype.h"
|
||||||
#include "common/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
|
|
||||||
#define d_left(dc) (dc)->u.s_binary.left
|
#define d_left(dc) (dc)->u.s_binary.left
|
||||||
#define d_right(dc) (dc)->u.s_binary.right
|
#define d_right(dc) (dc)->u.s_binary.right
|
||||||
|
|
|
@ -25,10 +25,10 @@
|
||||||
/* We need this for 'domain_enum', alas... */
|
/* We need this for 'domain_enum', alas... */
|
||||||
|
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
#include "common/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include "gdb_obstack.h"
|
#include "gdb_obstack.h"
|
||||||
#include "common/array-view.h"
|
#include "gdbsupport/array-view.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
/* Opaque declarations. */
|
/* Opaque declarations. */
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "extension.h"
|
#include "extension.h"
|
||||||
#include "typeprint.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_vb_obstack;
|
||||||
static struct obstack dont_print_statmem_obstack;
|
static struct obstack dont_print_statmem_obstack;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "common/gdb_assert.h"
|
#include "gdbsupport/gdb_assert.h"
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
#include "inferior.h"
|
#include "inferior.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include "tracefile.h"
|
#include "tracefile.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
|
|
||||||
/* The CTF target. */
|
/* The CTF target. */
|
||||||
|
|
||||||
|
|
|
@ -63,10 +63,10 @@
|
||||||
|
|
||||||
#include "darwin-nat.h"
|
#include "darwin-nat.h"
|
||||||
#include "filenames.h"
|
#include "filenames.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "common/gdb_unlinker.h"
|
#include "gdbsupport/gdb_unlinker.h"
|
||||||
#include "common/pathstuff.h"
|
#include "gdbsupport/pathstuff.h"
|
||||||
#include "common/scoped_fd.h"
|
#include "gdbsupport/scoped_fd.h"
|
||||||
#include "nat/fork-inferior.h"
|
#include "nat/fork-inferior.h"
|
||||||
|
|
||||||
/* Quick overview.
|
/* Quick overview.
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
/* See common/common-debug.h. */
|
/* See gdbsupport/common-debug.h. */
|
||||||
|
|
||||||
void
|
void
|
||||||
debug_vprintf (const char *fmt, va_list ap)
|
debug_vprintf (const char *fmt, va_list ap)
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
# error gdbserver should not include gdb/defs.h
|
# error gdbserver should not include gdb/defs.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "common/common-defs.h"
|
#include "gdbsupport/common-defs.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
@ -52,8 +52,8 @@
|
||||||
|
|
||||||
#include "ui-file.h"
|
#include "ui-file.h"
|
||||||
|
|
||||||
#include "common/host-defs.h"
|
#include "gdbsupport/host-defs.h"
|
||||||
#include "common/enum-flags.h"
|
#include "gdbsupport/enum-flags.h"
|
||||||
|
|
||||||
/* Scope types enumerator. List the types of scopes the compiler will
|
/* Scope types enumerator. List the types of scopes the compiler will
|
||||||
accept. */
|
accept. */
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#include "disasm.h"
|
#include "disasm.h"
|
||||||
|
|
||||||
#if GDB_SELF_TEST
|
#if GDB_SELF_TEST
|
||||||
#include "common/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#include "selftest-arch.h"
|
#include "selftest-arch.h"
|
||||||
|
|
||||||
namespace selftests {
|
namespace selftests {
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "source.h"
|
#include "source.h"
|
||||||
#include "safe-ctype.h"
|
#include "safe-ctype.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "common/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
#include "valprint.h"
|
#include "valprint.h"
|
||||||
|
|
||||||
/* Disassemble functions.
|
/* Disassemble functions.
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#define DISASM_H
|
#define DISASM_H
|
||||||
|
|
||||||
#include "dis-asm.h"
|
#include "dis-asm.h"
|
||||||
#include "common/enum-flags.h"
|
#include "gdbsupport/enum-flags.h"
|
||||||
|
|
||||||
enum gdb_disassembly_flag
|
enum gdb_disassembly_flag
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "probe.h"
|
#include "probe.h"
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
#include "elf-bfd.h"
|
#include "elf-bfd.h"
|
||||||
#include "gdbtypes.h"
|
#include "gdbtypes.h"
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
#include "build-id.h"
|
#include "build-id.h"
|
||||||
#include "cli/cli-cmds.h"
|
#include "cli/cli-cmds.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "common/scoped_mmap.h"
|
#include "gdbsupport/scoped_mmap.h"
|
||||||
#include "common/pathstuff.h"
|
#include "gdbsupport/pathstuff.h"
|
||||||
#include "dwarf-index-write.h"
|
#include "dwarf-index-write.h"
|
||||||
#include "dwarf2read.h"
|
#include "dwarf2read.h"
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "common/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#define DWARF_INDEX_CACHE_H
|
#define DWARF_INDEX_CACHE_H
|
||||||
|
|
||||||
#include "dwarf-index-common.h"
|
#include "dwarf-index-common.h"
|
||||||
#include "common/array-view.h"
|
#include "gdbsupport/array-view.h"
|
||||||
#include "symfile.h"
|
#include "symfile.h"
|
||||||
|
|
||||||
/* Base of the classes used to hold the resources of the indices loaded from
|
/* Base of the classes used to hold the resources of the indices loaded from
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
|
|
||||||
#include "addrmap.h"
|
#include "addrmap.h"
|
||||||
#include "cli/cli-decode.h"
|
#include "cli/cli-decode.h"
|
||||||
#include "common/byte-vector.h"
|
#include "gdbsupport/byte-vector.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "common/gdb_unlinker.h"
|
#include "gdbsupport/gdb_unlinker.h"
|
||||||
#include "common/pathstuff.h"
|
#include "gdbsupport/pathstuff.h"
|
||||||
#include "common/scoped_fd.h"
|
#include "gdbsupport/scoped_fd.h"
|
||||||
#include "complaints.h"
|
#include "complaints.h"
|
||||||
#include "dwarf-index-common.h"
|
#include "dwarf-index-common.h"
|
||||||
#include "dwarf2.h"
|
#include "dwarf2.h"
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "dwarf2loc.h"
|
#include "dwarf2loc.h"
|
||||||
#include "dwarf2-frame-tailcall.h"
|
#include "dwarf2-frame-tailcall.h"
|
||||||
#if GDB_SELF_TEST
|
#if GDB_SELF_TEST
|
||||||
#include "common/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#include "selftest-arch.h"
|
#include "selftest-arch.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "dwarf2.h"
|
#include "dwarf2.h"
|
||||||
#include "dwarf2expr.h"
|
#include "dwarf2expr.h"
|
||||||
#include "dwarf2loc.h"
|
#include "dwarf2loc.h"
|
||||||
#include "common/underlying.h"
|
#include "gdbsupport/underlying.h"
|
||||||
|
|
||||||
/* Cookie for gdbarch data. */
|
/* Cookie for gdbarch data. */
|
||||||
|
|
||||||
|
|
|
@ -39,12 +39,12 @@
|
||||||
#include "dwarf2read.h"
|
#include "dwarf2read.h"
|
||||||
#include "dwarf2-frame.h"
|
#include "dwarf2-frame.h"
|
||||||
#include "compile/compile.h"
|
#include "compile/compile.h"
|
||||||
#include "common/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
#include "common/underlying.h"
|
#include "gdbsupport/underlying.h"
|
||||||
#include "common/byte-vector.h"
|
#include "gdbsupport/byte-vector.h"
|
||||||
|
|
||||||
extern int dwarf_always_disassemble;
|
extern int dwarf_always_disassemble;
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
#include "psympriv.h"
|
#include "psympriv.h"
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include "completer.h"
|
#include "completer.h"
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
#include "c-lang.h"
|
#include "c-lang.h"
|
||||||
#include "go-lang.h"
|
#include "go-lang.h"
|
||||||
#include "valprint.h"
|
#include "valprint.h"
|
||||||
|
@ -68,15 +68,15 @@
|
||||||
#include "gdb_bfd.h"
|
#include "gdb_bfd.h"
|
||||||
#include "f-lang.h"
|
#include "f-lang.h"
|
||||||
#include "source.h"
|
#include "source.h"
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#include "build-id.h"
|
#include "build-id.h"
|
||||||
#include "namespace.h"
|
#include "namespace.h"
|
||||||
#include "common/gdb_unlinker.h"
|
#include "gdbsupport/gdb_unlinker.h"
|
||||||
#include "common/function-view.h"
|
#include "gdbsupport/function-view.h"
|
||||||
#include "common/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
#include "common/underlying.h"
|
#include "gdbsupport/underlying.h"
|
||||||
#include "common/byte-vector.h"
|
#include "gdbsupport/byte-vector.h"
|
||||||
#include "common/hash_enum.h"
|
#include "gdbsupport/hash_enum.h"
|
||||||
#include "filename-seen-cache.h"
|
#include "filename-seen-cache.h"
|
||||||
#include "producer.h"
|
#include "producer.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -84,12 +84,12 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include "common/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <forward_list>
|
#include <forward_list>
|
||||||
#include "rust-lang.h"
|
#include "rust-lang.h"
|
||||||
#include "common/pathstuff.h"
|
#include "gdbsupport/pathstuff.h"
|
||||||
|
|
||||||
/* When == 1, print basic high level tracing messages.
|
/* When == 1, print basic high level tracing messages.
|
||||||
When > 1, be more verbose.
|
When > 1, be more verbose.
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "dwarf-index-cache.h"
|
#include "dwarf-index-cache.h"
|
||||||
#include "filename-seen-cache.h"
|
#include "filename-seen-cache.h"
|
||||||
#include "gdb_obstack.h"
|
#include "gdb_obstack.h"
|
||||||
#include "common/hash_enum.h"
|
#include "gdbsupport/hash_enum.h"
|
||||||
|
|
||||||
/* Hold 'maintenance (set|show) dwarf' commands. */
|
/* Hold 'maintenance (set|show) dwarf' commands. */
|
||||||
extern struct cmd_list_element *set_dwarf_cmdlist;
|
extern struct cmd_list_element *set_dwarf_cmdlist;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "common/gdb_sys_time.h"
|
#include "gdbsupport/gdb_sys_time.h"
|
||||||
#include "gdb_select.h"
|
#include "gdb_select.h"
|
||||||
#include "observable.h"
|
#include "observable.h"
|
||||||
#include "top.h"
|
#include "top.h"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "gdbcmd.h" /* for dont_repeat() */
|
#include "gdbcmd.h" /* for dont_repeat() */
|
||||||
#include "annotate.h"
|
#include "annotate.h"
|
||||||
#include "maint.h"
|
#include "maint.h"
|
||||||
#include "common/buffer.h"
|
#include "gdbsupport/buffer.h"
|
||||||
#include "ser-event.h"
|
#include "ser-event.h"
|
||||||
#include "gdb_select.h"
|
#include "gdb_select.h"
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "gdbthread.h"
|
#include "gdbthread.h"
|
||||||
#include "top.h"
|
#include "top.h"
|
||||||
#include "common/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
print_flush (void)
|
print_flush (void)
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include "solist.h"
|
#include "solist.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "common/pathstuff.h"
|
#include "gdbsupport/pathstuff.h"
|
||||||
|
|
||||||
void (*deprecated_file_changed_hook) (const char *);
|
void (*deprecated_file_changed_hook) (const char *);
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#define EXTENSION_H
|
#define EXTENSION_H
|
||||||
|
|
||||||
#include "mi/mi-cmds.h" /* For PRINT_NO_VALUES, etc. */
|
#include "mi/mi-cmds.h" /* For PRINT_NO_VALUES, etc. */
|
||||||
#include "common/vec.h"
|
#include "gdbsupport/vec.h"
|
||||||
#include "common/array-view.h"
|
#include "gdbsupport/array-view.h"
|
||||||
|
|
||||||
struct breakpoint;
|
struct breakpoint;
|
||||||
struct command_line;
|
struct command_line;
|
||||||
|
|
|
@ -18,14 +18,14 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "common/byte-vector.h"
|
#include "gdbsupport/byte-vector.h"
|
||||||
#include "gdbcore.h"
|
#include "gdbcore.h"
|
||||||
#include "inferior.h"
|
#include "inferior.h"
|
||||||
#include "regcache.h"
|
#include "regcache.h"
|
||||||
#include "regset.h"
|
#include "regset.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "gdbthread.h"
|
#include "gdbthread.h"
|
||||||
#include "common/gdb_wait.h"
|
#include "gdbsupport/gdb_wait.h"
|
||||||
#include "inf-ptrace.h"
|
#include "inf-ptrace.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/procfs.h>
|
#include <sys/procfs.h>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
#include <libutil.h>
|
#include <libutil.h>
|
||||||
#endif
|
#endif
|
||||||
#if !defined(HAVE_KINFO_GETVMMAP)
|
#if !defined(HAVE_KINFO_GETVMMAP)
|
||||||
#include "common/filestuff.h"
|
#include "gdbsupport/filestuff.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "elf-bfd.h"
|
#include "elf-bfd.h"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
||||||
Original: aarch64-core.xml */
|
Original: aarch64-core.xml */
|
||||||
|
|
||||||
#include "common/tdesc.h"
|
#include "gdbsupport/tdesc.h"
|
||||||
|
|
||||||
static int
|
static int
|
||||||
create_feature_aarch64_core (struct target_desc *result, long regnum)
|
create_feature_aarch64_core (struct target_desc *result, long regnum)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
||||||
Original: aarch64-fpu.xml */
|
Original: aarch64-fpu.xml */
|
||||||
|
|
||||||
#include "common/tdesc.h"
|
#include "gdbsupport/tdesc.h"
|
||||||
|
|
||||||
static int
|
static int
|
||||||
create_feature_aarch64_fpu (struct target_desc *result, long regnum)
|
create_feature_aarch64_fpu (struct target_desc *result, long regnum)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
||||||
Original: aarch64-pauth.xml */
|
Original: aarch64-pauth.xml */
|
||||||
|
|
||||||
#include "common/tdesc.h"
|
#include "gdbsupport/tdesc.h"
|
||||||
|
|
||||||
static int
|
static int
|
||||||
create_feature_aarch64_pauth (struct target_desc *result, long regnum)
|
create_feature_aarch64_pauth (struct target_desc *result, long regnum)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue