)]}'
{
  "commit": "4bd817e71eefd659f51ec75bfb13109c486e8311",
  "tree": "d7a767fcc3fff651237b5c29eea74588cb3c1ad8",
  "parents": [
    "041a4212d37de6172b3428613c9f9f52ab950c6c"
  ],
  "author": {
    "name": "John Baldwin",
    "email": "jhb@FreeBSD.org",
    "time": "Tue Mar 22 12:05:43 2022 -0700"
  },
  "committer": {
    "name": "John Baldwin",
    "email": "jhb@FreeBSD.org",
    "time": "Tue Mar 22 12:05:43 2022 -0700"
  },
  "message": "nat: Split out platform-independent aarch64 debug register support.\n\nMove non-Linux-specific support for hardware break/watchpoints from\nnat/aarch64-linux-hw-point.c to nat/aarch64-hw-point.c.  Changes\nbeyond a simple split of the code are:\n\n- aarch64_linux_region_ok_for_watchpoint and\n  aarch64_linux_any_set_debug_regs_state renamed to drop linux_ as\n  they are not platform specific.\n\n- Platforms must implement the aarch64_notify_debug_reg_change\n  function which is invoked from the platform-independent code when a\n  debug register changes for a given debug register state.  This does\n  not use the indirection of a \u0027low\u0027 structure as is done for x86.\n\n- The handling for kernel_supports_any_contiguous_range is not\n  pristine.  For non-Linux it is simply defined to true.  Some uses of\n  this could perhaps be implemented as new \u0027low\u0027 routines for the\n  various places that check it instead?\n\n- Pass down ptid into aarch64_handle_breakpoint and\n  aarch64_handle_watchpoint rather than using current_lwp_ptid which\n  is only defined on Linux.  In addition, pass the ptid on to\n  aarch64_notify_debug_reg_change instead of the unused state\n  argument.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "db764975207e1645e3ed64565ca44f8691d95c18",
      "old_mode": 33188,
      "old_path": "gdb/aarch64-linux-nat.c",
      "new_id": "dd072d9315e0d1d7a97c42708d2afe76155ea21f",
      "new_mode": 33188,
      "new_path": "gdb/aarch64-linux-nat.c"
    },
    {
      "type": "modify",
      "old_id": "92ad4a6522b9d470ba0c8bf1c5c3cb5f30e6732f",
      "old_mode": 33188,
      "old_path": "gdb/configure.nat",
      "new_id": "ad6d35babc2186e6a0108d0f293a52201182e8f8",
      "new_mode": 33188,
      "new_path": "gdb/configure.nat"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f0418f7eef879608e1cd4dfc63ebca6f100b676e",
      "new_mode": 33188,
      "new_path": "gdb/nat/aarch64-hw-point.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "97b37d537c2f2ab55bb6e147e70a19c562680d85",
      "new_mode": 33188,
      "new_path": "gdb/nat/aarch64-hw-point.h"
    },
    {
      "type": "modify",
      "old_id": "f5dd3b2be2cc6f9835674c5b274e847e0488c295",
      "old_mode": 33188,
      "old_path": "gdb/nat/aarch64-linux-hw-point.c",
      "new_id": "a6d91a367b77f4355f580fdb0f16204e4c908357",
      "new_mode": 33188,
      "new_path": "gdb/nat/aarch64-linux-hw-point.c"
    },
    {
      "type": "modify",
      "old_id": "c746a7622a0b9d8ee3e298c28a82c417c7fd66b3",
      "old_mode": 33188,
      "old_path": "gdb/nat/aarch64-linux-hw-point.h",
      "new_id": "7c694ff0882e26eb0988560fb35493d78c2c33e3",
      "new_mode": 33188,
      "new_path": "gdb/nat/aarch64-linux-hw-point.h"
    },
    {
      "type": "modify",
      "old_id": "b2ed8f9a2a53d6830d5f050123ab1c4344319a5d",
      "old_mode": 33188,
      "old_path": "gdb/nat/aarch64-linux.c",
      "new_id": "421d1ecb53cf0ea08f11f7d2a08e2a064a75d120",
      "new_mode": 33188,
      "new_path": "gdb/nat/aarch64-linux.c"
    },
    {
      "type": "modify",
      "old_id": "6e09b0eeb79bf44f415f06fee18d4a3da2c775d0",
      "old_mode": 33188,
      "old_path": "gdbserver/configure.srv",
      "new_id": "d37053628fc4a03fe2a28d7e204d07b28cc3b424",
      "new_mode": 33188,
      "new_path": "gdbserver/configure.srv"
    },
    {
      "type": "modify",
      "old_id": "aef69b34525936d476aa7761afa555644d17d8a3",
      "old_mode": 33188,
      "old_path": "gdbserver/linux-aarch64-low.cc",
      "new_id": "0091f998c6366bfa7328bce714419790fc94e9a3",
      "new_mode": 33188,
      "new_path": "gdbserver/linux-aarch64-low.cc"
    }
  ]
}
