summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2015-11-17 03:39:13 +0000
committerJim Ingham <jingham@apple.com>2015-11-17 03:39:13 +0000
commit055a08a4887d8e7108c3893e71bc1d8ad56c9585 (patch)
treec5ec6ce74d6e97371d8ad5baeb62651b7362c114 /lldb/scripts
parent10568d8c1c81a513b50db5990b8cd770db60ed61 (diff)
downloadbcm5719-llvm-055a08a4887d8e7108c3893e71bc1d8ad56c9585.tar.gz
bcm5719-llvm-055a08a4887d8e7108c3893e71bc1d8ad56c9585.zip
Add the ability (through the SB API & command line) to specify an address
breakpoint as "file address" so that the address breakpoint will track that module even if it gets loaded in a different place. Also fixed the Address breakpoint resolver so that it handles this tracking correctly. llvm-svn: 253308
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/interface/SBTarget.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBTarget.i b/lldb/scripts/interface/SBTarget.i
index e71f2563b84..f2a51ec2cfa 100644
--- a/lldb/scripts/interface/SBTarget.i
+++ b/lldb/scripts/interface/SBTarget.i
@@ -639,6 +639,9 @@ public:
lldb::SBBreakpoint
BreakpointCreateByAddress (addr_t address);
+ lldb::SBBreakpoint
+ BreakpointCreateBySBAddress (SBAddress &sb_address);
+
uint32_t
GetNumBreakpoints () const;
OpenPOWER on IntegriCloud