)]}'
{
  "commit": "61f9fb1ea4aab3cd42bfcaaee2a05ac0dbe18a22",
  "tree": "da773c5cdf0f520dd05803c61e25ff6980282db4",
  "parents": [
    "6a667807390b7091b5ec088d979c779f65d3dfa5"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Wed Apr 12 09:30:21 2023 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Fri May 12 12:11:35 2023 -0600"
  },
  "message": "Fix calling debuginfo-less functions in Ada\n\nA co-worker at AdaCore noticed that calling a function without\ndebuginfo yields:\n\n(gdb) print plus_one(23)\n\u0027pck.plus_one\u0027 has unknown return type; cast the call to its declared return type\n\nHowever, this also happens if you follow the directions and add the\ncast.\n\nThis patch fixes the problem and adds a regression test.\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "50d5c6f969717270d45381a1630a95584e3b12bd",
      "old_mode": 33188,
      "old_path": "gdb/ada-lang.c",
      "new_id": "df5fd80414d2e86155a1ea70d1203299d6886162",
      "new_mode": 33188,
      "new_path": "gdb/ada-lang.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "422b83761d91b6b4bf10cd5c4434766959979aed",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/call-no-debug.exp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fb74d6c464edbd629a1dfd3bb3996af0f4960947",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/call-no-debug/pck.adb"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7b353de765cc4ad7b8c084201dddb7e38ea02f3c",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/call-no-debug/pck.ads"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "27b7a7f02bf261fc6735caadd64f75cd2e6b7926",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/call-no-debug/prog.adb"
    },
    {
      "type": "modify",
      "old_id": "4395f31ad942d3fb6b2df1af1f6eebab29c04188",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/ada.exp",
      "new_id": "b728e3a2aba9e62c7cd2402e3042d5a291017c49",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/ada.exp"
    }
  ]
}
