Change the Breakpoint & BreakpointLocation GetDescription methods so they call the BreakpointOptions::GetDescription rather
than picking bits out of the breakpoint options. Added BreakpointOptions::GetDescription to do this job. Some more mucking
around to keep the breakpoint listing from getting too verbose.
llvm-svn: 106262
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index 510988a..97a55fb 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -617,20 +617,8 @@
{
if (spec == NULL)
return true;
-
- if (!spec->TIDMatches(GetID()))
- return false;
- if (!spec->IndexMatches(GetIndexID()))
- return false;
-
- if (!spec->NameMatches (GetName()))
- return false;
-
- if (!spec->QueueNameMatches (GetQueueName()))
- return false;
-
- return true;
+ return spec->ThreadPassesBasicTests(this);
}
void