)]}'
{
  "commit": "182f44d67243a3270ec540e92a8ba6ea327ba004",
  "tree": "213ef4b0ee0994961c0fbf412398d7a465b6bdf9",
  "parents": [
    "c749ff472db05b55b183eac3de5a0edd75798a56"
  ],
  "author": {
    "name": "Alan Hayward",
    "email": "alan.hayward@arm.com",
    "time": "Thu Sep 13 16:48:51 2018 +0100"
  },
  "committer": {
    "name": "Alan Hayward",
    "email": "alan.hayward@arm.com",
    "time": "Thu Sep 13 16:48:51 2018 +0100"
  },
  "message": "Add gdbserver target methods target_validate_tdesc and arch_setup\n\ntarget_validate_tdesc () is added as a new target function.\nThis function checks current target description is still valid for the\ncurrent inferior, returning false if not. On SVE, we need to check if the\nvector length has changed - if it has then the current target descriptor\nwill need to be switched to a valid one.\n\nThe existing arch_setup () is extended to be a target function.\nThis will later allow it to be called from get_thread_regcache () in\ngdbserver/regcache.c. This call is required to generate a new target\ndescriptor if we have decided the current one is no longer valid.\n\n2018-09-13  Alan Hayward  \u003calan.hayward@arm.com\u003e\n\ngdbserver/\n\t* linux-aarch64-low.c (int aarch64_validate_tdesc): New function.\n\t(struct linux_target_ops): Add aarch64_validate_tdesc.\n\t* linux-low.c (linux_validate_tdesc): New function.\n\t(linux_target_ops): Add linux_arch_setup and linux_validate_tdesc.\n\t* linux-low.h (linux_target_ops): Add validate_tdesc.\n\t* target.h (struct target_ops): Likewise.\n\t(target_arch_setup) New macro.\n\t(target_validate_tdesc) New macro.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1d34e319dfd5f677f7587d84ed868e95c023417e",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-aarch64-low.c",
      "new_id": "dcc19ce18c0e09a0d0729d6b6750a85443163019",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-aarch64-low.c"
    },
    {
      "type": "modify",
      "old_id": "984464fcc217f98b9b35868e410c164ec1cbb84a",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-low.c",
      "new_id": "7153242d54f88a730a561a540542a20ab618525b",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-low.c"
    },
    {
      "type": "modify",
      "old_id": "79b3311f021cfb3a219d725dededbbca5261c602",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-low.h",
      "new_id": "a99e6fc41a5ef732c8e0b0b733128c0a7679d825",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-low.h"
    },
    {
      "type": "modify",
      "old_id": "fce54e05adbc3b6509cb2c891a067154cc72cd4f",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/target.h",
      "new_id": "dfa74ec94f0a8e9971108f7b3409615d8acbc840",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/target.h"
    }
  ]
}
