Update gdbserver comment
This commit is contained in:
parent
264cd1ada7
commit
2f8a0b0e97
1 changed files with 5 additions and 0 deletions
|
|
@ -638,6 +638,11 @@ class DebugSession( object ):
|
||||||
# doesn't respond top threads request when attaching via gdbserver. At
|
# doesn't respond top threads request when attaching via gdbserver. At
|
||||||
# least it would apear that way.
|
# 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:
|
if self._launch_complete and self._init_complete:
|
||||||
for h in self._on_init_complete_handlers:
|
for h in self._on_init_complete_handlers:
|
||||||
h()
|
h()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue