[Lldb-commits] [PATCH 5/9] Use default implementation of Thread::GetStackFrameCount and Thread::GetStackFrameAtIndex.
Stephen Wilson
wilsons at start.ca
Tue Jan 4 12:54:13 PST 2011
---
source/Plugins/Process/Linux/LinuxThread.cpp | 21 +--------------------
source/Plugins/Process/Linux/LinuxThread.h | 6 ------
2 files changed, 1 insertions(+), 26 deletions(-)
diff --git a/source/Plugins/Process/Linux/LinuxThread.cpp b/source/Plugins/Process/Linux/LinuxThread.cpp
index 6d4733a..4994d64 100644
--- a/source/Plugins/Process/Linux/LinuxThread.cpp
+++ b/source/Plugins/Process/Linux/LinuxThread.cpp
@@ -13,6 +13,7 @@
// C++ Includes
// Other libraries and framework includes
#include "lldb/Target/Process.h"
+#include "lldb/Target/StopInfo.h"
#include "lldb/Target/Target.h"
#include "LinuxThread.h"
@@ -60,26 +61,6 @@ LinuxThread::GetInfo()
return NULL;
}
-uint32_t
-LinuxThread::GetStackFrameCount()
-{
- return 0;
-}
-
-lldb::StackFrameSP
-LinuxThread::GetStackFrameAtIndex(uint32_t idx)
-{
- if (idx == 0)
- {
- RegisterContextLinux *regs = GetRegisterContext();
- StackFrame *frame = new StackFrame(
- idx, *this, regs->GetFP(), regs->GetPC());
- return lldb::StackFrameSP(frame);
- }
- else
- return lldb::StackFrameSP();
-}
-
RegisterContextLinux *
LinuxThread::GetRegisterContext()
{
diff --git a/source/Plugins/Process/Linux/LinuxThread.h b/source/Plugins/Process/Linux/LinuxThread.h
index 79ccd0a..5ec0d43 100644
--- a/source/Plugins/Process/Linux/LinuxThread.h
+++ b/source/Plugins/Process/Linux/LinuxThread.h
@@ -38,12 +38,6 @@ public:
const char *
GetInfo();
- uint32_t
- GetStackFrameCount();
-
- lldb::StackFrameSP
- GetStackFrameAtIndex(uint32_t idx);
-
RegisterContextLinux *
GetRegisterContext();
--
1.7.3.2
More information about the lldb-commits
mailing list