summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint/Breakpoint.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-03-06 00:37:27 +0000
committerJim Ingham <jingham@apple.com>2012-03-06 00:37:27 +0000
commitfab10e89cea94df0c8aa75cc6a7a0ced7330b587 (patch)
tree0441509077e99a23b00899700c6f599093e2cbcc /lldb/source/Breakpoint/Breakpoint.cpp
parent330de22fe0f6f23af82825909bfe9dd54237ea62 (diff)
downloadbcm5719-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.cpp5
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);
OpenPOWER on IntegriCloud