Fixed some const issues with args to some lldb_private::Target functions.

llvm-svn: 134826
This commit is contained in:
Greg Clayton 2011-07-09 17:16:43 +00:00
parent 374972eebd
commit ebf121b188
2 changed files with 4 additions and 4 deletions

View File

@ -239,13 +239,13 @@ public:
// Use this to create a function breakpoint by regexp in containingModule, or all modules if it is NULL
lldb::BreakpointSP
CreateBreakpoint (FileSpec *containingModule,
CreateBreakpoint (const FileSpec *containingModule,
RegularExpression &func_regexp,
bool internal = false);
// Use this to create a function breakpoint by name in containingModule, or all modules if it is NULL
lldb::BreakpointSP
CreateBreakpoint (FileSpec *containingModule,
CreateBreakpoint (const FileSpec *containingModule,
const char *func_name,
uint32_t func_name_type_mask,
bool internal = false);

View File

@ -213,7 +213,7 @@ Target::CreateBreakpoint (Address &addr, bool internal)
}
BreakpointSP
Target::CreateBreakpoint (FileSpec *containingModule, const char *func_name, uint32_t func_name_type_mask, bool internal)
Target::CreateBreakpoint (const FileSpec *containingModule, const char *func_name, uint32_t func_name_type_mask, bool internal)
{
BreakpointSP bp_sp;
if (func_name)
@ -247,7 +247,7 @@ Target::GetSearchFilterForModule (const FileSpec *containingModule)
}
BreakpointSP
Target::CreateBreakpoint (FileSpec *containingModule, RegularExpression &func_regex, bool internal)
Target::CreateBreakpoint (const FileSpec *containingModule, RegularExpression &func_regex, bool internal)
{
SearchFilterSP filter_sp(GetSearchFilterForModule (containingModule));
BreakpointResolverSP resolver_sp(new BreakpointResolverName (NULL, func_regex));