)]}'
{
  "commit": "1d4ed5907570ef4901f2bbf383e563dc0854bf15",
  "tree": "b2a52866e75b7d3acd20e71318ddd21582c5f2da",
  "parents": [
    "ca5915512b4b20da363c7815ceb24759e9af01c1"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Aug 01 09:23:24 2024 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Aug 01 09:23:24 2024 +0200"
  },
  "message": "[gdb/testsuite] Fix gdb.python/py-format-string.exp with python 3.13\n\nOn fedora rawhide, with python 3.13, I run into:\n...\n(gdb) python print (gdb.parse_and_eval (\u0027a_point_t\u0027).format_string (invalid\u003dTrue))^M\nPython Exception \u003cclass \u0027TypeError\u0027\u003e: \\\n  this function got an unexpected keyword argument \u0027invalid\u0027^M\nError occurred in Python: \\\n  this function got an unexpected keyword argument \u0027invalid\u0027^M\n(gdb) FAIL: $exp: format_string: lang_c: test_all_common: test_invalid_args: \\\n  a_point_t with option invalid\u003dTrue\n...\n\nA passing version with an older python version looks like:\n...\n(gdb) python print (gdb.parse_and_eval (\u0027a_point_t\u0027).format_string (invalid\u003dTrue))^M\nPython Exception \u003cclass \u0027TypeError\u0027\u003e: \\\n  \u0027invalid\u0027 is an invalid keyword argument for this function^M\nError occurred in Python: \\\n  \u0027invalid\u0027 is an invalid keyword argument for this function^M\n(gdb) PASS: $exp: format_string: lang_c: test_all_common: test_invalid_args: \\\n  a_point_t with option invalid\u003dTrue\n...\n\nFix this by accepting the updated error message.\n\nTested on aarch64-linux.\n\nPR testsuite/31912\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d31912\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c70ad562c7bee50e5291b2770c90d39555eb960",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-format-string.exp",
      "new_id": "920921396395f0b8d98f82e8e2b637ec5ad97033",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-format-string.exp"
    }
  ]
}
