binutils-gdb/gdb/nat
John Baldwin 4bd817e71e nat: Split out platform-independent aarch64 debug register support.
Move non-Linux-specific support for hardware break/watchpoints from
nat/aarch64-linux-hw-point.c to nat/aarch64-hw-point.c.  Changes
beyond a simple split of the code are:

- aarch64_linux_region_ok_for_watchpoint and
  aarch64_linux_any_set_debug_regs_state renamed to drop linux_ as
  they are not platform specific.

- Platforms must implement the aarch64_notify_debug_reg_change
  function which is invoked from the platform-independent code when a
  debug register changes for a given debug register state.  This does
  not use the indirection of a 'low' structure as is done for x86.

- The handling for kernel_supports_any_contiguous_range is not
  pristine.  For non-Linux it is simply defined to true.  Some uses of
  this could perhaps be implemented as new 'low' routines for the
  various places that check it instead?

- Pass down ptid into aarch64_handle_breakpoint and
  aarch64_handle_watchpoint rather than using current_lwp_ptid which
  is only defined on Linux.  In addition, pass the ptid on to
  aarch64_notify_debug_reg_change instead of the unused state
  argument.
2022-03-22 12:05:43 -07:00
..
aarch64-hw-point.c nat: Split out platform-independent aarch64 debug register support. 2022-03-22 12:05:43 -07:00
aarch64-hw-point.h nat: Split out platform-independent aarch64 debug register support. 2022-03-22 12:05:43 -07:00
aarch64-linux-hw-point.c nat: Split out platform-independent aarch64 debug register support. 2022-03-22 12:05:43 -07:00
aarch64-linux-hw-point.h nat: Split out platform-independent aarch64 debug register support. 2022-03-22 12:05:43 -07:00
aarch64-linux.c nat: Split out platform-independent aarch64 debug register support. 2022-03-22 12:05:43 -07:00
aarch64-linux.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-mte-linux-ptrace.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-mte-linux-ptrace.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-sve-linux-ptrace.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-sve-linux-ptrace.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-sve-linux-sigcontext.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
amd64-linux-siginfo.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
amd64-linux-siginfo.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
fork-inferior.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
fork-inferior.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
gdb_ptrace.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
gdb_thread_db.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
glibc_thread_db.h
linux-btrace.c gdb, btrace: improve error messages 2022-02-01 17:44:38 +01:00
linux-btrace.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-namespaces.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-namespaces.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-nat.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-osdata.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-osdata.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-personality.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-personality.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-procfs.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-procfs.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-ptrace.c gdb/linux: remove ptrace support check for exec, fork, vfork, vforkdone, clone, sysgood 2022-02-10 20:10:12 -05:00
linux-ptrace.h gdb/linux: remove ptrace support check for exec, fork, vfork, vforkdone, clone, sysgood 2022-02-10 20:10:12 -05:00
linux-waitpid.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
linux-waitpid.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips-linux-watch.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips-linux-watch.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
netbsd-nat.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
netbsd-nat.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
ppc-linux.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
ppc-linux.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
riscv-linux-tdesc.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
riscv-linux-tdesc.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
windows-nat.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
windows-nat.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
x86-cpuid.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
x86-dregs.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
x86-dregs.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
x86-gcc-cpuid.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
x86-linux-dregs.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
x86-linux-dregs.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
x86-linux.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
x86-linux.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00