)]}'
{
  "commit": "d56bdeb9c2e434b91d5e6d605b92bb1cd21177e5",
  "tree": "4db3b8434c7fdb2bfdfa6dd72fe06f45d5e7edff",
  "parents": [
    "6a229058a5443befdb7b614f164b997525d25c2d"
  ],
  "author": {
    "name": "Alan Hayward",
    "email": "alan.hayward@arm.com",
    "time": "Fri May 11 11:52:55 2018 +0100"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@ericsson.com",
    "time": "Fri Jun 01 00:34:18 2018 -0400"
  },
  "message": "Add methods to gdbserver regcache and raw_compare\n\nAdd additional functions to gdbserver regcache to make it more like gdb\nregcache. This will allow the next patch to add a common function which\nuses regcache.\nThe alternatives for the next patch would be to either duplicate the\ncommon code in both gdb and gdbserver, or alternatively pass function\npointers for read register, write register, get status to the common code.\n\nIn addition, add a register compare function. This will be used in the\nnext patch. Alternatively instead of adding a new function, I could read\ninto a buffer and then compare.\n\n2018-05-11  Alan Hayward  \u003calan.hayward@arm.com\u003e\n\ngdb/\n\t* regcache.c (regcache::raw_compare): New function.\n\t* regcache.h (regcache::raw_compare): New declaration.\n\ngdbserver/\n\t* regcache.c (register_data): New function.\n\t(supply_register): Call member function.\n\t(regcache::raw_supply): Replacement for supply_register.\n\t(collect_register): Call member function.\n\t(regcache::raw_collect): Replacement for collect_register.\n\t(regcache::get_register_status): New function.\n\t(regcache::raw_compare): Likewise.\n\t* regcache.h: (regcache::raw_supply): New declaration.\n\t* (regcache::raw_collect): Likewise.\n\t* (regcache::raw_compare): Likewise.\n\t* (regcache::get_register_status): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0718b9f9a04d58577f71ab14887e18dc05fee018",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/regcache.c",
      "new_id": "88f0db048321304e653c4fc6842eb98c898955e9",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/regcache.c"
    },
    {
      "type": "modify",
      "old_id": "2c0df648f6d439517b56844d00b1bf0a1c9eafd1",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/regcache.h",
      "new_id": "b3631bebd27efc29196b5b819a0a2d2144e05a7f",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/regcache.h"
    },
    {
      "type": "modify",
      "old_id": "71898cf7708c5f7825248b230806d8fd9e2473a3",
      "old_mode": 33188,
      "old_path": "gdb/regcache.c",
      "new_id": "a2a43da04604a2a14c9c1c93f1628ded9bb8b8dd",
      "new_mode": 33188,
      "new_path": "gdb/regcache.c"
    },
    {
      "type": "modify",
      "old_id": "f84138f543953abc2e63d92dc2f9d5b7a7764d70",
      "old_mode": 33188,
      "old_path": "gdb/regcache.h",
      "new_id": "432e1b30a92fa33728e1cdf17c4464502beb4508",
      "new_mode": 33188,
      "new_path": "gdb/regcache.h"
    }
  ]
}
