File tree 1 file changed +2
-10
lines changed 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 12
12
#include " lldb/Host/StreamFile.h"
13
13
#include " lldb/Interpreter/CommandInterpreter.h"
14
14
#include " lldb/Symbol/SymbolContext.h"
15
- #include " lldb/Target/Process.h"
16
15
#include " lldb/Target/StackFrame.h"
17
16
#include " lldb/Utility/AnsiTerminal.h"
18
17
#include " lldb/Utility/StreamString.h"
@@ -135,15 +134,8 @@ void Statusline::Redraw(bool update) {
135
134
exe_ctx.SetTargetPtr (&m_debugger.GetSelectedOrDummyTarget ());
136
135
137
136
SymbolContext symbol_ctx;
138
- if (ProcessSP process_sp = exe_ctx.GetProcessSP ()) {
139
- // Check if the process is stopped, and if it is, make sure it remains
140
- // stopped until we've computed the symbol context.
141
- Process::StopLocker stop_locker;
142
- if (stop_locker.TryLock (&process_sp->GetRunLock ())) {
143
- if (auto frame_sp = exe_ctx.GetFrameSP ())
144
- symbol_ctx = frame_sp->GetSymbolContext (eSymbolContextEverything);
145
- }
146
- }
137
+ if (auto frame_sp = exe_ctx.GetFrameSP ())
138
+ symbol_ctx = frame_sp->GetSymbolContext (eSymbolContextEverything);
147
139
148
140
StreamString stream;
149
141
if (auto *format = m_debugger.GetStatuslineFormat ())
You can’t perform that action at this time.
0 commit comments