[Lldb-commits] [lldb] r183277 - Remember to tell the breakpoints to update themselves when new symbols are added.
Jim Ingham
jingham at apple.com
Tue Jun 4 16:01:35 PDT 2013
Author: jingham
Date: Tue Jun 4 18:01:35 2013
New Revision: 183277
URL: http://llvm.org/viewvc/llvm-project?rev=183277&view=rev
Log:
Remember to tell the breakpoints to update themselves when new symbols are added.
<rdar://problem/14054840>
Modified:
lldb/trunk/source/Target/Target.cpp
Modified: lldb/trunk/source/Target/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Target.cpp?rev=183277&r1=183276&r2=183277&view=diff
==============================================================================
--- lldb/trunk/source/Target/Target.cpp (original)
+++ lldb/trunk/source/Target/Target.cpp Tue Jun 4 18:01:35 2013
@@ -1145,18 +1145,21 @@ Target::ModulesDidLoad (ModuleList &modu
void
Target::SymbolsDidLoad (ModuleList &module_list)
{
- if (module_list.GetSize() == 0)
- return;
- if (m_process_sp)
+ if (module_list.GetSize())
{
- LanguageRuntime* runtime = m_process_sp->GetLanguageRuntime(lldb::eLanguageTypeObjC);
- if (runtime)
+ if (m_process_sp)
{
- ObjCLanguageRuntime *objc_runtime = (ObjCLanguageRuntime*)runtime;
- objc_runtime->SymbolsDidLoad(module_list);
+ LanguageRuntime* runtime = m_process_sp->GetLanguageRuntime(lldb::eLanguageTypeObjC);
+ if (runtime)
+ {
+ ObjCLanguageRuntime *objc_runtime = (ObjCLanguageRuntime*)runtime;
+ objc_runtime->SymbolsDidLoad(module_list);
+ }
}
+
+ m_breakpoint_list.UpdateBreakpoints (module_list, true);
+ BroadcastEvent(eBroadcastBitSymbolsLoaded, NULL);
}
- BroadcastEvent(eBroadcastBitSymbolsLoaded, NULL);
}
void
More information about the lldb-commits
mailing list