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
tui-data.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-data.h
tui-disasm.c PR symtab/17559 2014-11-15 10:08:34 -08:00
tui-disasm.h
tui-file.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-file.h
tui-hooks.c PR symtab/17559 2014-11-15 10:08:34 -08:00
tui-hooks.h
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
tui-layout.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-layout.h
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
tui-source.c SYMTAB_OBJFILE: New macro. 2014-11-18 09:19:11 -08:00
tui-source.h
tui-stack.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-stack.h
tui-win.c Specify SA_RESTART when registering the SIGWINCH signal handler 2014-11-23 14:12:05 +04:00
tui-win.h
tui-windata.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
tui-windata.h
tui-wingeneral.c
tui-wingeneral.h
tui-winsource.c SYMTAB_OBJFILE: New macro. 2014-11-18 09:19:11 -08:00
tui-winsource.h
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