Reverting recent thread resume changes as it was causing testing issues.
We will need to try again soon, but this change was causing instability.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124180 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 479b8de..d83fb58 100644
--- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -1307,7 +1307,7 @@
{
StringExtractorGDBRemote response;
bool send_async = true;
- if (m_gdb_comm.SendPacketAndWaitForResponse("k", 1, response, 3, send_async))
+ if (m_gdb_comm.SendPacketAndWaitForResponse("k", 1, response, 2, send_async))
{
char packet_cmd = response.GetChar(0);
@@ -1319,7 +1319,8 @@
}
else
{
- error.SetErrorString("kill packet failed");
+ SetExitStatus(SIGABRT, NULL);
+ //error.SetErrorString("kill packet failed");
}
}
StopAsyncThread ();
@@ -1936,8 +1937,8 @@
::snprintf (arg_cstr, sizeof(arg_cstr), "--log-flags=%s", env_debugserver_log_flags);
debugserver_args.AppendArgument(arg_cstr);
}
- debugserver_args.AppendArgument("--log-file=/tmp/debugserver.txt");
- debugserver_args.AppendArgument("--log-flags=0x800e0e");
+// debugserver_args.AppendArgument("--log-file=/tmp/debugserver.txt");
+// debugserver_args.AppendArgument("--log-flags=0x800e0e");
// Now append the program arguments
if (launch_process)