[Lldb-commits] [lldb] r134826 - in /lldb/trunk: include/lldb/Target/Target.h source/Target/Target.cpp
Greg Clayton
gclayton at apple.com
Sat Jul 9 10:16:43 PDT 2011
Author: gclayton
Date: Sat Jul 9 12:16:43 2011
New Revision: 134826
URL: http://llvm.org/viewvc/llvm-project?rev=134826&view=rev
Log:
Fixed some const issues with args to some lldb_private::Target functions.
Modified:
lldb/trunk/include/lldb/Target/Target.h
lldb/trunk/source/Target/Target.cpp
Modified: lldb/trunk/include/lldb/Target/Target.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Target.h?rev=134826&r1=134825&r2=134826&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Target.h (original)
+++ lldb/trunk/include/lldb/Target/Target.h Sat Jul 9 12:16:43 2011
@@ -239,13 +239,13 @@
// 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);
Modified: lldb/trunk/source/Target/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Target.cpp?rev=134826&r1=134825&r2=134826&view=diff
==============================================================================
--- lldb/trunk/source/Target/Target.cpp (original)
+++ lldb/trunk/source/Target/Target.cpp Sat Jul 9 12:16:43 2011
@@ -213,7 +213,7 @@
}
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 @@
}
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));
More information about the lldb-commits
mailing list