Change how we call Target::CreateBreakpoint to account for the new "name type" parameter.

llvm-svn: 115210
This commit is contained in:
Jim Ingham 2010-09-30 21:21:43 +00:00
parent 3fd2928a45
commit 86103ea237
1 changed files with 2 additions and 2 deletions

View File

@ -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;