summaryrefslogtreecommitdiff
path: root/src/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.cc')
-rw-r--r--src/debug.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/debug.cc b/src/debug.cc
index c1aa3c6..928c057 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -85,9 +85,8 @@ void gpgpu_sim::gpgpu_debug()
}
} else {
for( unsigned sid=0; sid < m_n_shader; sid++ ) {
- unsigned hw_thread_id = m_sc[sid]->first_valid_thread(IF_ID);
- if( hw_thread_id == (unsigned)-1 )
- continue;
+ unsigned hw_thread_id = -1;
+ abort();
ptx_thread_info *thread = m_sc[sid]->get_functional_thread(hw_thread_id);
if( thread_at_brkpt(thread, b) ) {
done = false;