1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Bug 501006 - [visualizer] harmonize TID with DV and new GDB console

In the Multicore Visualizer, add the gdb thread ids so that users can
more easily recognize threads

Change-Id: I747e9223d9b689dd6a94d707dd2e5cfdb767764e
This commit is contained in:
Marc Dumais 2016-09-07 11:19:17 -04:00
parent 6335a5c2ba
commit 7181c4b9e9

View file

@ -175,8 +175,8 @@ public class MulticoreVisualizerThread extends MulticoreVisualizerGraphicObject
// (for now, every thread is debugged.) // (for now, every thread is debugged.)
// GUIUtils.drawText(gc, "D", x+w, y-8); //$NON-NLS-1$ // GUIUtils.drawText(gc, "D", x+w, y-8); //$NON-NLS-1$
// draw TID // draw TID, in format "<gdb tid> - ( <os tid> )
String displayTID = Integer.toString(m_thread.getTID()); String displayTID = m_thread.getGDBTID() + " - ( " + m_thread.getTID() + " )"; //$NON-NLS-1$ //$NON-NLS-2$
GUIUtils.drawText(gc, displayTID, x + w + 4, y + 2); GUIUtils.drawText(gc, displayTID, x + w + 4, y + 2);
// draw selection marker, if any // draw selection marker, if any