)]}'
{
  "commit": "285072c3d5612f8eeaf3d621346ab4a2586c7bf0",
  "tree": "2b74c06b87e9c9632d37b52d870b7ff4222ecab5",
  "parents": [
    "55a0f464f57f73f6e07d71f55e99a518265d80d7"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Fri Mar 20 15:05:16 2026 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Mar 23 10:15:11 2026 +0000"
  },
  "message": "gdb/python: allow Architecture.disassemble to give styled output\n\nExtend the Architecture.disassemble API to allow the user to request\nstyled disassembler output via a new styling argument.  A user can now\nwrite:\n\n  insn \u003d arch.disassemble(address, styling \u003d True)\n\nThe instruction strings returned within INSN will contain ANSI escape\nsequences so long as \u0027set style enabled on\u0027 is in effect.  This means\nthat the user\u0027s personal settings (disabling styling) will override a\nGDB extension that requests styled disassembler output.  I think this\nmakes sense.\n\nThe default for the styling argument is False, this maintains the\ncurrent unstyled output as default.\n\nReviewed-By: Eli Zaretskii \u003celiz@gnu.org\u003e\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e46a510827210be29c03cc747271a0435b594aef",
      "old_mode": 33188,
      "old_path": "gdb/NEWS",
      "new_id": "da74c248c5498edafcfece173035ee3b11b80cc6",
      "new_mode": 33188,
      "new_path": "gdb/NEWS"
    },
    {
      "type": "modify",
      "old_id": "2df3b7c042363fff83d7555846dbcb101d642c71",
      "old_mode": 33188,
      "old_path": "gdb/doc/python.texi",
      "new_id": "d7718818def62164c0f3b57fdca925d44c61793d",
      "new_mode": 33188,
      "new_path": "gdb/doc/python.texi"
    },
    {
      "type": "modify",
      "old_id": "f40d7da17636e3bfc6539ca9e0e24e403dd22c8d",
      "old_mode": 33188,
      "old_path": "gdb/python/py-arch.c",
      "new_id": "4031f925b04d7b4d940addb4f897ae7369607007",
      "new_mode": 33188,
      "new_path": "gdb/python/py-arch.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ec2ae965552b310ff7b2b090281b7697f946adf9",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-arch-disasm-style.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2c38a62b80e96d23ce6d1d6b16c38d5f6af27760",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-arch-disasm-style.exp"
    }
  ]
}
