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.   */
