)]}'
{
  "commit": "fbbb45cef5f740d0e273b0f5fe4d19a093c2bf8f",
  "tree": "33ffeec8caa2d91de6ca91bcdb8df571ec9d5bbf",
  "parents": [
    "49d31dc98e3f4bb15553bab9d903c542287446d4"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Sat Feb 05 11:25:14 2022 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Apr 04 13:10:52 2022 +0100"
  },
  "message": "opcodes/i386: partially implement disassembler style support\n\nThis commit adds partial support for disassembler styling in the i386\ndisassembler.\n\nThe i386 disassembler collects the instruction arguments into an array\nof strings, and then loops over the array printing the arguments out\nlater on.  The problem is that by the time we print the arguments out\nit\u0027s not obvious what the type of each argument is.\n\nObviously this can be fixed, but I\u0027d like to not do that as part of\nthis commit, rather, I\u0027d prefer to keep this commit as small as\npossible to get the basic infrastructure in place, then we can improve\non this, to add additional styling, in later commits.\n\nFor now then, I think this commit should correctly style mnemonics,\nsome immediates, and comments.  Everything else will be printed as\nplain text, which will include most instruction arguments, unless the\nargument is printed as a symbol, by calling the print_address_func\ncallback.\n\nIgnoring colours, there should be no other user visible changes in the\noutput of the disassembler in either objdump or gdb.\n\nopcodes/ChangeLog:\n\n\t* disassembler.c (disassemble_init_for_target): Set\n\tcreated_styled_output for i386 based targets.\n\t* i386-dis.c: Changed throughout to use fprintf_styled_func\n\tinstead of fprintf_func.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "894c97acc2e3ab9020d17dc22fb3135f1d605c75",
      "old_mode": 33188,
      "old_path": "opcodes/disassemble.c",
      "new_id": "bd1b90b3956a2d9a7a15ac5d6a65fa312694354a",
      "new_mode": 33188,
      "new_path": "opcodes/disassemble.c"
    },
    {
      "type": "modify",
      "old_id": "db13eea18b9a575e0a82c885cbd3b1dc710bd6b3",
      "old_mode": 33188,
      "old_path": "opcodes/i386-dis.c",
      "new_id": "101eeea150c34447a7f29754e7a934253c263e8b",
      "new_mode": 33188,
      "new_path": "opcodes/i386-dis.c"
    }
  ]
}
