[Lldb-commits] [lldb] r139131 - in /lldb/trunk: include/lldb/Breakpoint/WatchpointLocation.h source/Breakpoint/WatchpointLocation.cpp
Johnny Chen
johnny.chen at apple.com
Mon Sep 5 19:52:28 PDT 2011
Author: johnny
Date: Mon Sep 5 21:52:28 2011
New Revision: 139131
URL: http://llvm.org/viewvc/llvm-project?rev=139131&view=rev
Log:
Change the signature of WatchpointLocation ctor so that the second param becomes
'size_t size', instead of 'lldb::tid_t tid'. Pass size to the StoppointLocation
ctor as well.
Modified:
lldb/trunk/include/lldb/Breakpoint/WatchpointLocation.h
lldb/trunk/source/Breakpoint/WatchpointLocation.cpp
Modified: lldb/trunk/include/lldb/Breakpoint/WatchpointLocation.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Breakpoint/WatchpointLocation.h?rev=139131&r1=139130&r2=139131&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Breakpoint/WatchpointLocation.h (original)
+++ lldb/trunk/include/lldb/Breakpoint/WatchpointLocation.h Mon Sep 5 21:52:28 2011
@@ -29,7 +29,7 @@
{
public:
- WatchpointLocation (lldb::addr_t m_addr, lldb::tid_t tid, bool hardware);
+ WatchpointLocation (lldb::addr_t m_addr, size_t size, bool hardware);
~WatchpointLocation ();
Modified: lldb/trunk/source/Breakpoint/WatchpointLocation.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/WatchpointLocation.cpp?rev=139131&r1=139130&r2=139131&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/WatchpointLocation.cpp (original)
+++ lldb/trunk/source/Breakpoint/WatchpointLocation.cpp Mon Sep 5 21:52:28 2011
@@ -18,8 +18,8 @@
using namespace lldb;
using namespace lldb_private;
-WatchpointLocation::WatchpointLocation (lldb::addr_t addr, lldb::tid_t tid, bool hardware) :
- StoppointLocation (GetNextID(), addr, tid, hardware),
+WatchpointLocation::WatchpointLocation (lldb::addr_t addr, size_t size, bool hardware) :
+ StoppointLocation (GetNextID(), addr, size, hardware),
m_enabled(0),
m_watch_read(0),
m_watch_write(0),
More information about the lldb-commits
mailing list