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
aarch64-linux-hw-point.h
aarch64-linux.c
aarch64-linux.h
aarch64-mte-linux-ptrace.c
aarch64-mte-linux-ptrace.h
aarch64-scalable-linux-ptrace.c
aarch64-scalable-linux-ptrace.h
aarch64-scalable-linux-sigcontext.h
amd64-linux-siginfo.c
amd64-linux-siginfo.h
fork-inferior.c
fork-inferior.h
gdb_ptrace.h
gdb_thread_db.h
glibc_thread_db.h
linux-btrace.c
linux-btrace.h
linux-namespaces.c
linux-namespaces.h
linux-nat.h
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
linux-personality.h
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
linux-ptrace.h
linux-waitpid.c
linux-waitpid.h
mips-linux-watch.c
mips-linux-watch.h
netbsd-nat.c
netbsd-nat.h
ppc-linux.c
ppc-linux.h
riscv-linux-tdesc.c
riscv-linux-tdesc.h
windows-nat.c
windows-nat.h
x86-cpuid.h
x86-dregs.c
x86-dregs.h
x86-gcc-cpuid.h
x86-linux-dregs.c
x86-linux-dregs.h
x86-linux.c
x86-linux.h
x86-xstate.c
x86-xstate.h