This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/17300] crash in non-stop mode with continue -a & (readline_callback_read_char() called with no handler!)
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 06 Oct 2014 13:22:43 +0000
- Subject: [Bug cli/17300] crash in non-stop mode with continue -a & (readline_callback_read_char() called with no handler!)
- Auto-submitted: auto-generated
- References: <bug-17300-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17300
--- Comment #4 from Pedro Alves <palves at redhat dot com> ---
Got it. The problem where is that when "c -a" is run, all threads in the
target are already running, so proceed_thread_callback never really calls
"proceed/resume", and so nothing calls target_terminal_inferior, which we must
do when we run a foreground command, to remove stdin from GDB's event loop.
This one's not a 7.8 regression. I just now tried 7.6 (with set target-async
on, of course), and it likewise aborted.
--
You are receiving this mail because:
You are on the CC list for the bug.