diff options
author | Pedro Alves <palves@redhat.com> | 2008-06-28 11:15:34 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-06-28 11:15:34 +0000 |
commit | 84e46146f7e8f26eafd2e9a6f0bc229423e0950c (patch) | |
tree | 0e93332ad81dc099f27fca437dae42091bde8e86 /gdb/mi | |
parent | 0f8d4a2f6e8a4b83340e6e80a00062c12d31ecfb (diff) | |
download | gdb-84e46146f7e8f26eafd2e9a6f0bc229423e0950c.zip gdb-84e46146f7e8f26eafd2e9a6f0bc229423e0950c.tar.gz gdb-84e46146f7e8f26eafd2e9a6f0bc229423e0950c.tar.bz2 |
gdb/
2008-06-28 Pedro Alves <pedro@codesourcery.com>
* linux-nat.c (enum sigchld_state): New.
(linux_nat_async_events_state): Renamed from
linux_nat_async_events_enabled.
(linux_nat_event_pipe_push, my_waitpid): Adjust.
(sigchld_default_action): New.
(lin_lwp_attach_lwp): Adjust. Call linux_nat_async_events
unconditionally.
(linux_nat_create_inferior): Set events state to sigchld_default
state.
(linux_nat_resume): Adjust.
(linux_nat_wait): Call linux_nat_async_events unconditionally.
(sigchld_handler): Adjust.
(linux_nat_async_mask): Don't set SIGCHLD actions here.
(get_pending_events): Adjust.
(linux_nat_async_events): Rewrite to handle enum sigchld_state
instead of a boolean.
(linux_nat_async): Adjust.
(_initialize_linux_nat): Capture default SIGCHLD action into
sigchld_default_action.
gdb/testsuite/
2008-06-28 Pedro Alves <pedro@codesourcery.com>
* gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
Diffstat (limited to 'gdb/mi')
0 files changed, 0 insertions, 0 deletions