)]}'
{
  "commit": "8a9da63e407c511df32841abcbe20effe2f3e398",
  "tree": "b65893eceb8cdcf6e575e394025b2268d5952f0e",
  "parents": [
    "dd82bbc1b3e79fb5e072ce4953cafc789333ce82"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Sat Jul 22 15:28:28 2023 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Sun Jul 23 09:28:33 2023 +0100"
  },
  "message": "gdb: two changes to linux_nat_debug_printf calls in linux-nat.c\n\nThis commit adjusts some of the debug output in linux-nat.c, but makes\nno other functional changes to GDB.\n\nIn resume_lwp I\u0027ve added the word \"sibling\" to one of the debug\nmessages.  All the other debug messages in this function talk about\noperating on the sibling thread, so I think it makes sense, for\nconsistency, if the message I\u0027ve updated also talks about the sibling\nthread.\n\nIn resume_stopped_resumed_lwps I\u0027ve reordered the condition checks so\nthat the vfork-parent check now happens after the checks for whether\nthe thread is already resumed or not.  This makes no functional\ndifference to GDB, but does, I think, mean we see more helpful debug\nmessages first.\n\nConsider the situation where a vfork-parent thread is already resumed,\nand resume_stopped_resumed_lwps is called.  Previously the message\nsaying that the thread was not being resumed due to being a\nvfork-parent, was printed.  This might give the impression that the\nthread is left in a not resumed state, which is misleading.\n\nAfter this change we now get a message saying that the thread is not\nbeing resumed due to it not being stopped (i.e. is already resumed).\nWith this message the already resumed nature of the thread is much\nclearer.\n\nI found this change helpful when debugging some vfork related issues.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "73008a313c0e25cbb9f33203b2a15bac3d168840",
      "old_mode": 33188,
      "old_path": "gdb/linux-nat.c",
      "new_id": "250a8f43282b6f83502405489e1f4ddba9e985cd",
      "new_mode": 33188,
      "new_path": "gdb/linux-nat.c"
    }
  ]
}
