)]}'
{
  "commit": "ed29a346be439466ff2a5ce33e715e02c49fbdac",
  "tree": "05fd227f4e975aca54a71f9b442f401dcb03ae31",
  "parents": [
    "ba9583c7d598df78c45b86073cdbf1a9d7c40377"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tom@tromey.com",
    "time": "Sun Jan 28 09:14:04 2024 -0700"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tom@tromey.com",
    "time": "Fri Mar 08 17:25:50 2024 -0700"
  },
  "message": "Avoid race when writing to index cache\n\nThe background DWARF reader changes introduced a race when writing to\nthe index cache.  The problem here is that constructing the\nindex_cache_store_context object should only happen on the main\nthread, to ensure that the various value captures do not race.\n\nThis patch adds an assert to the construct to that effect, and then\narranges for this object to be constructed by the cooked_index_worker\nconstructor -- which is only invoked on the main thread.\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d31262\n\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5cbee83228b2960da16a72cd77897bf2f35d1594",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/cooked-index.c",
      "new_id": "2a1ca6fd225d42fb29c36f1ee869ea4a6793e351",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/cooked-index.c"
    },
    {
      "type": "modify",
      "old_id": "17659df0531abb0595c5446f18a4e59c36a140ed",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/cooked-index.h",
      "new_id": "91419b79edce22d24a29a6b8c26c915459960573",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/cooked-index.h"
    },
    {
      "type": "modify",
      "old_id": "780d2c4f2005b6abd2d18c1be45c14669dd1c0c6",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/index-cache.c",
      "new_id": "d9047ef46bb2cc5751a7634807bf4e8545de18d3",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/index-cache.c"
    }
  ]
}
