)]}'
{
  "commit": "c8154ce0d6942e5988076edd674036ff384ab433",
  "tree": "963c708838288216c653411d944ea3bb6b61d322",
  "parents": [
    "ca028a46d51374864e4a4aa2942dfa7d93b893ce"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Apr 04 21:07:54 2022 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Apr 06 13:09:44 2022 +0100"
  },
  "message": "gdb: move gdb_disassembly_flag into a new disasm-flags.h file\n\nWhile working on the disassembler I was getting frustrated.  Every\ntime I touched disasm.h it seemed like every file in GDB would need to\nbe rebuilt.  Surely the disassembler can\u0027t be required by that many\nparts of GDB, right?\n\nTurns out that disasm.h is included in target.h, so pretty much every\nfile was being rebuilt!\n\nThe only thing from disasm.h that target.h needed is the\ngdb_disassembly_flag enum, as this is part of the target_ops api.\n\nIn this commit I move gdb_disassembly_flag into its own file.  This is\nthen included in target.h and disasm.h, after which, the number of\nfiles that depend on disasm.h is much reduced.\n\nI also audited all the other includes of disasm.h and found that the\nincludes in mep-tdep.c and python/py-registers.c are no longer needed,\nso I\u0027ve removed these.\n\nNow, after changing disasm.h, GDB rebuilds much quicker.\n\nThere should be no user visible changes after this commit.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a775b2f4d191146c95a68bc6748b6ec66f6b17cd",
      "old_mode": 33188,
      "old_path": "gdb/Makefile.in",
      "new_id": "647f012ad4f10f74a675766eccdab5a885e6e73f",
      "new_mode": 33188,
      "new_path": "gdb/Makefile.in"
    },
    {
      "type": "modify",
      "old_id": "e895b72ce7162324929e382971e4725e731b5be8",
      "old_mode": 33188,
      "old_path": "gdb/arc-linux-tdep.c",
      "new_id": "1744b7544cdc5cc682c8b78d3001c86b5468d459",
      "new_mode": 33188,
      "new_path": "gdb/arc-linux-tdep.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "025b689394183c8f6dfda673edc30c0a65e515af",
      "new_mode": 33188,
      "new_path": "gdb/disasm-flags.h"
    },
    {
      "type": "modify",
      "old_id": "b71cd097a16864627958ccaa28c8f3b0bf96082f",
      "old_mode": 33188,
      "old_path": "gdb/disasm.h",
      "new_id": "7efab7db46c4f8b36db9871c07d628df6a95cdad",
      "new_mode": 33188,
      "new_path": "gdb/disasm.h"
    },
    {
      "type": "modify",
      "old_id": "696d9c63bce978f72107111d78a7495130a023f9",
      "old_mode": 33188,
      "old_path": "gdb/mep-tdep.c",
      "new_id": "d16c68e6fb63cf450ed46a13c940cc341b051f27",
      "new_mode": 33188,
      "new_path": "gdb/mep-tdep.c"
    },
    {
      "type": "modify",
      "old_id": "eab88a30b3b7640483042a48d0ceec2ff081fbbe",
      "old_mode": 33188,
      "old_path": "gdb/python/py-registers.c",
      "new_id": "975eb2ca72db48fc31590f8b7936707d42428d96",
      "new_mode": 33188,
      "new_path": "gdb/python/py-registers.c"
    },
    {
      "type": "modify",
      "old_id": "bf6a71c7f7f908f3d1184e9804fe54aea6d85255",
      "old_mode": 33188,
      "old_path": "gdb/s12z-tdep.c",
      "new_id": "5394c1bbf5ea457acb999a08a66ebde0a5372fce",
      "new_mode": 33188,
      "new_path": "gdb/s12z-tdep.c"
    },
    {
      "type": "modify",
      "old_id": "4cc79df05b41e40713586b4b897bedcc9324a341",
      "old_mode": 33188,
      "old_path": "gdb/target.h",
      "new_id": "c9791e850acd9d0a5ffd76bbee085299ffa14916",
      "new_mode": 33188,
      "new_path": "gdb/target.h"
    }
  ]
}
