)]}'
{
  "commit": "3e3a1874fcec34bcf51b4baf4be09aebab561bff",
  "tree": "28291dbcba9467ac6cf0a882be94b441b60d24a7",
  "parents": [
    "0f819434f242abef3cdbdd3b6f1d94317bc1e81a"
  ],
  "author": {
    "name": "Bruno Larsen",
    "email": "blarsen@redhat.com",
    "time": "Thu Jun 15 12:14:22 2023 +0200"
  },
  "committer": {
    "name": "Bruno Larsen",
    "email": "blarsen@redhat.com",
    "time": "Fri Jul 14 10:58:17 2023 +0200"
  },
  "message": "gdb/cli: add \u0027.\u0027 as an argument for \u0027list\u0027 command\n\nCurrently, after the user has used the list command once, there is no\nself-contained way to ask GDB to print the location where the inferior is\nstopped.  The current best options require either using a separate\ncommand to scope out where the inferior is stopped, or using \"list *$pc\"\nrequiring knowledge of GDB standard registers.  This commit adds a way\nto do that using \u0027.\u0027 as a new argument for the \u0027list\u0027 command.  If the\ninferior isn\u0027t running, the command prints around the main function.\n\nBecause this necessitated having the inferior running and the test was\n(seemingly unnecessarily) using printf in a non-essential way and it\nwould make the resulting log harder to read for no benefit, it was\nreplaced by a different statement.\n\nReviewed-By: Eli Zaretskii \u003celiz@gnu.org\u003e\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7e61c2354e0c638c6be0ec1f150cf915f8f7b20c",
      "old_mode": 33188,
      "old_path": "gdb/NEWS",
      "new_id": "c5bbd4f134800cb2b836a8922139d89f296c4392",
      "new_mode": 33188,
      "new_path": "gdb/NEWS"
    },
    {
      "type": "modify",
      "old_id": "00977bc2ee3f166d74f4fa0b557e15c1ae377339",
      "old_mode": 33188,
      "old_path": "gdb/cli/cli-cmds.c",
      "new_id": "44db019c59f17ba338f5379fa73ce521f5d86132",
      "new_mode": 33188,
      "new_path": "gdb/cli/cli-cmds.c"
    },
    {
      "type": "modify",
      "old_id": "b10c06ae91f065d3ae4b12a7e1a00e60e349a315",
      "old_mode": 33188,
      "old_path": "gdb/doc/gdb.texinfo",
      "new_id": "7619efe3de93b71083a08d64e1cae005604bd4c3",
      "new_mode": 33188,
      "new_path": "gdb/doc/gdb.texinfo"
    },
    {
      "type": "modify",
      "old_id": "18ecd13ac0fd26f78d5609c6acca2513d21f496c",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/list.exp",
      "new_id": "ed178a1dd95f8ad08fdcc1955b40142cda6305d5",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/list.exp"
    },
    {
      "type": "modify",
      "old_id": "d694495c3fbfba8aab73e9595c6187485d1c866d",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/list1.c",
      "new_id": "9297f958f46439d7f6a0413856df1d94c7f37971",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/list1.c"
    }
  ]
}
