)]}'
{
  "commit": "cb5997da94752f35bbbc38fe5b1eedc307b0731c",
  "tree": "e012f73fa4cf578208e924f2d42450d4be11d955",
  "parents": [
    "9c13221eaf486d6c140f6202f836d80e2a8a69fe"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Fri Oct 04 19:24:32 2024 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Thu Oct 10 17:36:21 2024 +0100"
  },
  "message": "gdb: make use of set_tdesc_osabi overload in features/ files\n\nThere are two versions of the set_tdesc_osabi function in GDB:\n\n  void\n  set_tdesc_osabi (struct target_desc *target_desc, const char *name)\n  {\n    set_tdesc_osabi (target_desc, osabi_from_tdesc_string (name));\n  }\n\n  void\n  set_tdesc_osabi (struct target_desc *target_desc, enum gdb_osabi osabi)\n  {\n    target_desc-\u003eosabi \u003d osabi;\n  }\n\nIn the gdb/features/ files we call the second of these functions, like\nthis:\n\n  set_tdesc_osabi (result.get (), osabi_from_tdesc_string (\"GNU/Linux\"));\n\nThis can be replaced with a call to the first set_tdesc_osabi\nfunction, so lets do that.  I think that this makes the features/ code\nslightly simpler and easier to understand.\n\nThere should be no user visible changes after this commit.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\nApproved-By: Simon Marchi \u003csimon.marchi@efficios.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d8e40283cafb0998052de1404849973dcc90c9e4",
      "old_mode": 33188,
      "old_path": "gdb/features/mips-dsp-linux.c",
      "new_id": "17d30aac68f6d90abe3ca59362b70938040b52ee",
      "new_mode": 33188,
      "new_path": "gdb/features/mips-dsp-linux.c"
    },
    {
      "type": "modify",
      "old_id": "f93eef5e41dcfc62edb0fa219b31bd60a2c6396b",
      "old_mode": 33188,
      "old_path": "gdb/features/mips-linux.c",
      "new_id": "a43526db24ee03310855f9bd872fdc217807b16b",
      "new_mode": 33188,
      "new_path": "gdb/features/mips-linux.c"
    },
    {
      "type": "modify",
      "old_id": "24731458de2c7654726fecdfce374c6494b9a543",
      "old_mode": 33188,
      "old_path": "gdb/features/or1k-linux.c",
      "new_id": "551b38f59c0fd869d00f9eaf0e296882dd8b8811",
      "new_mode": 33188,
      "new_path": "gdb/features/or1k-linux.c"
    },
    {
      "type": "modify",
      "old_id": "dce96851f96a5138b5f133f28a8b63c9d43f6f9a",
      "old_mode": 33188,
      "old_path": "gdb/features/sparc/sparc32-solaris.c",
      "new_id": "ce57abaaaf2696181fc35e199a08cc7934253da5",
      "new_mode": 33188,
      "new_path": "gdb/features/sparc/sparc32-solaris.c"
    },
    {
      "type": "modify",
      "old_id": "d030df63c6cc4b14fcff8943c3d079619163aa06",
      "old_mode": 33188,
      "old_path": "gdb/features/sparc/sparc64-solaris.c",
      "new_id": "92cc88cd5cf70ac452eb697d1a45cfb71bc3a2cd",
      "new_mode": 33188,
      "new_path": "gdb/features/sparc/sparc64-solaris.c"
    },
    {
      "type": "modify",
      "old_id": "d78da14918f5f82b245338345bba510ba84ab135",
      "old_mode": 33188,
      "old_path": "gdb/target-descriptions.c",
      "new_id": "c165750c6c52af5a8c977463e09556fbbc445b9d",
      "new_mode": 33188,
      "new_path": "gdb/target-descriptions.c"
    }
  ]
}
