)]}'
{
  "commit": "d7bd319e93a3ab73d7e88ef44550f0be98c6c4b7",
  "tree": "53658ad8317604a0f5321414a6e0ff0e73d5e8e9",
  "parents": [
    "9d02cb7fe0d636be390e43e06f39b30b834e89e4"
  ],
  "author": {
    "name": "Rainer Orth",
    "email": "ro@CeBiTec.Uni-Bielefeld.DE",
    "time": "Mon Jan 06 16:24:14 2025 +0100"
  },
  "committer": {
    "name": "Rainer Orth",
    "email": "ro@CeBiTec.Uni-Bielefeld.DE",
    "time": "Mon Jan 06 16:24:14 2025 +0100"
  },
  "message": "Fix procfs.c compilation\n\nprocfs.c compilation is currently broken on Solaris:\n\n/vol/src/gnu/gdb/hg/gdb-16-branch/git/gdb/procfs.c: In member function ‘virtual ptid_t procfs_target::wait(ptid_t, target_waitstatus*, target_wait_flags)’:\n/vol/src/gnu/gdb/hg/gdb-16-branch/git/gdb/procfs.c:2067:34: error: ‘wait’ is not a member of ‘gdb’; did you mean ‘wait’?\n 2067 |               wait_retval \u003d gdb::wait (\u0026wstat);\n      |                                  ^~~~\nIn file included from ../gnulib/import/sys/wait.h:28,\n                 from /usr/include/stdlib.h:16,\n                 from /usr/gcc/14/include/c++/14.2.0/cstdlib:79,\n                 from /vol/src/gnu/gdb/hg/gdb-16-branch/git/gdb/../gdbsupport/common-defs.h:99,\n                 from /vol/src/gnu/gdb/hg/gdb-16-branch/git/gdb/defs.h:26,\n                 from \u003ccommand-line\u003e:\n/usr/include/sys/wait.h:85:14: note: ‘wait’ declared here\n   85 | extern pid_t wait(int *);\n      |              ^~~~\n/vol/src/gnu/gdb/hg/gdb-16-branch/git/gdb/procfs.c:2154:41: error: ‘wait’ is not a member of ‘gdb’; did you mean ‘wait’?\n 2154 |                         int temp \u003d gdb::wait (\u0026wstat);\n      |                                         ^~~~\n/usr/include/sys/wait.h:85:14: note: ‘wait’ declared here\n   85 | extern pid_t wait(int *);\n      |              ^~~~\n/vol/src/gnu/gdb/hg/gdb-16-branch/git/gdb/procfs.c: In function ‘void unconditionally_kill_inferior(procinfo*)’:\n/vol/src/gnu/gdb/hg/gdb-16-branch/git/gdb/procfs.c:2566:12: error: ‘wait’ is not a member of ‘gdb’; did you mean ‘wait’?\n 2566 |       gdb::wait (NULL);\n      |            ^~~~\n/usr/include/sys/wait.h:85:14: note: ‘wait’ declared here\n   85 | extern pid_t wait(int *);\n      |              ^~~~\n\nThe use of gdb::wait was introduced in\n\ncommit 4e4dfc4728622d83c5d600949024449e21de868a\nAuthor: Tom de Vries \u003ctdevries@suse.de\u003e\nDate:   Fri Nov 22 17:44:29 2024 +0100\n\n    [gdb] Add gdb::wait\n\nbut obviously never tested.\n\nFixed by including gdbsupport/eintr.h to provide the declaration.\n\nTested on amd64-pc-solaris2.11 and sparcv9-sun-solaris2.11.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d5177f3735d8d410d6ad600d2ebb94fb206dc9b8",
      "old_mode": 33188,
      "old_path": "gdb/procfs.c",
      "new_id": "be95a35f0167909f1a77fbf22b3f6b9f26a8060d",
      "new_mode": 33188,
      "new_path": "gdb/procfs.c"
    }
  ]
}
