summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-09-16 10:27:57 +0000
committerPavel Labath <labath@google.com>2015-09-16 10:27:57 +0000
commit11bb848ddcd632f13c5e8413bd452e9c064047dd (patch)
treed6d7e6d6b7adf8ceaa9923f88addb0f3a2725136 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent54782db7bce77387a63898c536d6aefb590cd7c0 (diff)
downloadbcm5719-llvm-11bb848ddcd632f13c5e8413bd452e9c064047dd.tar.gz
bcm5719-llvm-11bb848ddcd632f13c5e8413bd452e9c064047dd.zip
Revert "[LLDB][MIPS] Debug bare-iron targets lacking support for qC /qfThreadInfo"
This reverts commit r247773, because it breaks remote debugging support for lldb-server. llvm-svn: 247783
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 52781d7e0e4..ab0867ded61 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -3396,17 +3396,6 @@ GDBRemoteCommunicationClient::SetCurrentThread (uint64_t tid)
m_curr_tid = tid;
return true;
}
-
- /*
- * Connected bare-iron target (like YAMON gdb-stub) may not have support for Hg packet.
- * The reply from '?' packet could be as simple as 'S05'. There is no packet which can
- * give us pid and/or tid. Assume pid=tid=1 in such cases.
- */
- if (!response.IsNormalResponse() && IsConnected())
- {
- m_curr_tid = 1;
- return true;
- }
}
return false;
}
@@ -3433,17 +3422,6 @@ GDBRemoteCommunicationClient::SetCurrentThreadForRun (uint64_t tid)
m_curr_tid_run = tid;
return true;
}
-
- /*
- * Connected bare-iron target (like YAMON gdb-stub) may not have support for Hc packet.
- * The reply from '?' packet could be as simple as 'S05'. There is no packet which can
- * give us pid and/or tid. Assume pid=tid=1 in such cases.
- */
- if (!response.IsNormalResponse() && IsConnected())
- {
- m_curr_tid_run = 1;
- return true;
- }
}
return false;
}
@@ -3569,17 +3547,6 @@ GDBRemoteCommunicationClient::GetCurrentThreadIDs (std::vector<lldb::tid_t> &thr
} while (ch == ','); // Make sure we got a comma separator
}
}
-
- /*
- * Connected bare-iron target (like YAMON gdb-stub) may not have support for
- * qProcessInfo, qC and qfThreadInfo packets. The reply from '?' packet could
- * be as simple as 'S05'. There is no packet which can give us pid and/or tid.
- * Assume pid=tid=1 in such cases.
- */
- if (!response.IsNormalResponse() && thread_ids.size() == 0 && IsConnected())
- {
- thread_ids.push_back (1);
- }
}
else
{
OpenPOWER on IntegriCloud