0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/gdb/gdbsupport-signals-state-save-restore.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

20 lines
588 B
Diff

diff -u -r ../gdb-10.1/gdbsupport/signals-state-save-restore.cc ./gdbsupport/signals-state-save-restore.cc
--- ../gdb-10.1/gdbsupport/signals-state-save-restore.cc 2021-03-16 13:38:38.843547361 +0530
+++ ./gdbsupport/signals-state-save-restore.cc 2021-03-16 13:38:49.595547357 +0530
@@ -42,6 +42,7 @@
if (res == -1)
perror_with_name (("sigprocmask"));
+#ifndef __ANDROID__
bool found_preinstalled = false;
for (i = 1; i < NSIG; i++)
@@ -84,6 +85,7 @@
won't be propagated to spawned programs.\n"));
}
#endif
+#endif
}
/* See signals-state-save-restore.h. */