]> git.eshelyaron.com Git - emacs.git/commit
Don't install keyboard hook when debugged on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Tue, 12 Jul 2016 13:18:06 +0000 (16:18 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 12 Jul 2016 13:18:06 +0000 (16:18 +0300)
commit1048151cc4bec79f7310f4f2ede309889822a6bb
treeab799df374ea990645ea89e028fd727e50798f2b
parent2f67f8a145af8f185f644b1d094a03895a124ef1
Don't install keyboard hook when debugged on MS-Windows

* src/w32fns.c (setup_w32_kbdhook): Don't install the keyboard
hook if we are being debugged.  This avoids hosing the debugger,
because the hook is global, and is called in the context of the
thread which installed it, and that thread is stopped when GDB has
control.  Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
src/w32fns.c