1 diff -u -r ../gdb-8.1/gdb/common/job-control.c ./gdb/common/job-control.c
2 --- ../gdb-8.1/gdb/common/job-control.c 2018-01-05 05:07:23.000000000 +0100
3 +++ ./gdb/common/job-control.c 2018-02-01 21:19:44.732858138 +0100
8 - /* The call setpgid (0, 0) is supposed to work and mean the same
9 - thing as this, but on Ultrix 4.2A it fails with EPERM (and
10 - setpgid (getpid (), getpid ()) succeeds). */
11 - retval = setpgid (getpid (), getpid ());
12 + retval = setpgid (0, 0);