)]}'
{
  "commit": "82e8ea345aec5198ea18a67e32e95f6be08963d8",
  "tree": "90349e3064e6b82bd7bb8be909f5cbe01f9afef3",
  "parents": [
    "caec22a36059f602711c65de9ca0b016f6529b85"
  ],
  "author": {
    "name": "Rainer Orth",
    "email": "ro@CeBiTec.Uni-Bielefeld.DE",
    "time": "Fri Aug 14 11:33:07 2026 +0200"
  },
  "committer": {
    "name": "Rainer Orth",
    "email": "ro@CeBiTec.Uni-Bielefeld.DE",
    "time": "Fri Aug 14 11:33:07 2026 +0200"
  },
  "message": "Fix procfs.c compilation on Solaris\n\nprocfs.c doesn\u0027t compile on trunk and the gdb-18 branch:\n\nprocfs.c: In function ‘int procfs_notice_thread(procinfo*, procinfo*, void*)’:\nprocfs.c:2857:33: error: invalid use of non-static member function ‘thread_state thread_info::state() const’\n 2857 |   if (thr \u003d\u003d NULL || thr-\u003estate \u003d\u003d THREAD_EXITED)\n      |                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~\n\nFixed by calling the member function.\n\nprocfs.c: In function ‘bool find_memory_regions_callback(prmap*, find_memory_region_ftype)’:\nprocfs.c:3152:15: error: no match for call to ‘(find_memory_region_ftype {aka gdb::function_view\u003cbool(long unsigned int, long unsigned int, bool, bool, bool, bool, bool, bool)\u003e}) (CORE_ADDR, std::size_t\u0026, bool, bool, bool, bool, bool)’\n 3152 |   return func ((CORE_ADDR) map-\u003epr_vaddr,\n      |          ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~\n 3153 |                map-\u003epr_size,\n      |                ~~~~~~~~~~~~~\n 3154 |                (map-\u003epr_mflags \u0026 MA_READ) !\u003d 0,\n      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n 3155 |                (map-\u003epr_mflags \u0026 MA_WRITE) !\u003d 0,\n      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n 3156 |                (map-\u003epr_mflags \u0026 MA_EXEC) !\u003d 0,\n      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n 3157 |                true, /* MODIFIED is unknown, pass it as true.  */\n      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n 3158 |                false);\n      |                ~~~~~~\n\nFixed by passing the new HOLE arg.\n\nprocfs.c: In function ‘void info_proc_mappings(procinfo*, int)’:\nprocfs.c:3257:25: error: too many arguments to function ‘bool iterate_over_mappings(procinfo*, find_memory_region_ftype, bool (*)(prmap*, find_memory_region_ftype))’\n 3257 |   iterate_over_mappings (pi, NULL, NULL, info_mappings_callback);\n      |   ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nFixed by removing the unused arg.\n\nTested on sparcv9-sun-solaris2.11 and amd64-pc-solaris2.11 with results\nsimilar to the gdb-17 ones.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8d96bf588daa677d8eedf4c025f93d730ad3304d",
      "old_mode": 33188,
      "old_path": "gdb/procfs.c",
      "new_id": "bbee28bbc5ed57d54c81c90358bf3b9cd797682d",
      "new_mode": 33188,
      "new_path": "gdb/procfs.c"
    }
  ]
}
