binutils-gdb/gdb/tui
Pedro Alves ab33ab13aa TUI: check whether in secondary prompt instead of immediate_quit
As can be seen in the tui_redisplay_readline comment:

 "The command could call prompt_for_continue and we must not restore
 SingleKey so that the prompt and normal keymap are used."

immediate_quit is being used as proxy for "secondary prompt".

We have a better predicate nowadays, so use it.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* tui/tui-io.c (tui_redisplay_readline): Check
	gdb_in_secondary_prompt_p instead of immediate_quit.
	* tui/tui.c: Include top.h.
	(tui_rl_startup_hook): Check gdb_in_secondary_prompt_p instead of
	immediate_quit.
2016-04-12 16:50:59 +01:00
..
ChangeLog-1998-2003
tui-command.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-command.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-data.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-data.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-disasm.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-disasm.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-file.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-file.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-hooks.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-hooks.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-interp.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-io.c TUI: check whether in secondary prompt instead of immediate_quit 2016-04-12 16:50:59 +01:00
tui-io.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-layout.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-layout.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-out.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-regs.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-regs.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-source.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-source.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-stack.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-stack.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-win.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-win.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-windata.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-windata.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-wingeneral.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-wingeneral.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-winsource.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-winsource.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui.c TUI: check whether in secondary prompt instead of immediate_quit 2016-04-12 16:50:59 +01:00
tui.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00