)]}'
{
  "commit": "e88bc211aebd80281c569e9144634d4f02004a7b",
  "tree": "20333a79b1e4953afd72c7e72df225af5e42d1f7",
  "parents": [
    "a4481c8ff808e7237b99815d84b0d4c06ded6124"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Jul 02 13:32:25 2026 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Jul 16 12:35:18 2026 -0600"
  },
  "message": "Document remote protocol pid and thread id sizes\n\nThe recent ptid work came from a bug where a problem was observed due\nto sign extension.  That bug also suggested documenting the guaranteed\nrange of thread- and process-ids in the remote protocol.\n\nThis patch documents these as being 32-bit values at minimum.  I also\nadded static asserts to ensure this is true -- note that although\n\u0027int\u0027 may be 16 bit per the C standard, I doubt gdb would build on\nsuch a host.\n\nI didn\u0027t specify a maximum because it is host-dependent.  This is\nperhaps something to change, and while I do have some work in this\narea, it\u0027s quite invasive.  Also, while widening the range here would\nbe good, it would also be incompatible in a sense, where a newer\nprotocol implementation may end up using values not supported by older\nversions of gdb.  Perhaps one idea would be to simply change these\nboth to int32_t and move on.\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d33979\nReviewed-By: Eli Zaretskii \u003celiz@gnu.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a698b2b845105a15fc7f1e0774e64c0d427b0339",
      "old_mode": 33188,
      "old_path": "gdb/doc/gdb.texinfo",
      "new_id": "04d761c904ca250462084f7bdf6bff60a9613774",
      "new_mode": 33188,
      "new_path": "gdb/doc/gdb.texinfo"
    },
    {
      "type": "modify",
      "old_id": "ef6da77eb7e799f5713495b0c74186a08ad06703",
      "old_mode": 33188,
      "old_path": "gdbsupport/ptid.h",
      "new_id": "6872f43388078e49d23330889c9f8c1ea6495e04",
      "new_mode": 33188,
      "new_path": "gdbsupport/ptid.h"
    }
  ]
}
