)]}'
{
  "commit": "995cf2f8feb57aa564eb4ec1191e3290affc574b",
  "tree": "a5f36b8a35b2179e88d8f49e225bf9b021e732b1",
  "parents": [
    "55c46eed2c8a132df2cd98cd0115ad6862604ca2"
  ],
  "author": {
    "name": "Matthieu Longo",
    "email": "matthieu.longo@arm.com",
    "time": "Fri Feb 20 10:45:27 2026 +0000"
  },
  "committer": {
    "name": "Matthieu Longo",
    "email": "matthieu.longo@arm.com",
    "time": "Tue Mar 10 11:22:28 2026 +0000"
  },
  "message": "gdb: introduce rgb_color type to simplify existing code\n\nThis patch replaces the raw uint8[3] buffer used to represent RGB values\nwith a more convenient wrapper, rgb_color, around std::array\u003cuint8_t, 3\u003e.\nIt also changes the return type of ui_file_style::color::get_rgb to\nrgb_color instead of filling a caller-provided buffer, and updates all\ncallers accordingly.\n\nThis expected benefit of this change consists in:\n- removing the manual size handling.\n- proving accessors without using hard-coded indexes.\n- making the API safer.\n- simplifying call sites.\n\nThis refactoring does not introduce any functional change.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c3a1d6632157132f4dd73c82ca1291d1e285782e",
      "old_mode": 33188,
      "old_path": "gdb/guile/scm-color.c",
      "new_id": "4ffe303578cf8881c595fee18684d01ee6aa02a1",
      "new_mode": 33188,
      "new_path": "gdb/guile/scm-color.c"
    },
    {
      "type": "modify",
      "old_id": "efad50c4cbeb4d8bb955d474fb9841ecb2a957de",
      "old_mode": 33188,
      "old_path": "gdb/mingw-hdep.c",
      "new_id": "90ebe252f57ec1a2b9cf3d3833b1f160509635f9",
      "new_mode": 33188,
      "new_path": "gdb/mingw-hdep.c"
    },
    {
      "type": "modify",
      "old_id": "04f7addec2f67631775a678b6ba7e6acdead1659",
      "old_mode": 33188,
      "old_path": "gdb/python/py-color.c",
      "new_id": "971209958cf7da0eff5c4c4f8564f9a043bc06b6",
      "new_mode": 33188,
      "new_path": "gdb/python/py-color.c"
    },
    {
      "type": "modify",
      "old_id": "f673fbf36f6d2b3db240de327c66368e64dfc435",
      "old_mode": 33188,
      "old_path": "gdb/tui/tui-io.c",
      "new_id": "a9a50446e8a779c55cfe7ab89e6f898b7cceb6db",
      "new_mode": 33188,
      "new_path": "gdb/tui/tui-io.c"
    },
    {
      "type": "modify",
      "old_id": "7ab466e24073f23090a3f6a57650e241829d2e6f",
      "old_mode": 33188,
      "old_path": "gdb/ui-style.c",
      "new_id": "a191c753b08806ea58a8d18f9ed08dcaff2f3865",
      "new_mode": 33188,
      "new_path": "gdb/ui-style.c"
    },
    {
      "type": "modify",
      "old_id": "fca9150889bd4924d4405ce83ed057a93f87dcc8",
      "old_mode": 33188,
      "old_path": "gdb/ui-style.h",
      "new_id": "a1d656cd39cfd4e59c23535ba2f6e7ddbaa2ba22",
      "new_mode": 33188,
      "new_path": "gdb/ui-style.h"
    },
    {
      "type": "modify",
      "old_id": "f10a24d421746cc623aac10a6aaab507aed53a55",
      "old_mode": 33188,
      "old_path": "gdb/unittests/style-selftests.c",
      "new_id": "9035050bd6ce0a6fc718f942bf94d7c1a5680017",
      "new_mode": 33188,
      "new_path": "gdb/unittests/style-selftests.c"
    }
  ]
}
