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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106262 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Thread.cpp b/source/Target/Thread.cpp
index 510988a..97a55fb 100644
--- a/source/Target/Thread.cpp
+++ b/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