)]}'
{
  "commit": "739be95178196df4babdcb47de856a12ba06253f",
  "tree": "6599960bd0fee5a00c7debca1cca6f9c2cc6480b",
  "parents": [
    "537710a69cf440250c27a59b7d01b5a5a1a9b462"
  ],
  "author": {
    "name": "Lancelot SIX",
    "email": "lancelot.six@amd.com",
    "time": "Thu Aug 11 15:09:55 2022 +0100"
  },
  "committer": {
    "name": "Lancelot SIX",
    "email": "lancelot.six@amd.com",
    "time": "Thu Aug 11 15:09:55 2022 +0100"
  },
  "message": "gdb/varobj: Do not invalidate locals in varobj_invalidate_iter\n\nThe varobj_invalidate_iter function has logic to invalidate any local\nvarobj it can find.  However since bc20e562ec0 \"gdb/varobj: Fix use\nafter free in varobj\" all varobj containing references to an objfile are\ncleared when the objfile goes out of scope.  This means that at this\npoint any local varobj seen by varobj_invalidate_iter either has\nalready been invalidated by varobj_invalidate_if_uses_objfile or only\ncontains valid references and there is no reason to invalidate it.\n\nThis patch proposes to remove this unnecessary invalidation and adds a\ntestcase which exercises a scenario where a local varobj can legitimately\nsurvive a call to varobj_invalidate_iter.\n\nAt this point the varobj_invalidate and varobj_invalidate_iter seem\nmisnamed since they deal with re-creating invalid objects and do not do\ninvalidation, but this will be fixed in a following patch.\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "87d1d4a6a9d4fe83259ed3cda792cb0d86235db3",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.mi/mi-var-invalidate-shlib.exp",
      "new_id": "c8b9b3e039a9c519781333423c206a302f39796e",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.mi/mi-var-invalidate-shlib.exp"
    },
    {
      "type": "modify",
      "old_id": "0683af1991eeb23b669629e07307c2ed62fe6f89",
      "old_mode": 33188,
      "old_path": "gdb/varobj.c",
      "new_id": "a142bb02e038c1b1262eabc6b50fd7348dbbdddb",
      "new_mode": 33188,
      "new_path": "gdb/varobj.c"
    }
  ]
}
