aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorPatrick Palka <patrick@parcs.ath.cx>2014-08-30 15:33:08 -0400
committerJoel Brobecker <brobecker@adacore.com>2014-11-23 14:12:05 +0400
commita344fc094daa257557786eb2ce871debf38456ba (patch)
treeeadc4c44661c7031f68a9ce117435c9dfbc17991 /gdb/breakpoint.c
parentd64e57faa89ba4de0ebacdc30fbee5d19310950c (diff)
downloadgdb-a344fc094daa257557786eb2ce871debf38456ba.zip
gdb-a344fc094daa257557786eb2ce871debf38456ba.tar.gz
gdb-a344fc094daa257557786eb2ce871debf38456ba.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.c')
0 files changed, 0 insertions, 0 deletions