)]}'
{
  "commit": "aaca0da76bcfcb9b3bba41ae0959fcb742710ca4",
  "tree": "0170dd1352508532726354ac33a7015329dd155e",
  "parents": [
    "b331a230e3e53cfda799371c4f6f9bbf6a88a84c"
  ],
  "author": {
    "name": "Matthieu Longo",
    "email": "matthieu.longo@arm.com",
    "time": "Mon Mar 30 17:12:53 2026 +0100"
  },
  "committer": {
    "name": "Matthieu Longo",
    "email": "matthieu.longo@arm.com",
    "time": "Fri Aug 14 18:07:10 2026 +0100"
  },
  "message": "gdb/python: eval_python_command returns result of the evaluation\n\nA previous commit [1] centralized the Python code evaluation in the\nhelper function eval_python_command(). However, a missed case in\nvarobj_set_visualizer() requires not only the exit status but the\nresult of the evaluation too.\n\nThis patch updates eval_python_command() to return the result of\nthe evaluation, or NULL if an error occurred. It also adjusts the\nexisting callers accordingly. Finally, it replaces the use of\nPyRun_String() in varobj_set_visualizer() with a call to\neval_python_command().\n\n[1]: 264a8a2236e8aa64b333a69e42a55ff8c0844f6e\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d23830\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1bb83adcc42180060614c504d08a27ba3c32ac5a",
      "old_mode": 33188,
      "old_path": "gdb/python/py-gdb-readline.c",
      "new_id": "d20ad0b8d56db96dc3ca3fadb22cd1b93a4baa41",
      "new_mode": 33188,
      "new_path": "gdb/python/py-gdb-readline.c"
    },
    {
      "type": "modify",
      "old_id": "b69574e0fdfb04bf058848d8b4a6765617992848",
      "old_mode": 33188,
      "old_path": "gdb/python/python-internal.h",
      "new_id": "5529e9fd4d7d5abb1798002473603a80f9d4fd47",
      "new_mode": 33188,
      "new_path": "gdb/python/python-internal.h"
    },
    {
      "type": "modify",
      "old_id": "191ace4d384aa49f757d64ec9cebd129cb463dc5",
      "old_mode": 33188,
      "old_path": "gdb/python/python.c",
      "new_id": "14c243b135e21eca58e9a27fca2d3d220ec2178b",
      "new_mode": 33188,
      "new_path": "gdb/python/python.c"
    },
    {
      "type": "modify",
      "old_id": "a55c2c6dd2bb0cd487bed792f6733596d20ea189",
      "old_mode": 33188,
      "old_path": "gdb/varobj.c",
      "new_id": "b1429bfe69afa4519acb7d8fe4e7054b5561412f",
      "new_mode": 33188,
      "new_path": "gdb/varobj.c"
    }
  ]
}
