[Bug tdep/34195] Windows tests report "No unwaited-for children left."

tromey at sourceware dot org via Gdb-prs <[email protected]>
Newsgroups gmane.comp.gdb.bugs.discuss
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34195

--- Comment #7 from Tom Tromey <tromey at sourceware dot org> ---
Near the end of the log but before the "no unwaited-for" message,
we see:

  [infrun] handle_inferior_event: status->kind = NO_RESUMED
  [infrun] stop_waiting: stop_waiting

and it occurs to me that maybe what's happening here is that
we simply are reporting the stop too early -- what we really would
like to do is wait for the process-exit notification to come through.

This is pretty much the only hypothesis I've been able to come up with :(

Anyway maybe one possible fix is to delay the final thread-exit event,
looping until we see a process-exit event, then handling both.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.