binutils-gdb/gdb/tui
Patrick Palka a344fc094d Specify SA_RESTART when registering the SIGWINCH signal handler
SA_RESTART allows system calls to be restarted across a signal handler.
By specifying this flag we fix the issue where if the user is being
prompted to answer yes or no, and the terminal gets resized in the
meantime, the prompt will think that the user sent an EOF and so it will
take the default action for that prompt (in the case of the quit prompt,
it will quit GDB).

gdb/ChangeLog:

	* tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when
	registering the signal handler.
2014-11-23 14:12:05 +04:00
..
ChangeLog-1998-2003
tui-command.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-command.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-data.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-data.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-disasm.c PR symtab/17559 2014-11-15 10:08:34 -08:00
tui-disasm.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-file.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-file.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-hooks.c PR symtab/17559 2014-11-15 10:08:34 -08:00
tui-hooks.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-interp.c PR tui/16138, PR tui/17519, and misc failures to initialize the terminal 2014-10-29 14:23:57 +00:00
tui-io.c Fix the processing of Meta-key commands in TUI 2014-11-23 14:04:09 +04:00
tui-io.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-layout.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-layout.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-out.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-regs.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-regs.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-source.c SYMTAB_OBJFILE: New macro. 2014-11-18 09:19:11 -08:00
tui-source.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-stack.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-stack.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-win.c Specify SA_RESTART when registering the SIGWINCH signal handler 2014-11-23 14:12:05 +04:00
tui-win.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-windata.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-windata.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-wingeneral.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-wingeneral.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui-winsource.c SYMTAB_OBJFILE: New macro. 2014-11-18 09:19:11 -08:00
tui-winsource.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tui.c tui: Fix newterm call for older ncurses 2014-11-04 14:15:53 -05:00
tui.h PR tui/16138, PR tui/17519, and misc failures to initialize the terminal 2014-10-29 14:23:57 +00:00