)]}'
{
  "commit": "82d0a72cdc9ca6cd37a8987e2bcd2eb707c51149",
  "tree": "871b135651665b27e60d77fd25022ce98b6df31b",
  "parents": [
    "3c5fcec6dccb0e598d1e64640e55d50ed3ddedb6"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Tue Dec 07 22:26:05 2021 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Feb 02 16:27:36 2022 +0000"
  },
  "message": "gdb: handle calls to edit command passing only a linespec condition\n\nWhile working on the previous commit to fix PR cli/28665, I noticed\nthat the \u0027edit\u0027 command would suffer from the same problem.  That is,\nsomething like:\n\n  (gdb) edit task 123\n\nwould cause GDB to break.  For a full explanation of what\u0027s going on\nhere, see the commit message for the previous commit.\n\nAs with the previous commit, this issue can be prevented by detecting,\nand throwing, a junk at the end of the line error earlier, before\ncalling decode_line_1.\n\nSo, that\u0027s what this commit does.  I\u0027ve also added some tests for this\nissue.\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d28665\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "648005ffdfe680cdacd436b0e1882827fa34fd77",
      "old_mode": 33188,
      "old_path": "gdb/cli/cli-cmds.c",
      "new_id": "1d14b8e45270743cec04f7a0cad74dd2c2cb9026",
      "new_mode": 33188,
      "new_path": "gdb/cli/cli-cmds.c"
    },
    {
      "type": "modify",
      "old_id": "e258f6bb98c82429515293c5f66cb53108cb6529",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.linespec/errors.exp",
      "new_id": "c895e25da03ebe22b4edf9830d40df7103ffb173",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.linespec/errors.exp"
    }
  ]
}
