Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2015-02-11 16:12:46 +0000
committerMarc Khouzam2015-02-11 19:19:10 +0000
commit4fb1274ec5914c38e47bd3649507726fda26150b (patch)
tree07e2305fb7aa77f15f431efc6904492dcf843be8
parent056db0fea89e7d6180a48079e3ff3994f3c4a892 (diff)
downloadorg.eclipse.cdt-4fb1274ec5914c38e47bd3649507726fda26150b.tar.gz
org.eclipse.cdt-4fb1274ec5914c38e47bd3649507726fda26150b.tar.xz
org.eclipse.cdt-4fb1274ec5914c38e47bd3649507726fda26150b.zip
Bug 459688 - Label in breakpoint thread filter dialog should match debugCDT_8_6_0
view Change-Id: I3d74c3316f5acbf2b6aadc0b6e99e7081384f401 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> (cherry picked from commit 0e041e8e862bf111ab3083caa34b392b50c494a6)
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java
index 6bd823b9f1..36dd1a398b 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/breakpoints/GdbThreadFilterEditor.java
@@ -515,18 +515,21 @@ public class GdbThreadFilterEditor {
@Override
protected void handleSuccess() {
final StringBuilder builder = new StringBuilder(Messages.GdbThreadFilterEditor_Thread);
- builder.append("["); //$NON-NLS-1$
+ builder.append(" #"); //$NON-NLS-1$
builder.append(((IMIExecutionDMContext)thread).getThreadId());
- builder.append("] "); //$NON-NLS-1$
- String threadId = getData().getId();
- if (threadId != null) {
- builder.append(threadId);
- }
+
String threadName = getData().getName();
if (threadName != null) {
+ builder.append(" ["); //$NON-NLS-1$
builder.append(threadName);
+ builder.append("] "); //$NON-NLS-1$
}
+ String threadId = getData().getId();
+ if (threadId != null) {
+ builder.append(threadId);
+ }
+
rm.setData(builder.toString());
rm.done();
}

Back to the top