)]}'
{
  "commit": "e61c7092f7fa93a196eccfb175b0f7d313231b83",
  "tree": "7e6304adf1d6eb2bf33b5052d743c257990b5c3d",
  "parents": [
    "189d3013eefb06ed4ccaae8f248842b785f387a1"
  ],
  "author": {
    "name": "Guinevere Larsen",
    "email": "blarsen@redhat.com",
    "time": "Tue Feb 13 15:36:23 2024 +0100"
  },
  "committer": {
    "name": "Guinevere Larsen",
    "email": "blarsen@redhat.com",
    "time": "Wed May 08 14:08:16 2024 -0300"
  },
  "message": "gdb: Change \"list .\" command\u0027s error when no debuginfo is available\n\nCurrently, when a user tries to list the current location, there are 2\ndifferent error messages that can happen, either:\n\n    (gdb) list .\n    No symbol table is loaded.  Use the \"file\" command.\nor\n    (gdb) list .\n    No debug information available to print source lines.\n\nThe difference here is if gdb can find any symtabs at all or not, which\nis not something too important for end-users - and isn\u0027t informative at\nall. This commit changes it so that the error always says that there\nisn\u0027t debug information available, with these two variants:\n\n    (gdb) list .\n    Insufficient debug info for showing source lines at current PC (0x55555555511d).\nor\n    (gdb) list .\n    Insufficient debug info for showing source lines at default location.\n\nThe difference now is if the inferior has started already, which is\ncontrolled by the user and may be useful.\n\nUnfortunately, it isn\u0027t as easy to differentiate if the symtab found for\nother list parameters is correct, so other invocations, such as \"list +\"\nstill retain their original error message.\n\nCo-Authored-By: Simon Marchi \u003csimark@simark.ca\u003e\nReviewed-By: Eli Zaretskii \u003celiz@gnu.org\u003e\nApproved-By: Andrew Burgess \u003caburgess@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "050f6f96e62eca1c42948dc3e9324fcce32f7294",
      "old_mode": 33188,
      "old_path": "gdb/NEWS",
      "new_id": "691abff420b022600ebcbb80d771f9ebdda64e22",
      "new_mode": 33188,
      "new_path": "gdb/NEWS"
    },
    {
      "type": "modify",
      "old_id": "476138a9747026fb6d43abf9b791e01337e2dcbb",
      "old_mode": 33188,
      "old_path": "gdb/cli/cli-cmds.c",
      "new_id": "5d49e395a84aa89ebf21de602fc4a00984d88a89",
      "new_mode": 33188,
      "new_path": "gdb/cli/cli-cmds.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "58c1b64799dc6ed3819498817adf0846854d8801",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/list-dot-nodebug-extra.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b37c3561c4109273b3cc5a0730e360b6cc1ddc02",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/list-dot-nodebug.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "40256ca021a97758b1fe2b405ed9026b5c66b87a",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/list-dot-nodebug.exp"
    },
    {
      "type": "modify",
      "old_id": "942a282083af9cd698b4146bd1c3484c810d9128",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/list-nodebug.exp",
      "new_id": "e07fa9e2417b471203ccf89a09d67563c0c58a9e",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/list-nodebug.exp"
    }
  ]
}
