)]}'
{
  "commit": "52ca06e807be411af8cdfeafbe36a86e26c628af",
  "tree": "cfc581278120f05c0b2aa0d05f05bf0265d5653c",
  "parents": [
    "f3f34f2b26259dfa7ecd37c8ba079e18f69c6ab5"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Fri Mar 15 11:14:05 2024 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Tue Mar 19 16:03:34 2024 +0000"
  },
  "message": "gdb/python: test exception case for gdb.solib_name\n\nThe gdb.solib_name() and Progspace.solib_name() functions can throw an\nexception if the address argument is not a valid address, but this is\nnot currently tested.\n\nThis commit adds a couple of tests to check that exceptions are thrown\ncorrectly.\n\nAn early version of this commit updated the documentation, but it was\npointed out that lots of functions throw an exception if passed an\nargument of the wrong type, and we don\u0027t document all of these, it\u0027s\nkind-of assumed that passing an object of the incorrect type might\nresult in an exception, so this updated version leaves the docs alone,\nbut I do think adding the extra tests has value.\n\nThere\u0027s no changes to GDB itself in this commit.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6faa6cde521d07d90cad6baa959b99c21d98c819",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-shared.exp",
      "new_id": "9be5aa467e299fd95c791245bb911f28314a069d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-shared.exp"
    }
  ]
}
