aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectArgs.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-11-04 09:33:30 +0000
committerJason Molenda <jmolenda@apple.com>2013-11-04 09:33:30 +0000
commitb57e4a1bc6054a5495d6671f108914108852105b (patch)
tree0323964656c388cca864bd7eb52bdd1108006c28 /lldb/source/Commands/CommandObjectArgs.cpp
parentf23b27a837a005c193106c346e139b74a064ec19 (diff)
downloadllvm-b57e4a1bc6054a5495d6671f108914108852105b.zip
llvm-b57e4a1bc6054a5495d6671f108914108852105b.tar.gz
llvm-b57e4a1bc6054a5495d6671f108914108852105b.tar.bz2
Roll back the changes I made in r193907 which created a new Frame
pure virtual base class and made StackFrame a subclass of that. As I started to build on top of that arrangement today, I found that it wasn't working out like I intended. Instead I'll try sticking with the single StackFrame class -- there's too much code duplication to make a more complicated class hierarchy sensible I think. llvm-svn: 193983
Diffstat (limited to 'lldb/source/Commands/CommandObjectArgs.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectArgs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp
index d75bf81..3b919d1 100644
--- a/lldb/source/Commands/CommandObjectArgs.cpp
+++ b/lldb/source/Commands/CommandObjectArgs.cpp
@@ -30,7 +30,7 @@
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
-#include "lldb/Target/Frame.h"
+#include "lldb/Target/StackFrame.h"
using namespace lldb;
using namespace lldb_private;
@@ -139,7 +139,7 @@ CommandObjectArgs::DoExecute (Args& args, CommandReturnObject &result)
return false;
}
- lldb::FrameSP thread_cur_frame = thread->GetSelectedFrame ();
+ lldb::StackFrameSP thread_cur_frame = thread->GetSelectedFrame ();
if (!thread_cur_frame)
{
result.AppendError ("The current thread has no current frame.");