forked from OSchip/llvm-project
Change how we call Target::CreateBreakpoint to account for the new "name type" parameter.
llvm-svn: 115210
This commit is contained in:
parent
3fd2928a45
commit
86103ea237
|
@ -225,11 +225,11 @@ SBTarget::BreakpointCreateByName (const char *symbol_name, const char *module_na
|
|||
if (module_name && module_name[0])
|
||||
{
|
||||
FileSpec module_file_spec(module_name);
|
||||
*sb_bp = m_opaque_sp->CreateBreakpoint (&module_file_spec, symbol_name, false);
|
||||
*sb_bp = m_opaque_sp->CreateBreakpoint (&module_file_spec, symbol_name, eFunctionNameTypeFull | eFunctionNameTypeBase, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
*sb_bp = m_opaque_sp->CreateBreakpoint (NULL, symbol_name, false);
|
||||
*sb_bp = m_opaque_sp->CreateBreakpoint (NULL, symbol_name, eFunctionNameTypeFull | eFunctionNameTypeBase, false);
|
||||
}
|
||||
}
|
||||
return sb_bp;
|
||||
|
|
Loading…
Reference in New Issue