From eb66a8a2ee525a6ea877a97a45985b45ab9afe1f Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Wed, 7 Jan 2015 11:27:38 -0500 Subject: [PATCH] Bug 456942 - [junit] GDB does not report thread names in remote mode Change-Id: I9ad3eefa715326ce6cc15f384cb13bbfd410f8db Signed-off-by: Marc Khouzam Reviewed-on: https://git.eclipse.org/r/39142 --- .../dsf/gdb/tests/tests_7_3/GDBProcessesTest_7_3.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_3/GDBProcessesTest_7_3.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_3/GDBProcessesTest_7_3.java index 2135125cc51..117cbaa1f3f 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_3/GDBProcessesTest_7_3.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_3/GDBProcessesTest_7_3.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011, 2014 Ericsson and others. + * Copyright (c) 2011, 2015 Ericsson and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -23,11 +23,10 @@ public class GDBProcessesTest_7_3 extends GDBProcessesTest_7_2 { setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_3); } - /* - * Thread names are reported starting with gdb 7.3, except on Windows. - */ @Override protected boolean threadNamesSupported() { - return !runningOnWindows(); + // Thread names are reported starting with gdb 7.3, except on Windows + // and not for remote sessions. + return !runningOnWindows() && !isRemoteSession(); } } \ No newline at end of file