]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/gdbserver/linux-low.c
PR server/10048
authorPedro Alves <palves@redhat.com>
Wed, 6 May 2009 17:32:59 +0000 (17:32 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 6 May 2009 17:32:59 +0000 (17:32 +0000)
commita6dbe5dfa522e405c297014002cac82f05a4dc68
tree8acbd7656fecab4a70d39d688b37ee35024787be
parenta562dc8f5a5930afaa5ffb3e98200e21dd8b724a
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