)]}'
{
  "commit": "b7096df235486ce718c2a0bfda8a0db074dcb671",
  "tree": "25b87dd6cecac543f49293089933448592b7cc41",
  "parents": [
    "23912acd402f5af9caf91b257e5209ec4c58a09c"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri Oct 14 20:17:36 2022 +0100"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Mon Nov 07 15:21:34 2022 +0000"
  },
  "message": "Don\u0027t explicitly set clone child ptrace options\n\nlinux_handle_extended_wait calls target_post_attach if we\u0027re handling\na PTRACE_EVENT_CLONE, and libthread_db.so isn\u0027t active.\ntarget_post_attach just calls linux_init_ptrace_procfs to set the\nlwp\u0027s ptrace options.  However, this is completely unnecessary,\nbecause, as man ptrace [1] says, options are inherited:\n\n  \"Flags are inherited by new tracees created and \"auto-attached\" via\n   active PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK, or PTRACE_O_TRACECLONE\n   options.\"\n\nThis removes the unnecessary call.\n\n[1] - https://man7.org/linux/man-pages/man2/ptrace.2.html\n\nApproved-By: Simon Marchi \u003csimon.marchi@efficios.com\u003e\nChange-Id: I533eaa60b700f7e40760311fc0d344d0b3f19a78\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f4f7aa81845217b204e511478f1036548f3e0b9a",
      "old_mode": 33188,
      "old_path": "gdb/linux-nat.c",
      "new_id": "0b3c143382ba0e911bd30e9b70267655bd793dbf",
      "new_mode": 33188,
      "new_path": "gdb/linux-nat.c"
    }
  ]
}
