)]}'
{
  "commit": "d0273077ccbf6847b448604d407d41af3f987652",
  "tree": "b32b90c53c956ea3954ac116cae46a42852f0ee4",
  "parents": [
    "2e703c09ecb2d025dd86511a1333ca6ac10deab4"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Thu Apr 18 20:22:36 2024 +0100"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri Apr 26 21:22:46 2024 +0100"
  },
  "message": "Document \"E.MESSAGE\" RSP errors\n\nFor many years, GDB has accepted a \"E.MESSAGE\" error reponse, in\naddition to \"E NN\".  For many packets, GDB strips the \"E.\" before\ngiving the error message to the user.  For others, GDB does not strip\nthe \"E.\", but still understands that it is an error, as it starts with\n\"E\", and either prints the whole string, or ignores it and just\nmentions an error occured (same as for \"E NN\").\n\nThis has been the case for as long as I remember.  Now that I check, I\nsee that it\u0027s been there since 2006 (commit a76d924dffcb, also here:\nhttps://sourceware.org/pipermail/gdb-patches/2006-September/047286.html).\nAll along, I actually thought it was documented.  Turns out it wasn\u0027t.\n\nThis commit documents it, in the new \"Standard Replies\" section, near\nwhere we document \"E NN\".\n\nThe original version of this 3-patch documentation series was a single\nCodeSourcery patch that documented the textual error as\n\"E.NAME.MESSAGE\", with MESSAGE being 8-bit binary encoded.  But I\nthink the ship has sailed for that.  GDBserver has been sending error\nmessages with more than one \".\" for a long while, and with no binary\nencoding.  Still, I\u0027ve preserved the \"Co-Authored-By\" list of the\noriginal larger patch.\n\nThe \u0027qRcmd\u0027 and \u0027m\u0027 commands are exceptions and do not accept this\nreply format.  The top of the \"Standard Replies\" section already says:\n\n  \"All commands support these, except as noted in the individual\n  command descriptions.\"\n\nSo this adds a note to the description of \u0027qRcmd\u0027 and \u0027m\u0027, explicitly\nstating that they do not support this error reply format.\n\nChange-Id: Ie4fee3d00d82ede39e439bf162e8cb7485532fd8\nCo-Authored-By: Jim Blandy \u003cjimb@codesourcery.com\u003e\nCo-Authored-By: Mike Wrighton \u003cmike_wrighton@mentor.com\u003e\nCo-Authored-By: Nathan Sidwell \u003cnathan@codesourcery.com\u003e\nCo-Authored-By: Hafiz Abid Qadeer \u003cabidh@codesourcery.com\u003e\nApproved-By: Eli Zaretskii \u003celiz@gnu.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b5f6b9cd80271e51318f05d21f3df8f329b46423",
      "old_mode": 33188,
      "old_path": "gdb/doc/gdb.texinfo",
      "new_id": "92731c510b254b2285c7df69fa60210c0a571322",
      "new_mode": 33188,
      "new_path": "gdb/doc/gdb.texinfo"
    }
  ]
}
