This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug mi/20045] With mi-async on, -exec-continue outputs two (gdb) prompts


https://sourceware.org/bugzilla/show_bug.cgi?id=20045

--- Comment #4 from Pedro Alves <palves at redhat dot com> ---
> Is it possible that when all threads are stopped, we close the 
> linux_nat_event_pipe, only to re-open it when we resume?

We do, in both cases with in linux_nat_async.  We close it with the
target_async all in inf-loop.c:inferior_event_handler when the program stops,
and reopen with the target_async call in linux_nat_resume when resuming.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]