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 cli/17300] crash in non-stop mode with continue -a & (readline_callback_read_char() called with no handler!)


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.


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