OSDN Git Service

PR server/10048
authorPedro Alves <pedro@codesourcery.com>
Wed, 6 May 2009 17:32:59 +0000 (17:32 +0000)
committerPedro Alves <pedro@codesourcery.com>
Wed, 6 May 2009 17:32:59 +0000 (17:32 +0000)
commitfca9b551ba6b3650ec1e6288bbe7253ea50f78a6
treef79998407e5a844182555572c3ae5f0252ff460b
parent4a279491a9e87d72e62ecc69002680212237e589
PR server/10048

* linux-low.c (must_set_ptrace_flags): Delete.
(linux_create_inferior): Set `lwp->must_set_ptrace_flags' instead
of the global.
(linux_attach_lwp_1): Don't set PTRACE_SETOPTIONS here.  Set
`lwp->must_set_ptrace_flags' instead.
(linux_wait_for_event_1): If ptrace options here.
(linux_wait_1): ... not here.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h