diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-05-20 03:43:39 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-05-20 03:43:39 +0000 |
commit | 429f1c9f466e706d0c2bc32f7cafb853ac8a2a22 (patch) | |
tree | 40fbf7ce3404821e8a44d9946dd4a3b4d44f2d22 /gdb/procfs.c | |
parent | 6731b89c4b4854e8e05a43a79be9e24ff38412a6 (diff) | |
download | gdb-429f1c9f466e706d0c2bc32f7cafb853ac8a2a22.zip gdb-429f1c9f466e706d0c2bc32f7cafb853ac8a2a22.tar.gz gdb-429f1c9f466e706d0c2bc32f7cafb853ac8a2a22.tar.bz2 |
* target.c, target.h: New variables target_activity_function and
target_activity_fd.
* inflow.c, inferior.h: New functions set_sigio_trap and
clear_sigio_trap.
* inftarg.c (child_wait), procfs.c (wait_fd): Call them.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 2 |
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 |