aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorEli Zaretskii2024-09-07 11:15:43 +0300
committerEli Zaretskii2024-09-07 11:15:43 +0300
commit358208dfaa374cc71c4a1c081c2d5bff9127c55a (patch)
treecb5ab9295656f1bf7a643fde8534aef890522a60 /java/debug.sh
parente2154c63761add6063a719ba6253c8e6e8133814 (diff)
downloademacs-358208dfaa374cc71c4a1c081c2d5bff9127c55a.tar.gz
emacs-358208dfaa374cc71c4a1c081c2d5bff9127c55a.zip
Remove low-level keyboard hook when attaching GDB to Emacs on Windows
This fixes the problem whereby attaching GDB to a running Emacs on MS-Windows would slow down keyboard input, because the low-level keyboard hook installed by Emacs at startup was still installed, but with Emacs stopped, the hook code couldn't run, and therefore the OS would time-out waiting for the hook to return. Now when GDB is attached to Emacs, it will remove the hook right away. * src/.gdbinit: Call 'remove_w32_kbdhook' if the keyboard hook is already installed. * src/alloc.c (defined_WINDOWSNT): New enum. (gdb_make_enums_visible): Add 'defined_WINDOWSNT'.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions