aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 48a6e12..f70329a 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -573,6 +573,7 @@ wait_fd ()
if (attach_flag)
set_sigint_trap (); /* Causes SIGINT to be passed on to the
attached process. */
+ set_sigio_trap ();
#ifndef LOSING_POLL
num_fds = poll (poll_list, num_poll_list, -1);
@@ -592,6 +593,7 @@ wait_fd ()
if (attach_flag)
clear_sigint_trap();
+ clear_sigio_trap ();
#ifndef LOSING_POLL