1 //===-- SBWatchpoint.h ----------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBWatchpoint_h_
11 #define LLDB_SBWatchpoint_h_
13 #include "lldb/API/SBDefines.h"
23 SBWatchpoint (const lldb::SBWatchpoint &rhs);
25 SBWatchpoint (const lldb::WatchpointSP &wp_sp);
29 const lldb::SBWatchpoint &
30 operator = (const lldb::SBWatchpoint &rhs);
41 /// With -1 representing an invalid hardware index.
52 SetEnabled(bool enabled);
64 SetIgnoreCount (uint32_t n);
70 SetCondition (const char *condition);
73 GetDescription (lldb::SBStream &description, DescriptionLevel level);
82 SetSP (const lldb::WatchpointSP &sp);
85 EventIsWatchpointEvent (const lldb::SBEvent &event);
87 static lldb::WatchpointEventType
88 GetWatchpointEventTypeFromEvent (const lldb::SBEvent& event);
90 static lldb::SBWatchpoint
91 GetWatchpointFromEvent (const lldb::SBEvent& event);
94 friend class SBTarget;
98 lldb::WatchpointSP m_opaque_sp;
104 #endif // LLDB_SBWatchpoint_h_