Community
Participate
Working Groups
From bug 347514 comment 16: It would be nice for the user to see on what thread the data was originally collected, i.e., which thread hit the tracepoint. I don't believe GDB 7.2 has a way to collect this information. However, I know there was a requested enhancement to have a trace state variable for the thread id, that the user would be able to collect. If that variable is collected, we could be smart about it and show it in the debug view. I'm not sure which GDB version will have this enhancement. Maybe 7.3? The enhancement description states: "add support to record a thread identifier. This shall be the raw thread identifier as provided by the system. If a user-visible name is available, it shall be supported (for instance PR_SET_NAME). This shall be specified by a trace state variable, and must be collected by user action (either explicitly or default) in order to be available."