summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-09-20 20:44:43 +0000
committerCaroline Tice <ctice@apple.com>2010-09-20 20:44:43 +0000
commitdaccaa9e83e497c761d2012461c83947826be68d (patch)
tree00066f13e4de1e161ce0a880f1a7f5cba2c22a46 /lldb/source/Commands/CommandObjectThread.cpp
parentc9cb0caeb7be722d906c5c3fa53adb7d04a9c8e9 (diff)
downloadbcm5719-llvm-daccaa9e83e497c761d2012461c83947826be68d.tar.gz
bcm5719-llvm-daccaa9e83e497c761d2012461c83947826be68d.zip
Add UserSettings to Target class, making Target settings
the parent of Process settings; add 'default-arch' as a class-wide setting for Target. Replace lldb::GetDefaultArchitecture with Target::GetDefaultArchitecture & Target::SetDefaultArchitecture. Add 'use-external-editor' as user setting to Debugger class & update code appropriately. Add Error parameter to methods that get user settings, for easier reporting of bad requests. Fix various other minor related bugs. Fix test cases to work with new changes. llvm-svn: 114352
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index ee411e5f952..081707ae08f 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -63,7 +63,7 @@ lldb_private::DisplayThreadInfo
bool already_shown = false;
StackFrameSP frame_sp = thread->GetStackFrameAtIndex(0);
SymbolContext frame_sc(frame_sp->GetSymbolContext (eSymbolContextLineEntry));
- if (interpreter.GetDebugger().UseExternalEditor() && frame_sc.line_entry.file && frame_sc.line_entry.line != 0)
+ if (interpreter.GetDebugger().GetUseExternalEditor() && frame_sc.line_entry.file && frame_sc.line_entry.line != 0)
{
already_shown = Host::OpenFileInExternalEditor (frame_sc.line_entry.file, frame_sc.line_entry.line);
}
OpenPOWER on IntegriCloud