Skip to content

Commit

Permalink
Update gdbserver comment
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Jul 27, 2019
1 parent 264cd1a commit 2f8a0b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python3/vimspector/debug_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2f8a0b0

Please sign in to comment.