This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 16/18] gdbserver/linux: Always wake up event loop after resume
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 26 Oct 2015 14:32:05 +0000
- Subject: Re: [PATCH 16/18] gdbserver/linux: Always wake up event loop after resume
- Authentication-results: sourceware.org; auth=none
- References: <1444836486-25679-1-git-send-email-palves at redhat dot com> <1444836486-25679-17-git-send-email-palves at redhat dot com>
Pedro Alves <palves@redhat.com> writes:
> Handle this in the same way nat/linux-nat.c:linux_nat_resume handles
> this.
Nit, it is linux-nat.c instead of nat/linux-nat.c. In linux_nat_resume,
async_file_mark is guarded by lwp_status_pending_p (lp), so we need to
check whether there is an event pending in GDBserver too.
--
Yao (éå)