)]}'
{
  "commit": "cf94c9060702ecd052d3972e3b138e11d7b2bc2d",
  "tree": "14c4a6e607b810c9c2673f9a3a5463ff981e61ff",
  "parents": [
    "bbe4c6cf3d39c3370f9a1a57fbb862d330241c27"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Aug 12 23:18:20 2026 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Aug 12 23:18:20 2026 +0200"
  },
  "message": "[gdb] Rewrite error and warning emojis\n\nWhile working on PR34501 I realized that these two strings actually contain\ntwo unicode characters:\n...\nstatic std::string warning_prefix \u003d \"⚠️ \";\nstatic std::string error_prefix \u003d \"❌️ \";\n...\n\nBoth the Warning Sign [1] and the Cross Mark [2] are followed by Variation\nSelector-16 (VS16) [3].\n\nTo make this obvious, I decided to rewrite in a style that makes it explicit\nboth which unicode characters are used, and how they are encoded:\n...\nstatic std::string warning_prefix \u003d u8\"\\u26A0\\uFE0F \";\n...\n\nIn the process I found out that the Cross Mark doesn\u0027t need VS16, because its\ndefault presentation is already \"Emoji\" rather than \"Text\", so that one simply\nbecomes:\n...\nstatic std::string error_prefix \u003d u8\"\\u274C \";\n...\n\nAFAICT, this property (default presentation \u003d\u003d \"Emoji\") can be verified by\nfinding Cross Mark here [4] and checking that property Emoji_Presentation\napplies.\n\nTested on x86_64-linux.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n\n[1] https://www.compart.com/en/unicode/U+26A0\n[2] https://www.compart.com/en/unicode/U+274C\n[3] https://www.compart.com/en/unicode/U+FE0F\n[4] https://www.unicode.org/Public/17.0.0/ucd/emoji/emoji-data.txt\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03a887232c795c92aaf8e5512cac3be08a4d9d32",
      "old_mode": 33188,
      "old_path": "gdb/cli/cli-style.c",
      "new_id": "5c175ee29ea80a6910755a23501f494dc9c251fb",
      "new_mode": 33188,
      "new_path": "gdb/cli/cli-style.c"
    },
    {
      "type": "modify",
      "old_id": "8a49d1c5973c88f70bf4b6010d6dd1178c78d3f3",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/style.exp",
      "new_id": "8d576ff00f1ed72b22ba58710c1830ff38bda33c",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/style.exp"
    }
  ]
}
