aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2008-12-16 11:15:58 +0000
committerTristan Gingold <gingold@adacore.com>2008-12-16 11:15:58 +0000
commitd26b53541880db4303a08e5558a1d3d3cbf9353a (patch)
tree391438e0193d97f12b2eda4e1bbdf29d33a907bb /gdb/linux-nat.c
parent077e0a524271358ddf0dda9993f3c3e4820b2481 (diff)
downloadgdb-d26b53541880db4303a08e5558a1d3d3cbf9353a.zip
gdb-d26b53541880db4303a08e5558a1d3d3cbf9353a.tar.gz
gdb-d26b53541880db4303a08e5558a1d3d3cbf9353a.tar.bz2
2008-12-16 Tristan Gingold <gingold@adacore.com>
* 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.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index e537c6f..a2cb39d 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -2868,7 +2868,6 @@ retry:
{
/* Causes SIGINT to be passed on to the attached process. */
set_sigint_trap ();
- set_sigio_trap ();
}
while (status == 0)
@@ -2937,10 +2936,7 @@ retry:
}
if (!target_can_async_p ())
- {
- clear_sigio_trap ();
- clear_sigint_trap ();
- }
+ clear_sigint_trap ();
gdb_assert (lp);