1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-14 07:56:40 +00:00
termux-packages/packages/gdb/gdbsupport-job-control.cc.patch
Saurabh Charde 6aef739d9f gdb: Update to 10.1
Following commit [1] and [2], gdbserver and gdbsupport directories have been
moved to top-level, repectively.

Update patch files to follow the changes, and also remove
python3.9.patch since it's already in the upstream.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=919adfe8409211c726c1d05b47ca59890ee648f1
[2] https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=01027315f54048dbaf03ac37455c2528c72a6d9b

Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com>
2021-03-16 11:24:31 +01:00

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