mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 13:35:38 +08:00
Change how we call Target::CreateBreakpoint to account for the new "name type" parameter.
llvm-svn: 115210
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user