This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20418] Problems with synchronous commands and new-ui
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 28 Jul 2016 09:35:27 +0000
- Subject: [Bug gdb/20418] Problems with synchronous commands and new-ui
- Auto-submitted: auto-generated
- References: <bug-20418-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20418
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
Hmm. Running the console interpreter on the extra UI instead does not trigger
the problem. I checked now that the MI ui's ui->prompt_state ends up correctly
set to PROMPT_BLOCKED. It looks like when we emit MI async events
(=library-loaded, etc.), and we go about restoring the previous terminal state,
we end up calling target_terminal_ours, which reinstalls MI's input_fd in the
event loop...
--
You are receiving this mail because:
You are on the CC list for the bug.