1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Bug 311059: workaround for another bug (305385) which is not fixed yet.

This commit is contained in:
Marc Khouzam 2010-04-29 18:36:37 +00:00
parent 9b222a1f27
commit da8db8a30d

View file

@ -152,7 +152,13 @@ public class GDBProcesses extends MIProcesses {
if (name == null) {
// Should not happen.
name = "Unknown name"; //$NON-NLS-1$
assert false : "Don't have entry for process ID: " + pid; //$NON-NLS-1$
// Until bug 305385 is fixed, the above code will not work, so we assume we
// are looking for our own process
// assert false : "Don't have entry for process ID: " + pid; //$NON-NLS-1$
IGDBBackend backend = getServicesTracker().getService(IGDBBackend.class);
name = backend.getProgramPath().lastSegment();
}
rm.setData(new MIThreadDMData(name, pidStr));