)]}'
{
  "commit": "61d7f128e6ea37af805be4e365f5879b0d42bb93",
  "tree": "c581803312ce6dcb9b37ef348c37367090ea293e",
  "parents": [
    "b3a9fe6f51fd3922ce7978b6ba5ce0cbdf33885e"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Mon Oct 25 14:33:55 2021 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Mon Oct 25 14:33:55 2021 -0400"
  },
  "message": "gdbserver: make target_pid_to_str return std::string\n\nI wanted to write a warning that included two target_pid_to_str calls,\nlike this:\n\n    warning (_(\"Blabla %s, blabla %s\"),\n\t     target_pid_to_str (ptid1),\n\t     target_pid_to_str (ptid2));\n\nThis doesn\u0027t work, because target_pid_to_str stores its result in a\nstatic buffer, so my message would show twice the same ptid.  Change\ntarget_pid_to_str to return an std::string to avoid this.  I don\u0027t think\nwe save much by using a static buffer, but it is more error-prone.\n\nChange-Id: Ie3f649627686b84930529cc5c7c691ccf5d36dc2\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b6820adbd5656399c977623f8c2caaece5473c09",
      "old_mode": 33188,
      "old_path": "gdbserver/linux-low.cc",
      "new_id": "34ede238d19fb2393e9ea39be7a4e45e4ee36f4b",
      "new_mode": 33188,
      "new_path": "gdbserver/linux-low.cc"
    },
    {
      "type": "modify",
      "old_id": "a4cc3267996ec390a042114e572e6bfd7902a50c",
      "old_mode": 33188,
      "old_path": "gdbserver/remote-utils.cc",
      "new_id": "5bc261a9c7b5b75a01f076bbcf2449a5327f5085",
      "new_mode": 33188,
      "new_path": "gdbserver/remote-utils.cc"
    },
    {
      "type": "modify",
      "old_id": "2cb378ce9c911d714ed56697044f2b68dd277d78",
      "old_mode": 33188,
      "old_path": "gdbserver/server.cc",
      "new_id": "c58f7e01d8da910bbed96c6cf5e8f785e11fcb65",
      "new_mode": 33188,
      "new_path": "gdbserver/server.cc"
    },
    {
      "type": "modify",
      "old_id": "b6a1cb24025d0e3fdd1ca3ba3a6e5934e1e008c5",
      "old_mode": 33188,
      "old_path": "gdbserver/target.cc",
      "new_id": "bfa860546a0a96a931947ef0dab11b6775707e4a",
      "new_mode": 33188,
      "new_path": "gdbserver/target.cc"
    },
    {
      "type": "modify",
      "old_id": "2c4393ec8c61a20d36392bb5f7e6277109a2d627",
      "old_mode": 33188,
      "old_path": "gdbserver/target.h",
      "new_id": "6c863c84666a3544f30a84864bc00dc4655c2871",
      "new_mode": 33188,
      "new_path": "gdbserver/target.h"
    },
    {
      "type": "modify",
      "old_id": "bc8fb267e90b8f9a675db6a25199cc9dae7b7636",
      "old_mode": 33188,
      "old_path": "gdbserver/tracepoint.cc",
      "new_id": "c01973b5e61fceaa2c14d4076a06b01338dc3383",
      "new_mode": 33188,
      "new_path": "gdbserver/tracepoint.cc"
    }
  ]
}
