diff options
author | Greg Clayton <gclayton@apple.com> | 2011-06-24 22:32:10 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-06-24 22:32:10 +0000 |
commit | f58c269aa111fdf5a9bc3138f5591ccd69c82272 (patch) | |
tree | b61aaea8e8ad24b91117760ed7da59a8a36dec97 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 5fd05903d488cc91dc53c40bc0c7e802b4998ce8 (diff) | |
download | llvm-f58c269aa111fdf5a9bc3138f5591ccd69c82272.zip llvm-f58c269aa111fdf5a9bc3138f5591ccd69c82272.tar.gz llvm-f58c269aa111fdf5a9bc3138f5591ccd69c82272.tar.bz2 |
Removed an member variable "m_local_debugserver" that is no longer needed.
We now check with the platform to see if we are doing local or remote
debugging and setup the stdio accordingly.
llvm-svn: 133835
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 5f9c982..6b810bb 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -132,7 +132,6 @@ ProcessGDBRemote::ProcessGDBRemote(Target& target, Listener &listener) : m_dispatch_queue_offsets_addr (LLDB_INVALID_ADDRESS), m_max_memory_size (512), m_waiting_for_attach (false), - m_local_debugserver (true), m_thread_observation_bps() { m_async_broadcaster.SetEventName (eBroadcastBitAsyncThreadShouldExit, "async thread should exit"); @@ -464,7 +463,8 @@ ProcessGDBRemote::DoLaunch // a pseudo terminal to instead of relying on the 'O' packets for stdio // since 'O' packets can really slow down debugging if the inferior // does a lot of output. - if (m_local_debugserver && !disable_stdio) + PlatformSP platform_sp (m_target.GetPlatform()); + if (platform_sp && platform_sp->IsHost() && !disable_stdio) { const char *slave_name = NULL; if (stdin_path == NULL || stdout_path == NULL || stderr_path == NULL) |