forked from OSchip/llvm-project
Don't check for "are there any loaded sections" before trying to resolve a breakpoint site. We've already got a process,
and any breakpoints with section relative addresses won't resolve their load addresses so they will error out at that point. <rdar://problem/13900130> llvm-svn: 185170
This commit is contained in:
parent
a3d87a1024
commit
38af175971
|
@ -484,9 +484,6 @@ BreakpointLocation::ResolveBreakpointSite ()
|
||||||
if (process == NULL)
|
if (process == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (m_owner.GetTarget().GetSectionLoadList().IsEmpty())
|
|
||||||
return false;
|
|
||||||
|
|
||||||
lldb::break_id_t new_id = process->CreateBreakpointSite (shared_from_this(), false);
|
lldb::break_id_t new_id = process->CreateBreakpointSite (shared_from_this(), false);
|
||||||
|
|
||||||
if (new_id == LLDB_INVALID_BREAK_ID)
|
if (new_id == LLDB_INVALID_BREAK_ID)
|
||||||
|
|
Loading…
Reference in New Issue