Hello, When building gdb version 8.2 on GNU/Hurd several problems arise that need to be solved. One problem is that most files in gdb/ have sloppy definitions of struct thread_info, causing a build stop fore every occurrence. They are excluding the struct part, making the build (and port) on Hurd very cumbersome. Can you please fix all bad references to thread_info upstream? I don't really understand how gcc can let these errors pass on GNU/Linux. Attached are a lot of patches and files fixing these problems, 61 in total. A test build of Debian version gdb-8.2-1 on GNU/Linux with the attached patches (and patched files) applied works fine! Furthermore the script gdbarch.sh needs patching and the resulting files gdbarch.{c,h} are used in the Linux build. They are not included here due to size constraints. The generated file target-delegates.c was also used after patching target.h and generating it with: make-target-delegates target.h > target-delegates.c. Not included here either, also due to size constraints. Attached are also four old patches needed to build the 8.1 version of gdb: gdb_configure.nat.patch gdb-PATH_MAX.patch gnu-nat.c.patch struct-thread_info.patch and a very old Debian PATH_MAX patch: solve_PATH_MAX_issue.patch. Includes is also the original and new Debian 8.2-1 patch file: series. More patches will be needed for a successful port of gdb-8.2 to GNU/hurd, but please fix the above problems upstream first. Thanks!