Revert "Rewrite gdb-remote's SendContinuePacketAndWaitForResponse"
This reverts commit r277139, because:
- broken unittest on windows (likely typo on my part)
- seems to break TestCallThatRestart (needs investigation)
llvm-svn: 277154
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
index 0f41a21..b974db6 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
@@ -43,7 +43,7 @@
class ThreadGDBRemote;
-class ProcessGDBRemote : public Process, private GDBRemoteClientBase::ContinueDelegate
+class ProcessGDBRemote : public Process
{
public:
ProcessGDBRemote(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp);
@@ -273,9 +273,6 @@
StructuredData::ObjectSP
GetSharedCacheInfo () override;
- std::string
- HarmonizeThreadIdsForProfileData(StringExtractorGDBRemote &inputStringExtractor);
-
protected:
friend class ThreadGDBRemote;
friend class GDBRemoteCommunicationClient;
@@ -488,25 +485,12 @@
//------------------------------------------------------------------
// For ProcessGDBRemote only
//------------------------------------------------------------------
- std::string m_partial_profile_data;
- std::map<uint64_t, uint32_t> m_thread_id_to_used_usec_map;
-
static bool
NewThreadNotifyBreakpointHit (void *baton,
StoppointCallbackContext *context,
lldb::user_id_t break_id,
lldb::user_id_t break_loc_id);
- //------------------------------------------------------------------
- // ContinueDelegate interface
- //------------------------------------------------------------------
- void
- HandleAsyncStdout(llvm::StringRef out) override;
- void
- HandleAsyncMisc(llvm::StringRef data) override;
- void
- HandleStopReply() override;
-
DISALLOW_COPY_AND_ASSIGN (ProcessGDBRemote);
};