diff options
| author | Jim Ingham <jingham@apple.com> | 2010-08-30 19:44:40 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2010-08-30 19:44:40 +0000 |
| commit | e40e42181fcc0c9742d6fcb654b0e1dee07a2513 (patch) | |
| tree | 978294983a64a9dd49370beea737aadf3932f94b /lldb/source/API/SBDebugger.cpp | |
| parent | 9026d4b4887e88cbca40cc1de43ad91005b9c769 (diff) | |
| download | llvm-e40e42181fcc0c9742d6fcb654b0e1dee07a2513.tar.gz llvm-e40e42181fcc0c9742d6fcb654b0e1dee07a2513.tar.bz2 llvm-e40e42181fcc0c9742d6fcb654b0e1dee07a2513.zip | |
Added a way to open the current source file & line in an external editor, and you can turn this on with:
lldb -e
llvm-svn: 112502
Diffstat (limited to 'lldb/source/API/SBDebugger.cpp')
| -rw-r--r-- | lldb/source/API/SBDebugger.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp index 73f125bcb8a8..fe2b99a2dc28 100644 --- a/lldb/source/API/SBDebugger.cpp +++ b/lldb/source/API/SBDebugger.cpp @@ -563,3 +563,23 @@ SBDebugger::FindDebuggerWithID (int id) sb_debugger.reset (debugger_sp); return sb_debugger; } + +bool +SBDebugger::SetUseExternalEditor (bool value) +{ + if (m_opaque_sp) + return m_opaque_sp->SetUseExternalEditor (value); + else + return false; +} + +bool +SBDebugger::UseExternalEditor () +{ + if (m_opaque_sp) + return m_opaque_sp->UseExternalEditor (); + else + return false; +} + + |
