2008-03-25 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Tue, 25 Mar 2008 12:20:10 +0000 (12:20 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 25 Mar 2008 12:20:10 +0000 (12:20 +0000)
commit710151dda51c86ee63e65409f87ad3b0ccc54936
tree84fdaa6216b95703d434b7db49ad35820a793c75
parentbd52eafbd68961d1e049fd2354b888718d05d875
2008-03-25  Pedro Alves  <pedro@codesourcery.com>

* linux-nat.c (drain_queued_events): Fix comment typo.
(linux_nat_attach): In async mode, don't rely on storing a pending
status.  Instead place the wait status on the pipe.
(linux_nat_resume): Remove unreacheable shortcut code in async
mode.
(stop_wait_callback): In async mode, don't store pending status.
Instead, cancel breakpoints or resend the signal appropriatelly.
(cancel_breakpoint): New, refactored from
cancel_breakpoints_callback.
(cancel_breakpoints_callback): Call cancel_breakpoint.
(pipe_to_local_event_queue): Remove special token processing.
(linux_nat_wait): Issue an internal error if a pending status is
found in async mode.
gdb/ChangeLog
gdb/linux-nat.c