Change SIGINT handler for extension languages only when target terminal is ours
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 73ba8cd3aa243e0000646ea621b8db3052c41419..471d02bca8c6533d2357fe78966489f654922ace 100644 (file)
@@ -1,3 +1,13 @@
+2016-01-08  Yao Qi  <yao.qi@linaro.org>
+
+       * extension.c: Include target.h.
+       (set_active_ext_lang): Only call install_gdb_sigint_handler,
+       check_quit_flag, and set_quit_flag if target_terminal_is_ours
+       returns false.
+       (restore_active_ext_lang): Likewise.
+       * target.c (target_terminal_is_ours): New function.
+       * target.h (target_terminal_is_ours): Declare.
+
 2016-01-07  Maciej W. Rozycki  <macro@imgtec.com>
 
        * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status'
This page took 0.023664 seconds and 4 git commands to generate.