Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Dumais2016-09-07 15:19:17 +0000
committerMarc Dumais2016-11-02 12:05:24 +0000
commit7181c4b9e951d51bb4edb98d0ddfefe3ee62c6c2 (patch)
treeb7ebf5f2b3c0603d245bd307224ab1d9cbeb4fc8 /dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui
parent6335a5c2ba1b40857f15016f6ab0ffa2c4c573a7 (diff)
downloadorg.eclipse.cdt-7181c4b9e951d51bb4edb98d0ddfefe3ee62c6c2.tar.gz
org.eclipse.cdt-7181c4b9e951d51bb4edb98d0ddfefe3ee62c6c2.tar.xz
org.eclipse.cdt-7181c4b9e951d51bb4edb98d0ddfefe3ee62c6c2.zip
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
Diffstat (limited to 'dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui')
-rwxr-xr-xdsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerThread.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerThread.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerThread.java
index 6b5cbeeb56d..369fa13ce51 100755
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerThread.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerThread.java
@@ -175,8 +175,8 @@ public class MulticoreVisualizerThread extends MulticoreVisualizerGraphicObject
// (for now, every thread is debugged.)
// GUIUtils.drawText(gc, "D", x+w, y-8); //$NON-NLS-1$
- // draw TID
- String displayTID = Integer.toString(m_thread.getTID());
+ // draw TID, in format "<gdb tid> - ( <os tid> )
+ String displayTID = m_thread.getGDBTID() + " - ( " + m_thread.getTID() + " )"; //$NON-NLS-1$ //$NON-NLS-2$
GUIUtils.drawText(gc, displayTID, x + w + 4, y + 2);
// draw selection marker, if any

Back to the top