Hi, > In any case, given that at least two people have lost time trying > to understand what good was this for, I say we nuke it, and get rid > of *_sigio_trap in the process as well, which has calls that have been > propagated to several targets by now. the attached patch remove this unused piece of code. Recompiled on x86/gnu-linux and no more instances found by grep. Tristan. 2008-12-15 Tristan Gingold * inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags, set_sigio_trap, clear_sigio_trap definitions. * inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations. * inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap and clear_sigio_trap. * inf-ttrace.c (inf_ttrace_wait): Ditto. * linux-nat.c (linux_nat_wait): Ditto. * spu-linux-nat.c (spu_child_wait): Ditto. * rs6000-nat.c (rs6000_wait): Ditto. * target.c: Remove target_activity_function and target_activity_fd. * target.h: Remove target_activity_function and target_activity_fd declarations.