[PATCH 0/3] Fix racy FAILs of sigall-reverse.exp (and more)

Pedro Alves
2015-01-26T17:19:31Z

As can be seen in the buildbot results sent to the gdb-testers@ list,
sigall-reverse.exp is occasionally failing.

With my WIP all-stop-on-stop-of-non-stop series some other tests were
failing in a similar manner, which was what prompted me to look at
this in the first place.

This series fixes the root problems. sigall-reverse.exp seems to be
robust for me now.

Tested on x86_64 Fedora 20, native and gdbserver.

Given the 'query' change that exposed these bugs is in 7.9, I'd like
to see this fixed there too. My idea would be to push this into
master, give it a few days of buildbot exposure, and if all goes well,
push it to the branch.

Pedro Alves (3):
Fix up some target is-async vs can-async confusions
When disabling target async, remove all target event sources from the
event loop
Simplify event-loop core, remove two-step event processing

gdb/event-loop.c | 336 +++++++++++++++-------------------------------------
gdb/event-loop.h | 5 +-
gdb/linux-nat.c | 16 +--
gdb/record-btrace.c | 17 +++
gdb/record-full.c | 32 +++--
gdb/remote.c | 16 ++-
gdb/top.c | 1 -
7 files changed, 157 insertions(+), 266 deletions(-)

--
1.9.3