From 2f8a0b0e97c3d779cf3a730494221ada43aed20c Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Sun, 21 Jul 2019 16:44:28 +0100 Subject: [PATCH] Update gdbserver comment --- python3/vimspector/debug_session.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python3/vimspector/debug_session.py b/python3/vimspector/debug_session.py index dc8130be8..d00ead9fd 100644 --- a/python3/vimspector/debug_session.py +++ b/python3/vimspector/debug_session.py @@ -638,6 +638,11 @@ def _LoadThreadsIfReady( self ): # doesn't respond top threads request when attaching via gdbserver. At # least it would apear that way. # + # As it turns out this is due to a bug in gdbserver which means that + # attachment doesn't work due to sending the signal to the process group + # leader rather than the process. The workaround is to manually SIGTRAP the + # PID. + # if self._launch_complete and self._init_complete: for h in self._on_init_complete_handlers: h()