Allow remote attach to gdbserver without pid picking

This commit is contained in:
Ben Jackson 2018-06-01 19:55:32 +01:00
commit 298ff8cd9c

View file

@ -369,6 +369,8 @@ class DebugSession( object ):
pid = utils.AskForInput( 'Enter PID to attach to: ' )
launch_config[ atttach_config[ 'pidProperty' ] ] = pid
return
elif atttach_config[ 'pidSelect' ] == 'none':
return
raise ValueError( 'Unrecognised pidSelect {0}'.format(
atttach_config[ 'pidSelect' ] ) )