summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-06-18 01:00:58 +0000
committerJim Ingham <jingham@apple.com>2010-06-18 01:00:58 +0000
commit0136309f5aaf4fc0e11c20222ab4a3bfda1e5ec5 (patch)
treeb401c0735afc8262c77f1d14d773fc90af88f6eb /lldb/source/Target/Thread.cpp
parentae1c4cf5680d8978ab5d12c5757ee5c448f98c12 (diff)
downloadbcm5719-llvm-0136309f5aaf4fc0e11c20222ab4a3bfda1e5ec5.tar.gz
bcm5719-llvm-0136309f5aaf4fc0e11c20222ab4a3bfda1e5ec5.zip
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
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r--lldb/source/Target/Thread.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index 510988a1591..97a55fb7434 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -617,20 +617,8 @@ Thread::MatchesSpec (const ThreadSpec *spec)
{
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
OpenPOWER on IntegriCloud