summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint/BreakpointIDList.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-07-23 23:33:17 +0000
committerGreg Clayton <gclayton@apple.com>2010-07-23 23:33:17 +0000
commit9fed0d85b23ace3dfe98b423c3cc91db2adc8ca9 (patch)
tree28337c453c873b05973c76ddf4d0d3f0b2fa86f5 /lldb/source/Breakpoint/BreakpointIDList.cpp
parent893483000d935a97c109b051f115f60567279fd9 (diff)
downloadbcm5719-llvm-9fed0d85b23ace3dfe98b423c3cc91db2adc8ca9.tar.gz
bcm5719-llvm-9fed0d85b23ace3dfe98b423c3cc91db2adc8ca9.zip
Added needed breakpoint functionality to the public API that includes:
SBTarget: - get breakpoint count - get breakpoint at index SBBreakpoint: - Extract data from breakpoint events llvm-svn: 109289
Diffstat (limited to 'lldb/source/Breakpoint/BreakpointIDList.cpp')
-rw-r--r--lldb/source/Breakpoint/BreakpointIDList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/BreakpointIDList.cpp b/lldb/source/Breakpoint/BreakpointIDList.cpp
index 949bbbed74e..9cd5fcac5c3 100644
--- a/lldb/source/Breakpoint/BreakpointIDList.cpp
+++ b/lldb/source/Breakpoint/BreakpointIDList.cpp
@@ -231,7 +231,7 @@ BreakpointIDList::FindAndReplaceIDRanges (Args &old_args, Target *target, Comman
const size_t num_breakpoints = breakpoints.GetSize();
for (size_t j = 0; j < num_breakpoints; ++j)
{
- Breakpoint *breakpoint = breakpoints.GetBreakpointByIndex (j).get();
+ Breakpoint *breakpoint = breakpoints.GetBreakpointAtIndex (j).get();
break_id_t cur_bp_id = breakpoint->GetID();
if ((cur_bp_id < start_bp_id) || (cur_bp_id > end_bp_id))
OpenPOWER on IntegriCloud