forked from OSchip/llvm-project
72 lines
1.7 KiB
C++
72 lines
1.7 KiB
C++
//===-- SWIG Interface for SBWatchpointLocation -----------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
namespace lldb {
|
|
|
|
%feature("docstring",
|
|
"Represents an instance of watchpoint location for a specific target program.
|
|
|
|
A watchpoint location is determined by the address and the byte size that
|
|
resulted in this particular instantiation. Each watchpoint location has its
|
|
settable options.
|
|
|
|
See also SBTarget.watchpoint_location_iter() for for example usage of iterating
|
|
through the watchpoint locations of the target."
|
|
) SBWatchpointLocation;
|
|
class SBWatchpointLocation
|
|
{
|
|
public:
|
|
|
|
SBWatchpointLocation ();
|
|
|
|
SBWatchpointLocation (const lldb::SBWatchpointLocation &rhs);
|
|
|
|
~SBWatchpointLocation ();
|
|
|
|
watch_id_t
|
|
GetID () const;
|
|
|
|
bool
|
|
IsValid() const;
|
|
|
|
%feature("docstring", "
|
|
//------------------------------------------------------------------
|
|
/// With -1 representing an invalid hardware index.
|
|
//------------------------------------------------------------------
|
|
") GetHardwareIndex;
|
|
int32_t
|
|
GetHardwareIndex () const;
|
|
|
|
lldb::addr_t
|
|
GetWatchAddress () const;
|
|
|
|
size_t
|
|
GetWatchSize() const;
|
|
|
|
void
|
|
SetEnabled(bool enabled);
|
|
|
|
bool
|
|
IsEnabled ();
|
|
|
|
uint32_t
|
|
GetHitCount () const;
|
|
|
|
uint32_t
|
|
GetIgnoreCount ();
|
|
|
|
void
|
|
SetIgnoreCount (uint32_t n);
|
|
|
|
bool
|
|
GetDescription (lldb::SBStream &description, DescriptionLevel level);
|
|
};
|
|
|
|
} // namespace lldb
|