Handle multiple target events before commit resume concurrent-displaced-stepping-rocm-3.5
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 21 May 2020 22:42:16 +0000 (18:42 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 10 Jun 2020 21:26:05 +0000 (17:26 -0400)
commit4ba18e70b6289d9a0e86ada8ab5ae7b19d14b7be
tree4a949dda8b91a26eaa77d7bacaa4d2d27faf6628
parented7c2e31eabf2d40f6cd07ae8fafb4cb842d0744
Handle multiple target events before commit resume

Modify fetch_inferior_event to fetch (and handle) events from the target
as long as it provides events.

When resuming a thread that has hit a breakpoint (and it was decided
that it should be resumed), don't commit_resume just yet.  Wait until
the target has no more events to provide to do so.

Change-Id: Ia223a7d95dd5a4844c6a96e1125fb03d3e295584
gdb/infrun.c
gdb/target.c
gdb/target.h
This page took 0.024584 seconds and 4 git commands to generate.