)]}'
{
  "commit": "960bc2bd1402bb5e8312e731d6a7f6fe2b6a9863",
  "tree": "aff30b1e20a126c1acb744b6989de77ed62947b5",
  "parents": [
    "92bb0228c8293ec78c0efcd556b1f115b6e1b3f4"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Thu May 12 18:58:38 2022 +0100"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri May 20 20:41:01 2022 +0100"
  },
  "message": "Move add_location(sal) to base_breakpoint\n\nAfter the previous patches, only base_breakpoint subclasses use\nadd_location(sal), so we can move it to base_breakpoint (a.k.a. base\nclass for code breakpoints).\n\nThis requires a few casts here and there, but always at spots where\nyou can see from context what the breakpoint\u0027s type actually is.\n\nI inlined new_single_step_breakpoint into its only caller exactly for\nthis reason.\n\nI did try to propagate more use of base_breakpoint to avoid casts, but\nthat turned out unwieldy for this patch.\n\nChange-Id: I49d959322b0fdce5a88a216bb44730fc5dd7c6f8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bfb5cd37ecdc1f7acc25d2b3b227b6855af76a64",
      "old_mode": 33188,
      "old_path": "gdb/breakpoint.c",
      "new_id": "b6e31836df178f9b57d6f680ee5c84072d0ada1c",
      "new_mode": 33188,
      "new_path": "gdb/breakpoint.c"
    },
    {
      "type": "modify",
      "old_id": "af69af6863bd1c96bf3b4951f31c772d8d4e80b7",
      "old_mode": 33188,
      "old_path": "gdb/breakpoint.h",
      "new_id": "807c97a5beddfe63788ebd5ff6bb9845f00a4336",
      "new_mode": 33188,
      "new_path": "gdb/breakpoint.h"
    },
    {
      "type": "modify",
      "old_id": "b136c605b1ae68e30fbb62cacf0d958f39a69560",
      "old_mode": 33188,
      "old_path": "gdb/elfread.c",
      "new_id": "27203722802e2e556617b31175cb104870873c12",
      "new_mode": 33188,
      "new_path": "gdb/elfread.c"
    },
    {
      "type": "modify",
      "old_id": "cbd0ad2239285524fa10dbeb3a70feb8ffddca29",
      "old_mode": 33188,
      "old_path": "gdb/minsyms.c",
      "new_id": "217ee047446a57e38ba41a09550069b4c2471f50",
      "new_mode": 33188,
      "new_path": "gdb/minsyms.c"
    },
    {
      "type": "modify",
      "old_id": "b1cf84f756fbe8cabe6c433be2470c421c679f66",
      "old_mode": 33188,
      "old_path": "gdb/symtab.h",
      "new_id": "5218be587deb0e3df6a0160ba368632be70e0d4e",
      "new_mode": 33188,
      "new_path": "gdb/symtab.h"
    }
  ]
}
