diff options
author | Pedro Alves <palves@redhat.com> | 2016-04-12 16:49:29 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-04-12 16:49:29 +0100 |
commit | 3212b858458dc3f2ae73e32fa066dabd56919a13 (patch) | |
tree | ab29e8bf9b3e8fee57e4ab1f37ae8eafc0975da6 /gdb/python | |
parent | f36e33dac1a97cca8f79ca8b20cf0fb05f1e25f4 (diff) | |
download | binutils-3212b858458dc3f2ae73e32fa066dabd56919a13.zip binutils-3212b858458dc3f2ae73e32fa066dabd56919a13.tar.gz binutils-3212b858458dc3f2ae73e32fa066dabd56919a13.tar.bz2 |
Don't rely on immediate_quit in command_line_input
AFAICS, immediate_quit was only needed here nowdays to be able to
interrupt gdb_readline_no_editing.
command_line_input can also take the gdb_readline_wrapper path, but
since that is built on top of the event loop (gdb_select / poll and
asynchronous signal handlers), it can be interrupted.
gdb/ChangeLog:
2016-04-12 Pedro Alves <palves@redhat.com>
* top.c: Include "gdb_select.h".
(gdb_readline_no_editing): Wait for input with gdb_select instead
of blocking in fgetc.
(command_line_input): Don't set immediate_quit.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions