[lldb] Make `process connect` behave the same in sync and async mode.
authorJonas Devlieghere <jonas@devlieghere.com>
Sat, 14 Nov 2020 01:30:34 +0000 (17:30 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Sat, 14 Nov 2020 01:39:30 +0000 (17:39 -0800)
commit6c0cd5676e0a0feaf836e0399023a6e21224467b
tree0ca563a44517a91dcd72eb10b1889a0a33fc52c1
parent2c196bbc6bd897b3dcc1d87a3baac28e1e88df41
[lldb] Make `process connect` behave the same in sync and async mode.

I think the check for whether the process is connected is totally bogus
in the first place, but on the off-chance that's it's not, we should
behave the same in synchronous and asynchronous mode.
lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
lldb/test/Shell/Commands/command-process-connect.test [new file with mode: 0644]