)]}'
{
  "commit": "e7ad52cde6c8bb7e592ce60cdfe508cd00c3db11",
  "tree": "accce7c87b4d25aacf910826197cf1cb26f1e4f6",
  "parents": [
    "0e1b3420fbb2a3022a1ceac49ce37af3e59d0856"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Aug 10 11:12:39 2023 +0930"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Sat Aug 19 12:41:32 2023 +0930"
  },
  "message": "sim --enable-cgen-maint\n\nI had reason yesterday to want to regenerate configury files which I\ndo with --enable-maintainer-mode, and added --enable-cgen-maint\naccidentally.  The first problem I hit is that sim looks for cgen in a\ndifferent directory by default than opcodes, and I had my source\nlayout set up for opcodes rather than sim.  Fix that by making both\nuse ../cgen first, then ../../cgen relative to sim/ and opcodes/.  The\nnext problem was that various sim local.mk files expected generated\nsources in the build dir rather than the source dir.  Fix that by\nadding $(srcdir) to paths.  Finally, the generated iq2000 files had a\ncompile error, fixed by the cpu/iq2000.cpu patch.\n\ncpu/\n\t* iq2000.cpu (syscall): Add pc arg.\nopcodes/\n\t* configure.ac (cgendir): Default to ../../cgen, but use ../cgen\n\tif found there.\n\t* configure: Regenerate.\nsim/m4/\n\t* sim_ac_option_cgen_maint.m4 (cgendir): Look in ../cgen too.\nsim/\n\t* cris/local.mk: Add $(srcdir) to paths for regenerated source.\n\t* frv/local.mk: Likewise.\n\t* iq2000/local.mk: Likewise.\n\t* lm32/local.mk: Likewise.\n\t* m32r/local.mk: Likewise.\n\t* or1k/local.mk: Likewise.\n\t* Makefile.in: Regenerate.\n\t* configure: Regenerate.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cb9cfae1d43e173f8ea6401e6d96d757bc72c055",
      "old_mode": 33188,
      "old_path": "cpu/iq2000.cpu",
      "new_id": "dcf971c5c2bdc1853e693b5685cd333514d382ee",
      "new_mode": 33188,
      "new_path": "cpu/iq2000.cpu"
    },
    {
      "type": "modify",
      "old_id": "69a1febed3cdb2a1647b3784f8349779bc3227b2",
      "old_mode": 33261,
      "old_path": "opcodes/configure",
      "new_id": "a65b0a2f95b5375a78a91576ac1458d65c71843c",
      "new_mode": 33261,
      "new_path": "opcodes/configure"
    },
    {
      "type": "modify",
      "old_id": "ac4921f5491a61a1446151fcb1a091197fe1027c",
      "old_mode": 33188,
      "old_path": "opcodes/configure.ac",
      "new_id": "cae2a67ff1096ca725e8421996c92779b5737aef",
      "new_mode": 33188,
      "new_path": "opcodes/configure.ac"
    },
    {
      "type": "modify",
      "old_id": "9e03dcbbc3aa71d811ea7909b824aed70a2c6e4b",
      "old_mode": 33188,
      "old_path": "sim/Makefile.in",
      "new_id": "d32092b2693997f15f19960895b781197d8a79f6",
      "new_mode": 33188,
      "new_path": "sim/Makefile.in"
    },
    {
      "type": "modify",
      "old_id": "d8b0555b5dc454c281f8ba9367b62b1db8e40646",
      "old_mode": 33261,
      "old_path": "sim/configure",
      "new_id": "de67d95d4abf90fd6c75c73f0fab387453492320",
      "new_mode": 33261,
      "new_path": "sim/configure"
    },
    {
      "type": "modify",
      "old_id": "df370e6cdf928cb26b997dd8223ae3abbb75e81e",
      "old_mode": 33188,
      "old_path": "sim/cris/local.mk",
      "new_id": "2546ed56bcb28149d7ecd41ee9c80da60d638bb2",
      "new_mode": 33188,
      "new_path": "sim/cris/local.mk"
    },
    {
      "type": "modify",
      "old_id": "32d81f5f409d60b7cfb0da008bbee408ba626b9f",
      "old_mode": 33188,
      "old_path": "sim/frv/local.mk",
      "new_id": "fab1c5f48cd879e70d1a6a769cb9620c9a724dc9",
      "new_mode": 33188,
      "new_path": "sim/frv/local.mk"
    },
    {
      "type": "modify",
      "old_id": "c4518a61eb7d0519f78ed5e1d420a05108651051",
      "old_mode": 33188,
      "old_path": "sim/iq2000/local.mk",
      "new_id": "99649ec7ad0c2336c6b5dce45460ec36a3958af2",
      "new_mode": 33188,
      "new_path": "sim/iq2000/local.mk"
    },
    {
      "type": "modify",
      "old_id": "404ba5d76d480e082fe2ae6f897b03516af7c50f",
      "old_mode": 33188,
      "old_path": "sim/lm32/local.mk",
      "new_id": "917e6bb42ea6383b6a7bb42e988af985e0d9ebd1",
      "new_mode": 33188,
      "new_path": "sim/lm32/local.mk"
    },
    {
      "type": "modify",
      "old_id": "321693bbf010eff541feb0fb3b3f810c7635830f",
      "old_mode": 33188,
      "old_path": "sim/m32r/local.mk",
      "new_id": "db54567532108ad112f4e2504a49b9c0b82ded40",
      "new_mode": 33188,
      "new_path": "sim/m32r/local.mk"
    },
    {
      "type": "modify",
      "old_id": "7cf6459464d3361213a6f809d7886810a5bc63b5",
      "old_mode": 33188,
      "old_path": "sim/m4/sim_ac_option_cgen_maint.m4",
      "new_id": "dee137f14984798e727906c5b543065a8aeaece5",
      "new_mode": 33188,
      "new_path": "sim/m4/sim_ac_option_cgen_maint.m4"
    },
    {
      "type": "modify",
      "old_id": "d0201ae9fd9e2350a065f560a4149aaa166dd5a0",
      "old_mode": 33188,
      "old_path": "sim/or1k/local.mk",
      "new_id": "cb48f821dcf1a9b3fc3bcf7a13bc42742460286c",
      "new_mode": 33188,
      "new_path": "sim/or1k/local.mk"
    }
  ]
}
