diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-01-25 06:55:13 +0000 | 
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-01-25 06:55:13 +0000 | 
| commit | cdc7322bb12ebe0426d9f481a6138c0464e5716e (patch) | |
| tree | 1af03e42bab3bbdb9370368ee6f3d48f54a3e4ed /lldb/source/Plugins/Process/gdb-remote | |
| parent | 4cd178020c4274d946bb759b84328527de613047 (diff) | |
| download | bcm5719-llvm-cdc7322bb12ebe0426d9f481a6138c0464e5716e.tar.gz bcm5719-llvm-cdc7322bb12ebe0426d9f481a6138c0464e5716e.zip  | |
Reverting recent thread resume changes as it was causing testing issues.
We will need to try again soon, but this change was causing instability.
llvm-svn: 124180
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 479b8de41c2..d83fb581c7e 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1307,7 +1307,7 @@ ProcessGDBRemote::DoDestroy ()      {          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 @@ ProcessGDBRemote::DoDestroy ()          }          else          { -            error.SetErrorString("kill packet failed"); +            SetExitStatus(SIGABRT, NULL); +            //error.SetErrorString("kill packet failed");          }      }      StopAsyncThread (); @@ -1936,8 +1937,8 @@ ProcessGDBRemote::StartDebugserverProcess                  ::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)  | 

