13 lines
568 B
Diff
13 lines
568 B
Diff
diff -u -r ../gdb-10.1/gdbsupport/job-control.cc ./gdbsupport/job-control.cc
|
|
--- ../gdb-10.1/gdbsupport/job-control.cc 2021-03-16 13:34:33.387547455 +0530
|
|
+++ ./gdbsupport/job-control.cc 2021-03-16 13:34:43.315547451 +0530
|
|
@@ -48,7 +48,7 @@
|
|
/* The call setpgid (0, 0) is supposed to work and mean the same
|
|
thing as this, but on Ultrix 4.2A it fails with EPERM (and
|
|
setpgid (getpid (), getpid ()) succeeds). */
|
|
- retval = setpgid (getpid (), getpid ());
|
|
+ retval = setpgid (0, 0);
|
|
#else
|
|
#ifdef HAVE_SETPGRP
|
|
#ifdef SETPGRP_VOID
|