)]}'
{
  "commit": "fb77dfe48b5e40a5ed06f8482cd808a13e136db2",
  "tree": "d9c048582246ed7e15bdb1a1abf42e000d554209",
  "parents": [
    "cabd5456c78f431517b4c76ed93feff1608e0cf0"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Sep 12 08:18:10 2024 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Mar 06 14:17:17 2025 -0700"
  },
  "message": "Fix type name in ptype-o.exp\n\nThe \"Rec\" type in ptype-o.exp is currently named \"prog__rec\" by the\ncompiler.  However, with my changes to GNAT, the type will no longer\nhave a prefix, as it is local to a procedure.\n\nChanging this to just use \"rec\" works fine with the new compiler, but\nthen fails with older compilers.  To allow correct operation with both\ncompilers, this patch simply moves the type into a new package.  This\ndoesn\u0027t affect the meaning of the test, which is just ensuring that\nptype/o works in a certain case.\n\nNote that the more obvious fix of just using \"ptype/o rec\" does not\nwork with the current GNAT.  I haven\u0027t investigated this but I did\nfile a bug to track it:\n\n    https://sourceware.org/bugzilla/show_bug.cgi?id\u003d32169\n\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5038ee171d2b126270181d37770a47d37319ba95",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.ada/ptype-o.exp",
      "new_id": "1b6373c0f4bad2a34298b843a69713b14d346077",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/ptype-o.exp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d1d12235f94e598346423d6148c7ac80e8e78d12",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/ptype-o/pck.ads"
    },
    {
      "type": "modify",
      "old_id": "f185b17cb3ed145f6041f9d61bc91d12f93d648d",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.ada/ptype-o/prog.adb",
      "new_id": "73e9963550a9626a0cd9c376c25ea9960614f073",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/ptype-o/prog.adb"
    }
  ]
}
