diff options
-rw-r--r-- | lldb/include/lldb/Target/Target.h | 4 | ||||
-rw-r--r-- | lldb/source/Target/Target.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lldb/include/lldb/Target/Target.h b/lldb/include/lldb/Target/Target.h index 58643e62587..effb68a3ef8 100644 --- a/lldb/include/lldb/Target/Target.h +++ b/lldb/include/lldb/Target/Target.h @@ -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); diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index b7f2daca0cd..96cb3df6011 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -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)); |