Now that we are using the Unwinder (or Jason's new unwinder when that comes about) all the plugin-specific details of getting stack frames
should be hidden behind that, and the "GetStackFrameAtIndex" and "GetStackFrameCount" algorithms become generic. So I moved them to Thread.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110899 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h b/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
index 01c37d8..a6deead 100644
--- a/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
+++ b/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
@@ -54,12 +54,6 @@
virtual bool
RestoreSaveFrameZero (const RegisterCheckpoint &checkpoint);
- virtual uint32_t
- GetStackFrameCount();
-
- virtual lldb::StackFrameSP
- GetStackFrameAtIndex (uint32_t idx);
-
virtual void
ClearStackFrames ();
@@ -121,12 +115,11 @@
std::string m_thread_name;
std::string m_dispatch_queue_name;
lldb::addr_t m_thread_dispatch_qaddr;
- std::auto_ptr<lldb_private::Unwind> m_unwinder_ap;
//------------------------------------------------------------------
// Member variables.
//------------------------------------------------------------------
- lldb_private::Unwind *
+ virtual lldb_private::Unwind *
GetUnwinder ();
void