termux-packages/packages/gdb/gdbsupport-signals-state-save-restore.cc.patch

20 lines
588 B
Diff
Raw Normal View History

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
2020-02-15 23:58:09 +01:00
@@ -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. */