)]}'
{
  "commit": "f6dcf290ce55686474bedb3feeadd82f215e170b",
  "tree": "50bb542ba23e4af80284297691d565ca802310ac",
  "parents": [
    "267749aeb02ae0bcd040d45cf4157462e571d96b"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Mon Dec 02 12:37:28 2024 -0700"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Dec 12 07:41:12 2024 -0700"
  },
  "message": "Use generic_printstr from ada_language::printstr\n\nCurrently, if you create a lazy string while in Ada language mode, the\nstring will be rendered strangely, like:\n\n    \"[\"d0\"][\"9f\"][\"d1\"][\"80\"][\"d0\"][\"b8\"]...\n\nThis happens because ada_printstr does not really handle UTF-8\ndecoding.\n\nThis patch changes ada_language::printstr to use generic_printstr when\nUTF-8 is used.\n\nNote that this code could probably be improved some more -- the\ncurrent patch only addresses the narrow case of the Python API.  I\u0027ve\nfiled a follow-up bug (PR ada/32413) for the remaining changes.\n\nApproved-By: Andrew Burgess \u003caburgess@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bd5dcced54ab9a1ac825da9fbac2fc9d869f44bf",
      "old_mode": 33188,
      "old_path": "gdb/ada-lang.c",
      "new_id": "e86b664e3e2687676d8b394de01f3043517945b9",
      "new_mode": 33188,
      "new_path": "gdb/ada-lang.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "39c100142b46840f7c9239c78fe976ca9646e735",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/lazy-string.exp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b5ccd011d25b038dff74180cd5dd0c95a73d3bdc",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/lazy-string/main.adb"
    }
  ]
}
