diff options
| author | Wilson Fung <[email protected]> | 2012-01-12 20:56:29 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:19:02 -0700 |
| commit | 576bdb124dbf52345246adbc290dabac4bd25b35 (patch) | |
| tree | 465db69c43f4189ad6445cb06b8e97a10c862ecd /.gdbinit | |
| parent | 20a104af5089be685b96b8678ed2b6730e37295f (diff) | |
Updating gdbinit macros to support the latest changes for pure functional simulation.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11327]
Diffstat (limited to '.gdbinit')
| -rw-r--r-- | .gdbinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -63,7 +63,7 @@ define ptxdis_func set $sid = $arg0 set $cluster = g_the_gpu_config.m_shader_config.sid_to_cluster($sid) set $cid = g_the_gpu_config.m_shader_config.sid_to_cid($sid) - set $ptx_tinfo = g_the_gpu->m_cluster[$cluster]->m_core[$cid]->m_thread[$arg1].m_functional_model_thread_state + set $ptx_tinfo = g_the_gpu->m_cluster[$cluster]->m_core[$cid]->m_thread[$arg1] set $finfo = $ptx_tinfo->m_func_info set $minpc = $finfo->m_start_PC set $maxpc = $minpc + $finfo->m_instr_mem_size @@ -83,7 +83,7 @@ define ptx_tids2pcs set $tid = $arg0[$i] set $cluster = g_the_gpu_config.m_shader_config.sid_to_cluster($sid); set $cid = g_the_gpu_config.m_shader_config.sid_to_cid($sid); - set $addr = g_the_gpu->m_cluster[$cluster]->m_core[$cid]->m_thread[$tid].m_functional_model_thread_state->m_PC + set $addr = g_the_gpu->m_cluster[$cluster]->m_core[$cid]->m_thread[$tid]->m_PC printf "%2u : tid = %3u => pc = %d\n", $i, $tid, $addr set $i = $i + 1 end |
