)]}'
{
  "commit": "acd0955bc118d14dd32c08fd8a6b2ca7fa4e294c",
  "tree": "34b6d6ed22c9fb997aea501d00d8376093113b64",
  "parents": [
    "6e14e4412b670d093d74b90e5d4adcfaedb76d3f"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Sat May 07 01:23:03 2022 +0100"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri May 20 20:41:01 2022 +0100"
  },
  "message": "Make catchpoint inherit breakpoint, eliminate init_raw_breakpoint\n\nstruct catchpoint\u0027s ctor currently calls init_raw_breakpoint, which is\na bit weird, as that ctor-like function takes a sal argument, but\ncatchpoints don\u0027t have code locations.\n\nInstead, make struct catchpoint\u0027s ctor add the catchpoint\u0027s dummy\nlocation using add_dummy_location.\n\ninit_raw_breakpoint uses add_location under the hood, and with a dummy\nsal it would ultimately use the breakpoint\u0027s gdbarch for the\nlocation\u0027s gdbarch, so replace the references to loc-\u003egdbarch (which\nis now NULL) in syscall_catchpoint to references to the catchpoint\u0027s\ngdbarch.\n\nstruct catchpoint\u0027s ctor was the last user of init_raw_breakpoint, so\nthis commit eliminates the latter.\n\nSince catchpoint locations aren\u0027t code locations, make struct\ncatchpoint inherit struct breakpoint instead of base_breakpoint.  This\nlet\u0027s us delete the tracepoint::re_set override too.\n\nChange-Id: Ib428bf71efb09fdaf399c56e4372b0f41d9c5869",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "af55ecb1b5c0a7de37e6f466f45721cca5475b32",
      "old_mode": 33188,
      "old_path": "gdb/break-catch-syscall.c",
      "new_id": "06d48466de7466b38b0d7076167f4a38256ab91d",
      "new_mode": 33188,
      "new_path": "gdb/break-catch-syscall.c"
    },
    {
      "type": "modify",
      "old_id": "0ba2ea2f6b7aa5043df03c44b921022e16aeccd6",
      "old_mode": 33188,
      "old_path": "gdb/breakpoint.c",
      "new_id": "96cf1ee7a8250667a5637e4c933505a49696fae4",
      "new_mode": 33188,
      "new_path": "gdb/breakpoint.c"
    },
    {
      "type": "modify",
      "old_id": "7375e976dc673acee3f91a49142068c38a15718b",
      "old_mode": 33188,
      "old_path": "gdb/breakpoint.h",
      "new_id": "21dd8d53b2da57146a74efb173008a4e2e9c73de",
      "new_mode": 33188,
      "new_path": "gdb/breakpoint.h"
    }
  ]
}
