accel-sim / accel-sim-framework

This is the top-level repository for the Accel-Sim framework.
https://accel-sim.github.io
Other
289 stars 110 forks source link

GDB macros / dump pipeline broken #253

Open barnes88 opened 11 months ago

barnes88 commented 11 months ago

The gdb macros for dumping pipeline state are broken (at least in trace driven mode, I haven't tested PTX). It would be useful to get these working again or something similar.

(gdb) dp 0
Dumping pipeline state...

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff77c591a in gpgpu_sim::dump_pipeline (this=0x0, mask=69, s=0, m=0) at gpu-sim.cc:2180
2180      for (unsigned i = 0; i < m_shader_config->n_simt_clusters; i++) {
The program being debugged was signaled while in a function called from GDB.
GDB has restored the context to what it was before the call.
To change this behavior use "set unwindonsignal off".
Evaluation of the expression containing the function
(gpgpu_sim::dump_pipeline(int, int, int) const) will be abandoned.
JRPan commented 11 months ago

I think this has been broken since Accel-Sim is out. It just does not work in SASS mode. I think PTX works. But yea it would be great to make it compatible with SASS mode.