[Lldb-commits] [lldb] r105927 - in /lldb/trunk: include/lldb/Breakpoint/BreakpointLocation.h source/Breakpoint/BreakpointLocation.cpp
Greg Clayton
gclayton at apple.com
Sun Jun 13 21:18:27 PDT 2010
Author: gclayton
Date: Sun Jun 13 23:18:27 2010
New Revision: 105927
URL: http://llvm.org/viewvc/llvm-project?rev=105927&view=rev
Log:
patch from: Jean-Daniel Dupas
BreakpointLocation::GetLoadAddress() does not match the 'StoppointLocation::GetLoadAddress() const' virtual function prototype, and so, does not override the superclass function.
Modified:
lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h
lldb/trunk/source/Breakpoint/BreakpointLocation.cpp
Modified: lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h?rev=105927&r1=105926&r2=105927&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h (original)
+++ lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h Sun Jun 13 23:18:27 2010
@@ -61,7 +61,7 @@
/// LLDB_INVALID_ADDRESS if not yet set.
//------------------------------------------------------------------
lldb::addr_t
- GetLoadAddress ();
+ GetLoadAddress () const;
//------------------------------------------------------------------
/// Gets the Address for this breakpoint location
Modified: lldb/trunk/source/Breakpoint/BreakpointLocation.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/BreakpointLocation.cpp?rev=105927&r1=105926&r2=105927&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/BreakpointLocation.cpp (original)
+++ lldb/trunk/source/Breakpoint/BreakpointLocation.cpp Sun Jun 13 23:18:27 2010
@@ -48,7 +48,7 @@
}
lldb::addr_t
-BreakpointLocation::GetLoadAddress ()
+BreakpointLocation::GetLoadAddress () const
{
return m_address.GetLoadAddress(m_owner.GetTarget().GetProcessSP().get());
}
More information about the lldb-commits
mailing list