mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 04:14:03 +08:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user