)]}'
{
  "commit": "fe4c3ca0036b37ea43be1c36728b323f195ef1bb",
  "tree": "d370dbdef4f70cc7694e634642feaead7175b4d0",
  "parents": [
    "ff52c0736a637fec4938f4b957bc8847c709b13c"
  ],
  "author": {
    "name": "Christina Schimpe",
    "email": "christina.schimpe@intel.com",
    "time": "Fri Nov 26 18:23:48 2021 +0000"
  },
  "committer": {
    "name": "Christina Schimpe",
    "email": "christina.schimpe@intel.com",
    "time": "Mon Jan 30 12:45:31 2023 +0100"
  },
  "message": "gdb: Add per-remote target variables for memory read and write config\n\nThis patch adds per-remote target variables for the configuration of\nmemory read- and write packet size.  It is a further change to commit\n\"gdb: Make global feature array a per-remote target array\" to apply the\nfixme notes described in commit 5b6d1e4 \"Multi-target support\".\n\nThe former global variables for that configuration are still available\nto allow the command line configuration for all future remote\nconnections.  Similar to the command line configuration of the per-\nremote target feature array, the commands\n\n- set remotewritesize (deprecated)\n- set remote memory-read-packet-size\n- set remote memory-write-packet-size\n\nwill configure the current target (if available).  If no target is\navailable, the default configuration for future remote connections is\nadapted.  The show command will display the current remote target\u0027s\npacket size configuration.  If no remote target is selected, the default\nconfiguration for future connections will be shown.\n\nIt is required to adapt the test gdb.base/remote.exp which is failing\nfor --target_board\u003dnative-extended-gdbserver.  With that board GDB\nconnects to gdbserver at gdb start time.  Due to this patch two loggings\n\"The target may not be able to..\" are shown if the command \u0027set remote\nmemory-write-packet-size fixed\u0027 is executed while a target is connected\nfor the current inferior.  To fix this, the clean_restart command is\nmoved to a later time point of the test.  It is sufficient to be\nconnected to the server when \"runto_main\" is executed.  Now the\nconnection time is similar to a testrun with\n--target_board\u003dnative-gdbserver.\n\nTo allow the user to distinguish between the packet-size configuration\nfor future remote connections and for the currently selected target, the\ncommands\u0027 loggings are adapted.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9a40932b79d07d37e9b011395d4509e1fce7b2d1",
      "old_mode": 33188,
      "old_path": "gdb/NEWS",
      "new_id": "445d28efed998fe68ed1dff3812e8306514d4d44",
      "new_mode": 33188,
      "new_path": "gdb/NEWS"
    },
    {
      "type": "modify",
      "old_id": "afbb4dea99838e99caff4faa6c30b6ab3cb9c4c3",
      "old_mode": 33188,
      "old_path": "gdb/doc/gdb.texinfo",
      "new_id": "03033c7f9e31397a734be56da23e13a5452fe852",
      "new_mode": 33188,
      "new_path": "gdb/doc/gdb.texinfo"
    },
    {
      "type": "modify",
      "old_id": "e4333291de80d93d85bfa85fcfdbfe326e02963e",
      "old_mode": 33188,
      "old_path": "gdb/remote.c",
      "new_id": "9f78d35954208ed3fcab961a29eed2d6cd088816",
      "new_mode": 33188,
      "new_path": "gdb/remote.c"
    },
    {
      "type": "modify",
      "old_id": "b9b05deb2b5efe075a52fd04a4504bc2c3860b90",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/remote.exp",
      "new_id": "3dc5f8f97eefd0490ff4d6f9ff90ce595a2e7f69",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/remote.exp"
    }
  ]
}
