diff options
author | Jim Ingham <jingham@apple.com> | 2013-01-26 02:19:28 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2013-01-26 02:19:28 +0000 |
commit | 2995077d8acb87f68b32f4d5369e741ed4d5b6e9 (patch) | |
tree | c04429bb1110eb0d3db090a488fee07b45480ebd /lldb/source/Breakpoint/BreakpointSite.cpp | |
parent | 03c66d3c57b51188f33e7342088a636ae772c37c (diff) | |
download | bcm5719-llvm-2995077d8acb87f68b32f4d5369e741ed4d5b6e9.tar.gz bcm5719-llvm-2995077d8acb87f68b32f4d5369e741ed4d5b6e9.zip |
Add "target.process.stop-on-shared-library-events" setting, and make it work.
Add the ability to give breakpoints a "kind" string, and have the StopInfoBreakpoint
print that in the brief description if set. Also print the kind - if set - in the breakpoint
listing.
Give kinds to a bunch of the internal breakpoints.
We were deleting the Mac OS X dynamic loader breakpoint as though the id we had stored away was
a breakpoint site ID, but in fact it was a breakpoint id, so we never actually deleted it. Fixed that.
llvm-svn: 173555
Diffstat (limited to 'lldb/source/Breakpoint/BreakpointSite.cpp')
-rw-r--r-- | lldb/source/Breakpoint/BreakpointSite.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Breakpoint/BreakpointSite.cpp b/lldb/source/Breakpoint/BreakpointSite.cpp index 77572e86e19..fa5d8c1f9f8 100644 --- a/lldb/source/Breakpoint/BreakpointSite.cpp +++ b/lldb/source/Breakpoint/BreakpointSite.cpp @@ -98,6 +98,12 @@ BreakpointSite::GetDescription (Stream *s, lldb::DescriptionLevel level) m_owners.GetDescription (s, level); } +bool +BreakpointSite::IsInternal() const +{ + return m_owners.IsInternal(); +} + uint8_t * BreakpointSite::GetTrapOpcodeBytes() { |