binutils-gdb/gdb/nat
Tom Tromey 0ee25f97d2 Fix regression on aarch64-linux gdbserver
Commit 9a03f218 ("Fix gdb.base/watchpoint-unaligned.exp on aarch64")
fixed a watchpoint bug in gdb -- but did not touch the corresponding
code in gdbserver.

This patch moves the gdb code into gdb/nat, so that it can be shared
with gdbserver, and then changes gdbserver to use it, fixing the bug.

This is yet another case where having a single back end would prevent
bugs.

I tested this using the AdaCore internal gdb testsuite.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29423
Approved-By: Luis Machado <luis.machado@arm.com>
2024-05-02 10:04:14 -06:00
..
aarch64-hw-point.c Fix regression on aarch64-linux gdbserver 2024-05-02 10:04:14 -06:00
aarch64-hw-point.h Fix regression on aarch64-linux gdbserver 2024-05-02 10:04:14 -06:00
aarch64-linux-hw-point.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
aarch64-linux-hw-point.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
aarch64-linux.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
aarch64-linux.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
aarch64-mte-linux-ptrace.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
aarch64-mte-linux-ptrace.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
aarch64-scalable-linux-ptrace.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
aarch64-scalable-linux-ptrace.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
aarch64-scalable-linux-sigcontext.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
amd64-linux-siginfo.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
amd64-linux-siginfo.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
fork-inferior.c gdb: fix include for gdb_signal in target/waitstatus.h 2024-04-19 16:07:59 -04:00
fork-inferior.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
gdb_ptrace.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
gdb_thread_db.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
glibc_thread_db.h
linux-btrace.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
linux-btrace.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
linux-namespaces.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
linux-namespaces.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
linux-nat.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
linux-osdata.c gdb/nat: Factor linux_proc_get_stat_field out of linux_common_core_of_thread 2024-04-29 23:14:06 -03:00
linux-osdata.h gdb/nat: Factor linux_proc_get_stat_field out of linux_common_core_of_thread 2024-04-29 23:14:06 -03:00
linux-personality.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
linux-personality.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
linux-procfs.c gdb/nat/linux: Fix attaching to process when it has zombie threads 2024-04-29 23:14:11 -03:00
linux-procfs.h gdb/nat/linux: Fix attaching to process when it has zombie threads 2024-04-29 23:14:11 -03:00
linux-ptrace.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
linux-ptrace.h gdb+gdbserver/Linux: Remove USE_SIGTRAP_SIGINFO fallback 2024-04-17 18:21:30 +01:00
linux-waitpid.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
linux-waitpid.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
mips-linux-watch.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
mips-linux-watch.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
netbsd-nat.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
netbsd-nat.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
ppc-linux.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
ppc-linux.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
riscv-linux-tdesc.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
riscv-linux-tdesc.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
windows-nat.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
windows-nat.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
x86-cpuid.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
x86-dregs.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
x86-dregs.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
x86-gcc-cpuid.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
x86-linux-dregs.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
x86-linux-dregs.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
x86-linux.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
x86-linux.h Revert "gdb/x86: move reading of cs and ds state into gdb/nat directory" 2024-03-26 18:53:17 +00:00
x86-xstate.c gdb, gdbserver, gdbsupport: remove includes of early headers 2024-03-26 21:13:22 -04:00
x86-xstate.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00