blob: 51e9389bf87a31fdea50934c8f8d862a7bf494e7 [file] [log] [blame]
Johnny Chen3cfd5e82011-07-18 21:30:21 +00001//===-- SWIG Interface for SBBreakpointLocation -----------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10namespace lldb {
11
12%feature("docstring",
13"Represents one unique instance (by address) of a logical breakpoint.
14
15A breakpoint location is defined by the breakpoint that produces it,
16and the address that resulted in this particular instantiation.
17Each breakpoint location has its settable options.
18
19SBBreakpoint contains SBBreakpointLocation(s). See docstring of SBBreakpoint
20for retrieval of an SBBreakpointLocation from an SBBreakpoint."
21) SBBreakpointLocation;
22class SBBreakpointLocation
23{
24public:
25
26 SBBreakpointLocation ();
27
28 SBBreakpointLocation (const lldb::SBBreakpointLocation &rhs);
29
30 ~SBBreakpointLocation ();
31
32 bool
33 IsValid() const;
34
35 lldb::addr_t
36 GetLoadAddress ();
37
38 void
39 SetEnabled(bool enabled);
40
41 bool
42 IsEnabled ();
43
44 uint32_t
45 GetIgnoreCount ();
46
47 void
48 SetIgnoreCount (uint32_t n);
49
50 void
51 SetCondition (const char *condition);
52
53 const char *
54 GetCondition ();
55
56 void
57 SetThreadID (lldb::tid_t sb_thread_id);
58
59 lldb::tid_t
60 GetThreadID ();
61
62 void
63 SetThreadIndex (uint32_t index);
64
65 uint32_t
66 GetThreadIndex() const;
67
68 void
69 SetThreadName (const char *thread_name);
70
71 const char *
72 GetThreadName () const;
73
74 void
75 SetQueueName (const char *queue_name);
76
77 const char *
78 GetQueueName () const;
79
80 bool
81 IsResolved ();
82
83 bool
84 GetDescription (lldb::SBStream &description, DescriptionLevel level);
85
86 SBBreakpoint
87 GetBreakpoint ();
88};
89
90} // namespace lldb