)]}'
{
  "commit": "c082d7f58efad2a3e1edbedc34853b37f2f68c0d",
  "tree": "fe196ad77a2c16ee32fa83c713b45a1533d85375",
  "parents": [
    "3c3e54d7b5f7da003292710fe810e670d45832d8"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Aug 02 23:17:35 2023 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Aug 02 23:17:35 2023 +0200"
  },
  "message": "[gdb] Initialize main_thread_id earlier\n\nI wrote a patch using is_main_thread (), and found it returning false in the\nmain thread due to main_thread_id not being initialized yet.\n\nInitialization currently takes place in _initialize_run_on_main_thread, but\nthat\u0027s too late for earlier uses.\n\nFix this by initializing, either:\n- when entering main, or\n- on an earlier first use.\n\nTested on x86_64-linux.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "71a3fd12ba15012dddc6c92fe0d7b6d13d9a712c",
      "old_mode": 33188,
      "old_path": "gdb/gdb.c",
      "new_id": "6e3ff0755ab23e8160d858e8ee73ef9bb5593cda",
      "new_mode": 33188,
      "new_path": "gdb/gdb.c"
    },
    {
      "type": "modify",
      "old_id": "91d25dae28f0d788a26a5548ec221c61d48d42fd",
      "old_mode": 33188,
      "old_path": "gdb/run-on-main-thread.c",
      "new_id": "e5c9a775b13f969d937a0fbee3cc8740e60a038e",
      "new_mode": 33188,
      "new_path": "gdb/run-on-main-thread.c"
    }
  ]
}
