summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-09-22 00:04:04 +0000
committerJim Ingham <jingham@apple.com>2012-09-22 00:04:04 +0000
commit1391cc7d516687b293ba713140a60efd9ae2acd2 (patch)
tree46390c54a575d0f8f4ff90eeefd34a55eb3ff3fb /lldb/source/Commands/CommandObjectBreakpoint.cpp
parentfabb8cf4212197b0fa0d9c17ce36caad2abe5076 (diff)
downloadbcm5719-llvm-1391cc7d516687b293ba713140a60efd9ae2acd2.tar.gz
bcm5719-llvm-1391cc7d516687b293ba713140a60efd9ae2acd2.zip
Change the new breakpoint creation output (primarily from "break set") to something more useful.
<rdar://problem/11333623> llvm-svn: 164432
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index 95d533da5f5..0bc02d8b53f 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -516,9 +516,8 @@ protected:
if (bp)
{
Stream &output_stream = result.GetOutputStream();
- output_stream.Printf ("Breakpoint created: ");
- bp->GetDescription(&output_stream, lldb::eDescriptionLevelBrief);
- output_stream.EOL();
+ const bool show_locations = false;
+ bp->GetDescription(&output_stream, lldb::eDescriptionLevelInitial, show_locations);
// Don't print out this warning for exception breakpoints. They can get set before the target
// is set, but we won't know how to actually set the breakpoint till we run.
if (bp->GetNumLocations() == 0 && break_type != eSetTypeException)
OpenPOWER on IntegriCloud