blob: d41033f2fea4a48501c999b1b869757f79c7b2d8 [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
Jim Ingham0e6d5112011-10-07 22:27:25 +000035 lldb::SBAddress
36 GetAddress();
37
Johnny Chen3cfd5e82011-07-18 21:30:21 +000038 lldb::addr_t
39 GetLoadAddress ();
40
41 void
42 SetEnabled(bool enabled);
43
44 bool
45 IsEnabled ();
46
47 uint32_t
48 GetIgnoreCount ();
49
50 void
51 SetIgnoreCount (uint32_t n);
52
53 void
54 SetCondition (const char *condition);
55
56 const char *
57 GetCondition ();
58
59 void
60 SetThreadID (lldb::tid_t sb_thread_id);
61
62 lldb::tid_t
63 GetThreadID ();
64
65 void
66 SetThreadIndex (uint32_t index);
67
68 uint32_t
69 GetThreadIndex() const;
70
71 void
72 SetThreadName (const char *thread_name);
73
74 const char *
75 GetThreadName () const;
76
77 void
78 SetQueueName (const char *queue_name);
79
80 const char *
81 GetQueueName () const;
82
83 bool
84 IsResolved ();
85
86 bool
87 GetDescription (lldb::SBStream &description, DescriptionLevel level);
88
89 SBBreakpoint
90 GetBreakpoint ();
91};
92
93} // namespace lldb