diff options
author | Jim Ingham <jingham@apple.com> | 2012-03-06 00:37:27 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-03-06 00:37:27 +0000 |
commit | fab10e89cea94df0c8aa75cc6a7a0ced7330b587 (patch) | |
tree | 0441509077e99a23b00899700c6f599093e2cbcc /lldb/source/Breakpoint/Breakpoint.cpp | |
parent | 330de22fe0f6f23af82825909bfe9dd54237ea62 (diff) | |
download | bcm5719-llvm-fab10e89cea94df0c8aa75cc6a7a0ced7330b587.tar.gz bcm5719-llvm-fab10e89cea94df0c8aa75cc6a7a0ced7330b587.zip |
Add a command and an SB API to create exception breakpoints. Make the break output prettier for Exception breakpoints.
llvm-svn: 152081
Diffstat (limited to 'lldb/source/Breakpoint/Breakpoint.cpp')
-rw-r--r-- | lldb/source/Breakpoint/Breakpoint.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/Breakpoint.cpp b/lldb/source/Breakpoint/Breakpoint.cpp index 4d37a7a7edd..7a897661e76 100644 --- a/lldb/source/Breakpoint/Breakpoint.cpp +++ b/lldb/source/Breakpoint/Breakpoint.cpp @@ -487,7 +487,10 @@ Breakpoint::GetDescription (Stream *s, lldb::DescriptionLevel level, bool show_l } else { - s->Printf(", locations = 0 (pending)"); + // Don't print the pending notification for exception resolvers since we don't generally + // know how to set them until the target is run. + if (m_resolver_sp->getResolverID() != BreakpointResolver::ExceptionResolver) + s->Printf(", locations = 0 (pending)"); } GetOptions()->GetDescription(s, level); |