)]}'
{
  "commit": "d05eef2037f6924ba3903ecf32608f53b0a58686",
  "tree": "72226e75c5cbd5ff7320770e091e4b0beb9df0af",
  "parents": [
    "46f9f93119daaa8eceb7233a17759e10e858c9fd"
  ],
  "author": {
    "name": "Christian Biesinger",
    "email": "cbiesinger@google.com",
    "time": "Thu Mar 05 15:32:54 2020 -0600"
  },
  "committer": {
    "name": "Christian Biesinger",
    "email": "cbiesinger@google.com",
    "time": "Thu Mar 05 18:15:14 2020 -0600"
  },
  "message": "Remove use of deprecated core functions (in NetBSD/ARM)\n\nThis is in preparation for deleting deprecated_add_core_fns and\nrelated code.\n\nAs a side-effect, this makes it possible to read NetBSD/ARM\ncore files on non-NetBSD/ARM platforms, subject to PR corefiles/25638.\n\nI have removed this comment:\n-  /* This is ok: we\u0027re running native...  */\nSince we are using the gdbarch from the regcache, we should be\nguaranteed to be calling the right function here, so it shouldn\u0027t\nmatter whether we are running native.\n\nTested by reading a NetBSD/ARM core file on Linux/x86-64 and NetBSD/ARM;\nthe \"info registers\" output matches the one from the system GDB.\n\ngdb/ChangeLog:\n\n2020-03-05  Christian Biesinger  \u003ccbiesinger@google.com\u003e\n\n\t* Makefile.in (HFILES_NO_SRCDIR): Add new arm-nbsd-tdep.h file.\n\t* arm-nbsd-nat.c (arm_supply_gregset): Moved to arm-nbsd-tdep and\n\trenamed to arm_nbsd_supply_gregset.\n\t(fetch_register): Update to call arm_nbsd_supply_gregset.\n\t(fetch_regs): Remove in favor of fetch_register with a -1 regno.\n\t(arm_netbsd_nat_target::fetch_registers): Update.\n\t(fetch_elfcore_registers): Removed.\n\t(_initialize_arm_netbsd_nat): Removed call to deprecated_add_core_fns.\n\t* arm-nbsd-tdep.c (struct arm_nbsd_reg): New struct.\n\t(arm_nbsd_supply_gregset): Moved from arm-nbsd-nat.c and updated to\n\tnot require NetBSD system headers.\n\t(arm_nbsd_regset): New struct.\n\t(arm_nbsd_iterate_over_regset_sections): New function.\n\t(arm_netbsd_init_abi_common): Updated to call\n\tset_gdbarch_iterate_over_regset_sections.\n\t* arm-nbsd-tdep.h: New file.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7c0a0aefbc2998b80e6054e9aecf59f607724f3a",
      "old_mode": 33188,
      "old_path": "gdb/Makefile.in",
      "new_id": "1a837eda8d54ace2224e127e9d88cdbf807f78ea",
      "new_mode": 33188,
      "new_path": "gdb/Makefile.in"
    },
    {
      "type": "modify",
      "old_id": "04fedd4be3af266523f2e7dacb14c876976d40a8",
      "old_mode": 33188,
      "old_path": "gdb/arm-nbsd-nat.c",
      "new_id": "cb31462737d0cbcea68c79cf8cd8efb79872980f",
      "new_mode": 33188,
      "new_path": "gdb/arm-nbsd-nat.c"
    },
    {
      "type": "modify",
      "old_id": "2642024022ee015aed4247e4abbb92b5fd51b768",
      "old_mode": 33188,
      "old_path": "gdb/arm-nbsd-tdep.c",
      "new_id": "689c4b62197307851ff87ff446ff57b56d1bcc87",
      "new_mode": 33188,
      "new_path": "gdb/arm-nbsd-tdep.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1b35395031cf489f51c0d53929e29df59bf75d0e",
      "new_mode": 33188,
      "new_path": "gdb/arm-nbsd-tdep.h"
    }
  ]
}
